Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
sockets /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
ai_idn_deprecation.phpt
692
B
-rw-rw-r--
2022-10-31 11:36
bug46360.phpt
280
B
-rw-rw-r--
2022-10-31 11:36
bug49341.phpt
341
B
-rw-rw-r--
2022-10-31 11:36
bug51958.phpt
586
B
-rw-rw-r--
2022-10-31 11:36
bug63000.phpt
417
B
-rw-rw-r--
2022-10-31 11:36
bug76839.phpt
2.03
KB
-rw-rw-r--
2022-10-31 11:36
ipv4loop.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
ipv6_skipif.inc
178
B
-rw-rw-r--
2022-10-31 11:36
ipv6loop.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
mcast_helpers.php.inc
263
B
-rw-rw-r--
2022-10-31 11:36
mcast_ipv4_recv.phpt
5.14
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv4_send.phpt
1.53
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv4_send_error.phpt
2.2
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv6_recv.phpt
5.7
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv6_recv_limited.phpt
3.28
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv6_send.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
socket_abstract_path.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
socket_abstract_path_sendmsg.phpt
904
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_bind.phpt
393
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_connect.phpt
399
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_explain.phpt
722
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_lookup.phpt
499
B
-rw-rw-r--
2022-10-31 11:36
socket_bind.phpt
822
B
-rw-rw-r--
2022-10-31 11:36
socket_clear_error-win32.phpt
827
B
-rw-rw-r--
2022-10-31 11:36
socket_clear_error.phpt
769
B
-rw-rw-r--
2022-10-31 11:36
socket_cmsg_credentials.phpt
2.16
KB
-rw-rw-r--
2022-10-31 11:36
socket_cmsg_rights.phpt
2.13
KB
-rw-rw-r--
2022-10-31 11:36
socket_connect_params.phpt
849
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen-nobind.phpt
773
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen-win32.phpt
464
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen.phpt
458
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen_used.phpt
759
B
-rw-rw-r--
2022-10-31 11:36
socket_create_pair-wrongparams-win32.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
socket_create_pair-wrongparams.phpt
1.39
KB
-rw-rw-r--
2022-10-31 11:36
socket_create_pair.phpt
466
B
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-1.phpt
539
B
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-2.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-3.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-4-win.phpt
2.53
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-4.phpt
2.4
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-5.phpt
608
B
-rw-rw-r--
2022-10-31 11:36
socket_getopt.phpt
1.53
KB
-rw-rw-r--
2022-10-31 11:36
socket_getpeername.phpt
675
B
-rw-rw-r--
2022-10-31 11:36
socket_getpeername_ipv4loop.phpt
1.72
KB
-rw-rw-r--
2022-10-31 11:36
socket_getpeername_ipv6loop.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
socket_getsockname.phpt
605
B
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-1.phpt
556
B
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-2.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-3.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-4-win.phpt
2.48
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-4.phpt
2.43
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-5.phpt
608
B
-rw-rw-r--
2022-10-31 11:36
socket_listen-wrongparams.phpt
645
B
-rw-rw-r--
2022-10-31 11:36
socket_read_params.phpt
435
B
-rw-rw-r--
2022-10-31 11:36
socket_recvmsg.phpt
2.01
KB
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-1-win32.phpt
540
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-1.phpt
625
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-2.phpt
597
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-3.phpt
609
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-4.phpt
601
B
-rw-rw-r--
2022-10-31 11:36
socket_select.phpt
563
B
-rw-rw-r--
2022-10-31 11:36
socket_send.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
socket_send_params.phpt
395
B
-rw-rw-r--
2022-10-31 11:36
socket_sendrecvmsg_error.phpt
391
B
-rw-rw-r--
2022-10-31 11:36
socket_sendrecvmsg_multi_msg-unix.phpt
2.67
KB
-rw-rw-r--
2022-10-31 11:36
socket_sendrecvmsg_multi_msg.phpt
2.74
KB
-rw-rw-r--
2022-10-31 11:36
socket_sendto_params.phpt
414
B
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_ipv4_udp.phpt
1.74
KB
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_ipv6_udp-win32.phpt
2.17
KB
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_ipv6_udp.phpt
1.84
KB
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_unix.phpt
2.1
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_block-retval.phpt
581
B
-rw-rw-r--
2022-10-31 11:36
socket_set_nonblock-retval.phpt
593
B
-rw-rw-r--
2022-10-31 11:36
socket_set_nonblock.phpt
423
B
-rw-rw-r--
2022-10-31 11:36
socket_set_option_bindtodevice.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_option_error_socket_option.phpt
885
B
-rw-rw-r--
2022-10-31 11:36
socket_set_option_in6_pktinfo.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_option_rcvtimeo.phpt
976
B
-rw-rw-r--
2022-10-31 11:36
socket_set_option_seolinger.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_option_sndtimeo.phpt
976
B
-rw-rw-r--
2022-10-31 11:36
socket_setopt_basic.phpt
747
B
-rw-rw-r--
2022-10-31 11:36
socket_shutdown-win32.phpt
1.6
KB
-rw-rw-r--
2022-10-31 11:36
socket_shutdown.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
socket_strerror.phpt
5.25
KB
-rw-rw-r--
2022-10-31 11:36
unixloop.phpt
1.25
KB
-rw-rw-r--
2022-10-31 11:36
wsaprotocol_info_0.phpt
1.66
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- socket_export_stream: effects of closing --SKIPIF-- <?php if (!extension_loaded('sockets')) { die('SKIP sockets extension not available.'); } if(substr(PHP_OS, 0, 3) == 'WIN' ) { die("skip Not Valid for Windows"); } --FILE-- <?php function test($stream, $sock) { if ($stream !== null) { echo "stream_set_blocking "; print_r(stream_set_blocking($stream, 0)); echo "\n"; } if ($sock !== null) { echo "socket_set_block "; print_r(socket_set_block($sock)); echo "\n"; echo "socket_get_option "; print_r(socket_get_option($sock, SOL_SOCKET, SO_TYPE)); echo "\n"; } echo "\n"; } echo "normal\n"; $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); socket_bind($sock0, '0.0.0.0'); $stream0 = socket_export_stream($sock0); test($stream0, $sock0); echo "\nunset stream\n"; $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); socket_bind($sock1, '0.0.0.0'); $stream1 = socket_export_stream($sock1); unset($stream1); test(null, $sock1); echo "\nunset socket\n"; $sock2 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); socket_bind($sock2, '0.0.0.0'); $stream2 = socket_export_stream($sock2); unset($sock2); test($stream2, null); echo "\nclose stream\n"; $sock3 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); socket_bind($sock3, '0.0.0.0'); $stream3 = socket_export_stream($sock3); fclose($stream3); test($stream3, $sock3); echo "\nclose socket\n"; $sock4 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); socket_bind($sock4, '0.0.0.0'); $stream4 = socket_export_stream($sock4); socket_close($sock4); test($stream4, $sock4); echo "Done.\n"; --EXPECTF-- normal stream_set_blocking 1 socket_set_block 1 socket_get_option 2 unset stream socket_set_block 1 socket_get_option 2 unset socket stream_set_blocking 1 close stream stream_set_blocking Warning: stream_set_blocking(): supplied resource is not a valid stream resource in %s on line %d socket_set_block Warning: socket_set_block(): unable to set blocking mode [%d]: %s in %s on line %d socket_get_option Warning: socket_get_option(): unable to retrieve socket option [%d]: %s in %s on line %d close socket stream_set_blocking Warning: stream_set_blocking(): supplied resource is not a valid stream resource in %s on line %d socket_set_block Warning: socket_set_block(): supplied resource is not a valid Socket resource in %s on line %d socket_get_option Warning: socket_get_option(): supplied resource is not a valid Socket resource in %s on line %d Done.