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 /
readline /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
bug69054.phpt
306
B
-rw-rw-r--
2022-10-31 11:36
bug72538.phpt
331
B
-rw-rw-r--
2022-10-31 11:36
bug77812-libedit.phpt
1.04
KB
-rw-rw-r--
2022-10-31 11:36
bug77812-readline.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
libedit_callback_handler_install_001.phpt
765
B
-rw-rw-r--
2022-10-31 11:36
libedit_callback_handler_remove_001.phpt
583
B
-rw-rw-r--
2022-10-31 11:36
libedit_info_001-win32.phpt
856
B
-rw-rw-r--
2022-10-31 11:36
libedit_info_001.phpt
918
B
-rw-rw-r--
2022-10-31 11:36
libedit_write_history_001-win32.phpt
582
B
-rw-rw-r--
2022-10-31 11:36
libedit_write_history_001.phpt
584
B
-rw-rw-r--
2022-10-31 11:36
readline_add_history_001.phpt
632
B
-rw-rw-r--
2022-10-31 11:36
readline_basic.phpt
273
B
-rw-rw-r--
2022-10-31 11:36
readline_callback_handler_install_001.phpt
749
B
-rw-rw-r--
2022-10-31 11:36
readline_callback_handler_remove_001.phpt
577
B
-rw-rw-r--
2022-10-31 11:36
readline_clear_history_001.phpt
325
B
-rw-rw-r--
2022-10-31 11:36
readline_completion_function_001.phpt
459
B
-rw-rw-r--
2022-10-31 11:36
readline_info_001.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
readline_list_history_001.phpt
368
B
-rw-rw-r--
2022-10-31 11:36
readline_read_history_001.phpt
516
B
-rw-rw-r--
2022-10-31 11:36
readline_read_history_error_001.phpt
507
B
-rw-rw-r--
2022-10-31 11:36
readline_read_history_open_basedir_001.phpt
506
B
-rw-rw-r--
2022-10-31 11:36
readline_without_input.phpt
435
B
-rw-rw-r--
2022-10-31 11:36
readline_write_history_001.phpt
502
B
-rw-rw-r--
2022-10-31 11:36
readline_write_history_open_basedir_001.phpt
510
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Bug #77812 (Interactive mode does not support PHP 7.3-style heredoc) --SKIPIF-- <?php if (!extension_loaded('readline')) die('skip readline extension not available'); if (READLINE_LIB !== "libedit") die('skip libedit only'); if (!function_exists('proc_open')) die('skip proc_open() not available'); ?> --FILE-- <?php $php = getenv('TEST_PHP_EXECUTABLE'); $ini = getenv('TEST_PHP_EXTRA_ARGS'); $descriptorspec = [['pipe', 'r'], STDOUT, STDERR]; $proc = proc_open("$php $ini -a", $descriptorspec, $pipes); var_dump($proc); fwrite($pipes[0], "echo <<<FOO\n bar\n FOO;\n"); fwrite($pipes[0], "print(<<<FOO\nxx\nFOO);\n"); fwrite($pipes[0], "echo <<<FOO\n xxx\n FOO;\nFOO\n;\n"); fwrite($pipes[0], "echo <<<FOO\nFOOL\nFOO\n,1;\n"); fwrite($pipes[0], "echo <<<FOO\nFOO4\nFOO\n,2;\n"); fclose($pipes[0]); proc_close($proc); ?> --EXPECTF-- resource(%d) of type (process) Interactive shell bar xx xxx Warning: Use of undefined constant FOO - assumed 'FOO' (this will throw an Error in a future version of PHP) in php shell code on line %d FOOL1 FOO42