3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( (object) array( "\0bar" => 1, "\0\0baz" => 2, ) );

preferences:
52.41 ms | 407 KiB | 5 Q