php-src/sapi/cli/tests/002-unix.phpt
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

22 lines
312 B
PHP

--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');
var_dump(`$php -n -r 'var_dump("hello");'`);
echo "Done\n";
?>
--EXPECT--
string(18) "string(5) "hello"
"
Done