3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class v { public $v=0; function echoo() { echo "peco";} } $x = new v(); echo v::$v;
based on D2XcZ
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Access to undeclared static property: v::$v in /in/ukYXd:10 Stack trace: #0 {main} thrown in /in/ukYXd on line 10
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Access to undeclared static property: v::$v in /in/ukYXd on line 10
Process exited with code 255.