A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Re: asd - Stikked
From asd, 5 Years ago, written in C.
This paste is a reply to asd from asd - view diff
Embed
  1. #include <ESP8266WiFi.h>        // Include the Wi-Fi library
  2.  
  3. const char* ssid     = "SSID";         // The SSID (name) of the Wi-Fi network you want to connect to
  4. const char* password = "PASSWORD";     // The password of the Wi-Fi network
  5.  
  6. void setup() {
  7.   Serial.begin(115200);         // Start the Serial communication to send messages to the computer
  8.   delay(10);
  9.   Serial.println('\n');
  10.  
  11.   WiFi.begin(ssid, password);             // Connect to the network
  12.   Serial.print("Connecting to ");
  13.   Serial.print(ssid); Serial.println(" ...");
  14.  
  15.   int i = 0;
  16.   while (WiFi.status() != WL_CONNECTED) { // Wait for the Wi-Fi to connect
  17.     delay(1000);
  18.     Serial.print(++i); Serial.print(' ');
  19.   }
  20.  
  21.   Serial.println('\n');
  22.   Serial.println("Connection established!");  
  23.   Serial.print("IP address:\t");
  24.   Serial.println(WiFi.localIP());         // Send the IP address of the ESP8266 to the computer
  25. }
  26.  
  27. void loop() { }
  28.