On Sun, 9 Feb 2003, Kai Schr�der wrote:
> k.schroeder Sun Feb 9 07:21:47 2003 EDT
>
> Modified files:
> /php4/ext/standard/tests/time 002.phpt
> Log:
> skip for Windows (does not support dates prior to midnight, January 1, 1970)
>
> Index: php4/ext/standard/tests/time/002.phpt
> diff -u php4/ext/standard/tests/time/002.phpt:1.4
>php4/ext/standard/tests/time/002.phpt:1.5
> --- php4/ext/standard/tests/time/002.phpt:1.4 Tue Oct 29 10:36:47 2002
> +++ php4/ext/standard/tests/time/002.phpt Sun Feb 9 07:21:47 2003
> @@ -2,6 +2,9 @@
> strtotime() function
> --SKIPIF--
> <?php
> +if (substr(PHP_OS, 0, 3) == 'WIN') {
> + print 'skip Windows does not support dates prior to midnight (00:00:00),
>January 1, 1970';
> +}
You need to die() here, otherwise there is the possibility that there
will be two messages.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php