3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = ''; $var[] = 'l'; //pas de notice var_dump($var);

preferences:
45.88 ms | 402 KiB | 5 Q