Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27629 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53725 invoked by uid 1010); 24 Jan 2007 10:35:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53710 invoked from network); 24 Jan 2007 10:35:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jan 2007 10:35:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=M.Ford@leedsmet.ac.uk; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=M.Ford@leedsmet.ac.uk; sender-id=pass Received-SPF: pass (pb1.pair.com: domain leedsmet.ac.uk designates 160.9.128.18 as permitted sender) X-PHP-List-Original-Sender: M.Ford@leedsmet.ac.uk X-Host-Fingerprint: 160.9.128.18 mrelay-c.lmu.ac.uk Linux 2.4/2.6 Received: from [160.9.128.18] ([160.9.128.18:24035] helo=mrelay-c.lmu.ac.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/A4-13376-85637B54 for ; Wed, 24 Jan 2007 05:35:05 -0500 Received: from localhost.lmu.ac.uk ([127.0.0.1] helo=localhost) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1H9fJa-0001iO-0n; Wed, 24 Jan 2007 10:25:14 +0000 Received: from mrelay-c.lmu.ac.uk ([127.0.0.1]) by localhost (mrelay-c [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06199-01; Wed, 24 Jan 2007 10:25:10 +0000 (GMT) Received: from leedsmet-exch1.leedsmet.ac.uk ([160.9.35.117]) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1H9fIY-0001hU-TX; Wed, 24 Jan 2007 10:24:11 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Jan 2007 10:25:02 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] Autoglobal CVs without silence -- Summary thread-index: Acc/Imqy+HToCblhTkKjgV80R2s0IQAfW1NQ To: "Sara Golemon" , X-Virus-Scanned: by McAfee at Leeds Metropolitan University Subject: RE: [PHP-DEV] Autoglobal CVs without silence -- Summary From: M.Ford@leedsmet.ac.uk ("Ford, Mike") > -----Original Message----- > From: Sara Golemon [mailto:pollita@php.net]=20 > Sent: 23 January 2007 19:02 > * - Sidenote: I refuse to call object behavior "reference by=20 > default",=20 > I've had too many people notice that it's not actually true=20 Hear, hear. My favourite terminology here (and I'm sure it was in the original description, when the change was first proposed, but got lost along the way) is to say that objects are always represented by their *handle*. Then variables contain the handle, and you can have copies of the handle and references to the handle which now behave exactly as expected. I've produced a couple of major lightbulb moments in people with this explanation, but it all stems from introducing the concept of an object's handle rather than saying objects are reference by default. Please consider promoting this terminolgy to general use -- it would make it so much easier to explain certain behaviours which currently have high WTF factors. Cheers! Mike =20 ------------------------------------------------------------------------ ---------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, JG125, The Library, James Graham Building, Headingley Campus, Beckett Park, LEEDS, LS6 3QS, United Kingdom Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 To view the terms under which this email is distributed, please go to http:= //disclaimer.leedsmet.ac.uk/email.htm