3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class everything{ public static function must(){ return "go!"; } } print accessorFunction()::must(); // Or something as close to it as possible function accessorFunction(){ returns 'everything'; }
Output for 5.4.0 - 5.5.4
Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) in /in/bZtVp on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /in/bZtVp on line 9
Process exited with code 255.