Re: cvs: php-src /sapi/cli/tests 001.phpt 002-win32.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 009.phpt 010-2.phpt 010.phpt
011.phpt 012.phpt 013.phpt 014.phpt skipif.inc
| From: | Marcus Boerger | Date: | Sat, 25 Nov 2006 14:15:49 +0000 |
| Subject: | Re: cvs: php-src /sapi/cli/tests 001.phpt 002-win32.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 009.phpt 010-2.phpt 010.phpt 011.phpt 012.phpt 013.phpt 014.phpt skipif.inc |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-41732@lists.php.net to get a copy of this message | ||
Hello Antony,
you are using $_ENV['TEST_PHP_EXECUTABLE'] here alot. Wouldn't it be
better to use --ARGS-- section instead?
best regards
marcus
Friday, November 24, 2006, 2:32:07 PM, you wrote:
>
> http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/001.phpt?view=markup&rev=1.1
> Index: php-src/sapi/cli/tests/001.phpt
> +++ php-src/sapi/cli/tests/001.phpt
> --TEST--
> version string
> --SKIPIF--
> <?php include "skipif.inc"; ?>
> --FILE--
> <?php
> $php = $_ENV['TEST_PHP_EXECUTABLE'];
> var_dump(
"$php" -n -v);
> echo "Done\n";
?>>
> --EXPECTF--
> string(%d) "PHP %s (cli) (built: %s)%s
> Copyright (c) 1997-20%d The PHP Group
> Zend Engine v%s, Copyright (c) 1998-20%d Zend Technologies
> "
> Done
Best regards,
Marcus