Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7189 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50512 invoked by uid 1010); 19 Jan 2004 19:18:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50477 invoked from network); 19 Jan 2004 19:18:01 -0000 Received: from unknown (HELO chicarcas.cimav.edu.mx) (148.223.46.30) by pb1.pair.com with SMTP; 19 Jan 2004 19:18:01 -0000 Received: from chicarcas.cimav.edu.mx (chicarcas.cimav.edu.mx [127.0.0.1]) by chicarcas.cimav.edu.mx (8.12.10/8.12.10) with ESMTP id i0JJKxY1014667 for ; Mon, 19 Jan 2004 12:20:59 -0700 Received: (from ion@localhost) by chicarcas.cimav.edu.mx (8.12.10/8.12.10/Submit) id i0JJKwQq014665 for internals@lists.php.net; Mon, 19 Jan 2004 12:20:58 -0700 X-Authentication-Warning: chicarcas.cimav.edu.mx: ion set sender to ion@gluch.org.mx using -f Reply-To: ion@gluch.org.mx To: internals@lists.php.net Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Grupo Linux Chihuahua Message-ID: <1074540058.13972.11.camel@chicarcas.cimav.edu.mx> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 19 Jan 2004 12:20:58 -0700 Subject: mktime problem... From: ion@gluch.org.mx (Jonathan Hernandez) Hello, I have a problem with mktime, when I try to run this: "; $date = getdate(-347090400); echo $date[0]." ".$date['mday']."-".$date['mon']."-".$date['year']."
"; ?> Output: -62 31-12-1969 -347090400 1-1-1959 I compile php5.0b3 on Fedora(gcc 3.3.2/ kernel 2.4.22), if I try to run it on Debian (gcc 2.95.4 / kernel 2.6.0) it works fine, Output: -347090400 1-1-1959 -347090400 1-1-1959 Both php are compiled with the same ./configure line... Any idea about this? Thanks in advance, Jonathan http://ion.gluch.org.mx