PHP 4.0 Bug #9237: date function parameters won't work on PWS
| From: | ajandris at parks dot lv | Date: | Tue, 13 Feb 2001 10:26:30 +0000 |
| Subject: | PHP 4.0 Bug #9237: date function parameters won't work on PWS | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46475@lists.php.net to get a copy of this message | ||
From: ajandris@parks.lv
Operating system: NT 4.0 wrkst, win98
PHP version: 4.0.4pl1
PHP Bug Type: Date/time related
Bug description: date function parameters won't work on PWS
On linux (built in) and IIS 4.0 (cgi vers) on nt4.0 wrkst i can use function for example:
function getThisMonth(){
$dat=getdate();
return $dat[mon];
}
without problem.
On pws it reproduces error (description I don't remember -> it happens at home)
I should put mon in double quotes '"'. Then it works.
This error happens with other parameters like nmon, year ...
With quotes it works on linux and IIS 4.0 too.
Thanks,
Andris
--
Edit Bug report at: http://bugs.php.net/?id=9237&edit=1