Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23658 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86448 invoked by uid 1010); 25 May 2006 15:23:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86432 invoked from network); 25 May 2006 15:23:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2006 15:23:17 -0000 X-PHP-List-Original-Sender: truth@proposaltech.com X-Host-Fingerprint: 68.142.198.203 smtp104.sbc.mail.mud.yahoo.com Received: from ([68.142.198.203:40569] helo=smtp104.sbc.mail.mud.yahoo.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 22/54-17316-5EBC5744 for ; Thu, 25 May 2006 11:23:17 -0400 Received: (qmail 57897 invoked from network); 25 May 2006 15:23:13 -0000 Received: from unknown (HELO ?192.168.2.106?) (toddruth@sbcglobal.net@71.128.142.101 with login) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 25 May 2006 15:23:13 -0000 Reply-To: truth@proposaltech.com To: internals@lists.php.net In-Reply-To: <622454478.20060525145308@marcus-boerger.de> References: <138663365.20060514205903@marcus-boerger.de> <038d01c676f8$ab9b3380$6602a8c0@foxbox> <44685D24.2000801@php.net> <1147708994.14148.23.camel@notebook.local> <16710545416.20060515202714@marcus-boerger.de> <1147721541.14148.47.camel@notebook.local> <4468DB43.1020005@emini.dk> <7.0.1.0.2.20060515194051.02b32ef8@zend.com> <1148496966.19173.79.camel@notebook.local> <454303585.20060524213714@marcus-boerger.de> <622454478.20060525145308@marcus-boerger.de> Content-Type: text/plain Date: Thu, 25 May 2006 08:23:17 -0700 Message-ID: <1148570597.19173.117.camel@notebook.local> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] fatal static call in php 6.0? From: truth@proposaltech.com (Todd Ruth) On Thu, 2006-05-25 at 14:53 +0200, Marcus Boerger wrote: > There is no way you can write heavy oo using code that supports PHP 4 > and PHP 5.2 without a version check every here and there, so i don't see > this as an argument. It is a fact that 4 and 5 have very different object > models. Sort of. The fact that "$object1 = $object2" didn't mean "$object1 =& $object2" in php4 drove us crazy, so each of our objects keeps its data in an array. For us, moving from 4 to 5 was mostly about adding "strtolower"s. We already had our own cloning function, so the only reason we can't go back to 4 is that we're using Derick's date stuff. That was the "killer feature" for us that got us to php 5. The object stuff has not been an issue. Perhaps you're implying that my life will be difficult if I move from 5.1 to 5.2, but hopefully that won't be too painful. BTW, the phpt I posted that uses $this in a static call doesn't even give a strict message in 5.1.2. It passes with 0 messages even with "E_ALL|E_STRICT". BTW, a big thanks to Derick for the timezone feature! (not to overshadow my thanks to you for the numerous handy patches I've seen you post!) Thanks, Todd