3v4l.org

run code in 300+ PHP versions simultaneously
<?php $temp1 = array(0, 1); $temp2 = array(0, null); $temp3 = array(0); echo '$temp1: ', var_export($temp1[1], true), PHP_EOL, '$temp2: ', var_export($temp2[1], true), PHP_EOL, '$temp3: ', var_export($temp1[1], true);

preferences:
34.5 ms | 402 KiB | 5 Q