xref: /PHP-8.1/sapi/cli/tests/002.phpt (revision 782352c5)
1--TEST--
2running code with -r
3--SKIPIF--
4<?php
5include "skipif.inc";
6?>
7--FILE--
8<?php
9
10$php = getenv('TEST_PHP_EXECUTABLE');
11
12var_dump(`$php -n -r "var_dump('hello');"`);
13
14echo "Done\n";
15?>
16--EXPECT--
17string(18) "string(5) "hello"
18"
19Done
20