run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); ini_set('display_errors',1); class c{ function c(){echo "c";} } $c= new c();
based on rgHev
Output for 7.0.0 - 7.2.6
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; c has a deprecated constructor in /in/udRhX on line 4 c
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3