dis-bench / src /php /php-src /sapi /cli /tests /002-unix.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
320 Bytes
--TEST--
running code with -r
--SKIPIF--
<?php
include "skipif.inc";
if (substr(PHP_OS, 0, 3) == 'WIN') {
die ("skip not for Windows");
}
?>
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE_ESCAPED');
var_dump(`$php -n -r 'var_dump("hello");'`);
echo "Done\n";
?>
--EXPECT--
string(18) "string(5) "hello"
"
Done