1--TEST--
2Bug #72857 stream_socket_recvfrom read access violation
3--FILE--
4<?php
5    $fname = __DIR__ . DIRECTORY_SEPARATOR . "stream_socket_recvfrom.tmp";
6    $fp0 = fopen($fname, 'w');
7    $v2=10;
8    $v3=STREAM_PEEK;
9    $v4="A";
10
11    var_dump(stream_socket_recvfrom($fp0,$v2,$v3,$v4), $v4);
12
13    fclose($fp0);
14    unlink($fname);
15?>
16--EXPECT--
17bool(false)
18NULL
19