2006-11-24 13:33:38 +00:00
|
|
|
--TEST--
|
|
|
|
using invalid combinations of cmdline options
|
|
|
|
--SKIPIF--
|
|
|
|
<?php include "skipif.inc"; ?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
|
2007-01-20 22:12:55 +00:00
|
|
|
$php = getenv('TEST_PHP_EXECUTABLE');
|
2006-11-24 13:33:38 +00:00
|
|
|
|
2007-04-19 07:00:41 +00:00
|
|
|
var_dump(`$php -n -a -r "echo hello;"`);
|
|
|
|
var_dump(`$php -n -r "echo hello;" -a`);
|
2006-11-24 13:33:38 +00:00
|
|
|
|
|
|
|
echo "Done\n";
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
2010-03-11 10:24:29 +00:00
|
|
|
string(57) "Either execute direct code, process stdin or use a file.
|
|
|
|
"
|
|
|
|
string(57) "Either execute direct code, process stdin or use a file.
|
|
|
|
"
|
2006-11-24 13:33:38 +00:00
|
|
|
Done
|