3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a[PHP_INT_MAX] = 'hello'; $a[] = 'world'; var_dump($a);

preferences:
52.1 ms | 408 KiB | 6 Q