3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); class TestClass { function TestClass () { } }
based on CNpZn
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; TestClass has a deprecated constructor in /in/8TfVk on line 5
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3