mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
21 lines
368 B
PHP
21 lines
368 B
PHP
--TEST--
|
|
Bug #72857 stream_socket_recvfrom read access violation
|
|
--FILE--
|
|
<?php
|
|
$fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "stream_socket_recvfrom.tmp";
|
|
$fp0 = fopen($fname, 'w');
|
|
$v2=10;
|
|
$v3=STREAM_PEEK;
|
|
$v4="A";
|
|
|
|
var_dump(stream_socket_recvfrom($fp0,$v2,$v3,$v4), $v4);
|
|
|
|
fclose($fp0);
|
|
unlink($fname);
|
|
?>
|
|
==DONE==
|
|
--EXPECT--
|
|
bool(false)
|
|
NULL
|
|
==DONE==
|