3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL | E_NOTICE | E_STRICT); #reports undefined variable echo $xxx; #does not report error $xxx = false; echo $xxx[1]; #reports undefinied offset $xxx = array(); echo $xxx[1];

preferences:
47.91 ms | 402 KiB | 5 Q