mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Fix test portability
This commit is contained in:
parent
fe78a7cb4f
commit
8e6619445f
@ -13,17 +13,17 @@ $php = getenv('TEST_PHP_EXECUTABLE');
|
||||
// -s : behavior = HIGHLIGHT
|
||||
// -w : behavior = STRIP
|
||||
|
||||
var_dump(`"$php" -n -r 'echo 1;' -F some.php`);
|
||||
var_dump(`"$php" -n -r 'echo 2;' -f some.php`);
|
||||
var_dump(`"$php" -n -r 'echo 3;' -l`); // ignores linting
|
||||
var_dump(`"$php" -n -r 'echo 4;' -R some.php`);
|
||||
var_dump(`"$php" -n -r 'echo 5;' -B ''`);
|
||||
var_dump(`"$php" -n -a -B ''`);
|
||||
var_dump(`"$php" -n -r 'echo 6;' -E ''`);
|
||||
var_dump(`"$php" -n -a -E ''`);
|
||||
var_dump(`"$php" -n -r 'echo 7;' -s`);
|
||||
var_dump(`"$php" -n -r 'echo 8;' -w`);
|
||||
var_dump(`"$php" -n -l -r 'echo 9;'`);
|
||||
var_dump(`"$php" -n -r "echo 1;" -F some.php`);
|
||||
var_dump(`"$php" -n -r "echo 2;" -f some.php`);
|
||||
var_dump(`"$php" -n -r "echo 3;" -l`); // ignores linting
|
||||
var_dump(`"$php" -n -r "echo 4;" -R some.php`);
|
||||
var_dump(`"$php" -n -r "echo 5;" -B ""`);
|
||||
var_dump(`"$php" -n -a -B ""`);
|
||||
var_dump(`"$php" -n -r "echo 6;" -E ""`);
|
||||
var_dump(`"$php" -n -a -E ""`);
|
||||
var_dump(`"$php" -n -r "echo 7;" -s`);
|
||||
var_dump(`"$php" -n -r "echo 8;" -w`);
|
||||
var_dump(`"$php" -n -l -r "echo 9;"`);
|
||||
|
||||
echo "Done\n";
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user