3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = substr('foo', 0, 0); var_dump($foo);

preferences:
38 ms | 402 KiB | 5 Q