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:
139.96 ms | 1002 KiB | 7 Q