mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
21 lines
413 B
PHP
21 lines
413 B
PHP
--TEST--
|
|
using invalid combinations of cmdline options
|
|
--SKIPIF--
|
|
<?php include "skipif.inc"; ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$php = getenv('TEST_PHP_EXECUTABLE');
|
|
|
|
var_dump(`$php -n -a -r "echo hello;"`);
|
|
var_dump(`$php -n -r "echo hello;" -a`);
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
string(57) "Either execute direct code, process stdin or use a file.
|
|
"
|
|
string(57) "Either execute direct code, process stdin or use a file.
|
|
"
|
|
Done
|