Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50951 invoked by uid 1010); 2 Aug 2006 13:10:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50936 invoked from network); 2 Aug 2006 13:10:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Aug 2006 13:10:03 -0000 X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:31323] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id E2/CF-45114-924A0D44 for ; Wed, 02 Aug 2006 09:10:03 -0400 Received: (qmail 27080 invoked from network); 2 Aug 2006 13:08:55 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 2 Aug 2006 13:08:55 -0000 Message-ID: <7.0.1.0.2.20060802160436.0d046278@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Wed, 02 Aug 2006 16:09:58 +0300 To: Derick Rethans Cc: PHP Developers Mailing List In-Reply-To: References: <18810497049.20060801234124@marcus-boerger.de> <1154478748.6599.16.camel@blobule> <7.0.1.0.2.20060802153332.0ce21c00@zend.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] RfC: rethink OO inheritance strictness From: zeev@zend.com (Zeev Suraski) At 15:49 02/08/2006, Derick Rethans wrote: >On Wed, 2 Aug 2006, Zeev Suraski wrote: > > > At 10:41 02/08/2006, Derick Rethans wrote: > > > > > >Yeah, but PHP 4 didn't have OO support, so that argument doesn't count. > > > > It sure as hell did. > >You can hardly call an array with another table with function pointers >OO :) Watch me :) The fact of the matter is that people used this infrastructure in an object oriented way. It wasn't exactly Smalltalk or Java, but many developers used it to implement some of the more common OO practices (encapsulation, inheritence). I guess you could call it 'cooperative OO' (a-la Windows 3.x's cooperative multitasking). Anyway, whatever we call it, it's a fact that a lot of people are using it. I think it's more than reasonable to assume that if several people here on the relatively purist internals@ say they'd want to go on using it, there are many like them in the PHP userbase. Finding a compromise that gives both 'camps' a workable solution makes the most sense here. Zeev