3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((string) new Exception("\0 bar ") . "foo");

preferences:
54.3 ms | 407 KiB | 5 Q