1--TEST--
2Bug #72534 stream_socket_get_name crashes
3--FILE--
4<?php
5$fname = dirname(__FILE__) . '/aa.tmp';
6$fp0 = fopen($fname, 'w');
7var_dump(stream_socket_get_name($fp0, false));
8var_dump(stream_socket_get_name($fp0, true));
9fclose($fp0);
10?>
11--CLEAN--
12<?php
13$fname = dirname(__FILE__) . '/aa.tmp';
14unlink($fname);
15?>
16--EXPECT--
17bool(false)
18bool(false)
19