PHP  
 PHP_7_1
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/pcntl/tests/pcntl_exec_2.phpt ('pcntl_exec() 2')

Script

1: <?php
2:
if (getenv("PCNTL_EXEC_TEST_IS_CHILD")) {
3:     
var_dump((binary)getenv("FOO"));
4:     exit;
5: }
6: echo 
"ok\n";
7:
pcntl_exec(getenv("TEST_PHP_EXECUTABLE"), array('-n'__FILE__), array(
8:     
b"PCNTL_EXEC_TEST_IS_CHILD" => b"1"
9:     
b"FOO" => b"BAR",
10:     
=> b"long")
11: );
12:
13: echo 
"nok\n";
14:
?>
15:

Expected

ok
string(3) "BAR"

Output

ok
Unable to find environment variable: ORACLE_HOME
string(3) "BAR"

Diff

002+ Unable to find environment variable: ORACLE_HOME

 

Generated at Thu, 23 Nov 2017 06:57:06 +0000 (26 hours ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.