3v4l.org

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

preferences:
176.69 ms | 1387 KiB | 45 Q