Re: cvs: php4 /ext/standard/tests/time 002.phpt
| From: | Derick Rethans | Date: | Sun, 09 Feb 2003 12:23:35 +0000 |
| Subject: | Re: cvs: php4 /ext/standard/tests/time 002.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-18533@lists.php.net to get a copy of this message | ||
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/
-------------------------------------------------------------------------