--TEST-- FR #69953 (Support MKCALENDAR request method) --INI-- allow_url_fopen=1 --SKIPIF-- <?php include "skipif.inc"; ?> --FILE-- <?php include "php_cli_server.inc"; php_cli_server_start('echo $_SERVER["REQUEST_METHOD"];'); $context = stream_context_create(['http' => ['method' => 'MKCALENDAR']]); var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context)); ?> --EXPECT-- string(10) "MKCALENDAR"