3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var $mainContent = "=======================================================\n".$this->kopf. "\n=======================================================\n" . PHP_EOL . "Date of entry : " . $this->edate() . " o'clock \nMr/Mrs " . $this->name . " has given the following information: " . PHP_EOL . "\n____________________________________________________________\n\n" . PHP_EOL . "CONTACT\n" . PHP_EOL . "Name: " . $this->name . "\nEmail: ". $email . $this->custom_input . "\n____________________________________________________________\n\n" . PHP_EOL . "Message: \n" . $this->text . "\n____________________________________________________________\n" . PHP_EOL . "____________________________________________________________\n" . PHP_EOL . "Browser and operating system of the sender : " . $_SERVER['HTTP_USER_AGENT'] . "\nIP of the sender : ".$_SERVER['REMOTE_ADDR']." \nRemote Host of the sender : " . ";" } echo $mainContent
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'var' (T_VAR) in /in/jg1Gu on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VAR in /in/jg1Gu on line 2
Process exited with code 255.