3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $variableGlobal = 30; Class myClass{ public $classProperty = global $variableGlobal; function myFunction(){ $accessible = $this->classProperty; }
Output for 5.4.0 - 5.5.3
Parse error: syntax error, unexpected 'global' (T_GLOBAL) in /in/4urDT on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_GLOBAL in /in/4urDT on line 7
Process exited with code 255.