History log of /PHP-8.1/ext/standard/tests/general_functions/proc_open_redirect.phpt (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 51b0494e 01-May-2020 Alex Dowad

Clean up proc_open() implementation

Closes GH-5507.


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25
# 17598d50 20-Nov-2019 Máté Kocsis

Promote warnings to exceptions in proc_open() function

GH-5004


Revision tags: php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3
# 6285bb52 05-Jul-2019 Nikita Popov

Support redirect+null descriptors in proc_open

This adds support for doing something like:

[1 => ['pipe', 'w'], 2 => ['redirect', 1]]

This will make descriptor 2 on the

Support redirect+null descriptors in proc_open

This adds support for doing something like:

[1 => ['pipe', 'w'], 2 => ['redirect', 1]]

This will make descriptor 2 on the child end a dup'd descriptor 1.
This is mainly useful in conjunction with shell-less mode, because
we don't have an easy way to do "2>&1" there.

Additionally we support:

[1 => ['pipe', 'w'], 2 => ['null']]

Which would be the same as a >/dev/null or >nul redirect, depending
on platform.

show more ...