3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors',1); class c{ function c(){echo "c";} } $c= new c();

This is an error 500

There are `>1` results


preferences:
130.62 ms | 997 KiB | 7 Q