3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { function Foo() { echo 'old constructor'; } function __construct() { echo 'new constructor'; } }
Output for hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.2.0
Output for 5.5.0 - 5.6.30
Strict Standards: Redefining already defined constructor for class Foo in /in/JMpMR on line 10