3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php interface iTemplate { private $scoreExplanation; } class foo implements iTemplate { } $f = new foo(); var_dump($f->scoreExplanation);
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined property: foo::$scoreExplanation in /in/Hl59C on line 12 NULL
Output for 5.3.0 - 5.4.22
Fatal error: Interfaces may not include member variables in /in/Hl59C on line 5
Process exited with code 255.