3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['foo', 'bar']; $b = ['0' => 'foo', '1' => 'bar']; $c = ['00' => 'foo', '01' => 'bar']; var_dump($a); var_dump($b); var_dump($c);

preferences:
23.23 ms | 404 KiB | 5 Q