3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "\0"; $foo++; echo bin2hex($foo);

preferences:
41.43 ms | 855 KiB | 5 Q