Re: Re: Date: undefined offset

From: Date: Mon, 15 May 2006 11:51:40 +0000
Subject: Re: Re: Date: undefined offset
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24077@lists.php.net to get a copy of this message
On 15 May 2006, at 13:46, Pierre wrote:
On Mon, 15 May 2006 13:43:11 +0200 pear@mowd.nl (Charlie van de Kerkhof) wrote:
Hi, I use the Date library, but if I include a file which includes the Date library then a Notice is shown: Notice: Undefined offset: 2048 in lib/pear/Date.php on line 93
But line 93: '    var $year;' is only used to define the var $year.
Has anybody any idea?
Do you have this message using only this one line script: <?php include 'Date.php';?>
include_once('Date.php');
And nothing else included? include_once is enough
which php version are you using?
5.1.2 But I discoverd that if a constont is true (AM_DEBUG) then it workes fine, otherwise wheb it is false it fails. mmmm.... Seems that it hs to do with that more or less. Regards, - Charlie
--Pierre Did I help you? Please donate :) http://blog.thepimp.net/index.php/1998/04/12/57-please-donate --PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.pear.general (#24077) next »