3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Twitter { function Twitter() { // Adding an old-style constructor allows use on older installs of EE2. Twitter::__construct(); } function __construct() { $this->foo = 'bar'; } }
Output for 4.3.0 - 4.4.9, 7.0.0 - 7.2.0
Output for 5.0.0 - 5.6.28
Strict Standards: Redefining already defined constructor for class Twitter in /in/YdFXe on line 11