3v4l.org

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

preferences:
28.52 ms | 404 KiB | 5 Q