mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
13 lines
270 B
Plaintext
13 lines
270 B
Plaintext
|
--TEST--
|
||
|
pcntl_exec()
|
||
|
--SKIPIF--
|
||
|
<?php if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE"))) die("skip TEST_PHP_EXECUTABLE not set"); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
echo "ok\n";
|
||
|
pcntl_exec(getenv("TEST_PHP_EXECUTABLE"));
|
||
|
echo "nok\n";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
ok
|