3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class bla { static $baz = "\nThe baz of it"; } $foo['bar'] = "bla"; echo $foo['bar']::$baz; $foo['bar'] = new bla; echo $foo['bar']::$baz;
based on e9pRc
Output for 5.3.21 - 7.2.0
The baz of it The baz of it