3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php RESTRICTED_PROPERTIES = array( "bagel" => 'Awaiting for Confirmation', "dog" => 'Asssigned', "poodle" => 'In Progress', "weiner" => 'Completed', "cuttlefish" => 'Mark As Spam', ); $properties = array("bagel","dog"); /*foreach ($properties as $property) { unset($this->RESTRICTED_PROPERTIES[$property]); }*/ ?>
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected '=' in /in/2IM8O on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '=' in GL91X on line 2
Process exited with code 255.