3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { function __construct() { } function A() { } } class B { function B() { } function __construct() { } }
Output for 4.3.0 - 4.4.9, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.0rc4
Output for 5.2.14 - 5.2.17, 5.3.3 - 5.6.38
Strict Standards: Redefining already defined constructor for class B in /in/QsEdC on line 14
Output for 5.0.0 - 5.2.13, 5.3.0 - 5.3.2
Strict Standards: Redefining already defined constructor for class A in /in/QsEdC on line 6 Strict Standards: Redefining already defined constructor for class B in /in/QsEdC on line 14