3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('error_reporting', E_NOTICE); echo $x; // generates E_NOTICE ini_set('error_reporting', 'E_NOTICE'); echo $y; // nothing

preferences:
52.95 ms | 402 KiB | 5 Q