3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cb = function ($notification_code , $severity , $message , $message_code , $bytes_transferred , $bytes_max) { var_dump(func_get_args()); }; $ctx = stream_context_set_default(array('http' => array())); stream_context_set_params($ctx, array('notification' => $cb)); file_get_contents("http://127.0.0.1/");

preferences:
43.99 ms | 402 KiB | 5 Q