Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26220 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49421 invoked by uid 1010); 24 Oct 2006 07:19:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 49406 invoked from network); 24 Oct 2006 07:19:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2006 07:19:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=jasper@albumltd.co.nz; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jasper@albumltd.co.nz; sender-id=unknown; domainkeys=bad (key type) Received-SPF: error (pb1.pair.com: domain albumltd.co.nz from 210.55.31.88 cause and error) DomainKey-Status: bad (key type) X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: jasper@albumltd.co.nz X-Host-Fingerprint: 210.55.31.88 mail.albumltd.co.nz Linux 2.5 (sometimes 2.4) (4) Received: from [210.55.31.88] ([210.55.31.88:60398] helo=mail.albumltd.co.nz) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/64-18710-C9EBD354 for ; Tue, 24 Oct 2006 03:19:58 -0400 Received: from mail.albumltd.co.nz (www.album.co.nz [127.0.0.1]) by mail.albumltd.co.nz (Postfix) with ESMTP id 5A0102313DA; Tue, 24 Oct 2006 20:19:53 +1300 (NZDT) DomainKey-Signature: a=rsa-sha1; h=Received:Message-ID:Date:From:Organization:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:X-Enigmail-Version:OpenPGP:Content-Type:Content-Transfer-Encoding; b=T/hKBVJYKzAmaAy69O9ZgDuszbxIgduAo0i8G6TJ6u6sv/ZDvsx2NL1tWbaIbiWY/u6x0Q8sB1khcDk/QiG/18VcwDHdHMifsqNXcvfX7gDCigAb7Sal8mIeUfYDTxUtyrofp9AQnrwbuAIr6PDHtNM188/TGlXkL/hf/CE9dYs=; c=nofws; d=albumltd.co.nz; q=dns; s=ks1 Received: from [10.0.1.1] (222-154-246-93.adsl.xtra.co.nz [222.154.246.93]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jasper) by mail.albumltd.co.nz (Postfix) with ESMTP id B62BC2313D8; Tue, 24 Oct 2006 20:19:52 +1300 (NZDT) Message-ID: <453DBF05.7090600@albumltd.co.nz> Date: Tue, 24 Oct 2006 20:21:41 +1300 Organization: Album Limited User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: Derick Rethans CC: Edin Kadribasic , Marcus Boerger , PHP Developers Mailing List References: <1485570655.20061023210857@marcus-boerger.de> <453D3C1D.4040707@php.net> In-Reply-To: X-Enigmail-Version: 0.94.1.0 OpenPGP: id=0A3ABF58 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] E_DEPRECATED From: jasper@albumltd.co.nz (Jasper Bryant-Greene) Derick Rethans wrote: > On Tue, 24 Oct 2006, Edin Kadribasic wrote: >> Writing mydb_fetch_object() becomes impossible in >> userspace if we go this far. It would also make any legal use of >> stdClass impossible. > > Yes, but in the "strict" world, there is no legal use for stdClass in > the first place. I've got to agree with this and Derick's other points. I've written or been involved in writing a great many larger PHP applications, all of which have aimed to be E_STRICT clean, and have never, ever used stdClass. I can't see a reason why you would want to, as it's effectively an associative array with syntax that fools people into thinking you're writing OO code :> As to mydb_fetch_object()... what was wrong with mydb_fetch_assoc()? What does mydb_fetch_object() add to it other than aforementioned syntax that pretends to be OO? -- Jasper Bryant-Greene Director Album Limited jasper@albumltd.co.nz +64 21 708 334 / 0800 425 286 http://www.albumltd.co.nz/