NYCPHP Meetup

NYPHP.org

[nycphp-talk] interesting AMP tidbit on Groklaw

Alan T. Miller amiller at hollywood101.com
Fri Feb 20 16:49:12 EST 2004


It could be narrowed to Programmers Helping Programmers. 

Alan

----- Original Message ----- 
From: <yury at heavenspa.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Friday, February 20, 2004 2:55 PM
Subject: Re: [nycphp-talk] interesting AMP tidbit on Groklaw


> Its not Pretty Home Pages? : ^}
> 
> ciao
> yury
> ----- Original Message ----- 
> From: "Hans Zaunere" <hans not junk at nyphp.com>
> To: "NYPHP Talk" <talk at lists.nyphp.org>
> Sent: Friday, February 20, 2004 4:42 PM
> Subject: RE: [nycphp-talk] interesting AMP tidbit on Groklaw
> 
> 
> 
> > full story here:
> > http://www.groklaw.net/article.php?story=20040216213026637
> 
> Excellent story...
> 
> When someone asks "what does PHP stand for" you can say that it's a
> recursive acronym:  PHP Helping People
> (this one credited to Gales/Lacey prior post on another list).
> 
> 
> H
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 


>From hans not junk at nyphp.com  Fri Feb 20 16:50:08 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id 4FA49A85F3
	for <talk at lists.nyphp.org>; Fri, 20 Feb 2004 16:50:08 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] constants vs globals
Date: Fri, 20 Feb 2004 13:50:15 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F87937CA6 at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] constants vs globals
Thread-Index: AcP3+o2gEAl5fKsJTr6Yqs7FJMjUzAAAP0zw
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: NYPHP Talk <talk at lists.nyphp.org>
List-Id: NYPHP Talk  <talk.lists.nyphp.org>
List-Unsubscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=unsubscribe>
List-Archive: <http://lists.nyphp.org/pipermail/talk>
List-Post: <mailto:talk at lists.nyphp.org>
List-Help: <mailto:talk-request at lists.nyphp.org?subject=help>
List-Subscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Feb 2004 21:50:08 -0000

=20

> -----Original Message-----
> From: talk-bounces at lists.nyphp.org=20
> [mailto:talk-bounces at lists.nyphp.org] On Behalf Of David Mintz
> Sent: Friday, February 20, 2004 4:43 PM
> To: NYPHP Talk
> Subject: RE: [nycphp-talk] constants vs globals
>=20
> On Fri, 20 Feb 2004, Hans Zaunere wrote:
>=20
> >
> > > At the PHP conference in New York last spring I remember=20
> someone asked
> > > Rasmus a question: which is more expensive, accessing a
> > > global or defining
> > > a constant? He said without hesitation "defining a constant."
> >
> >
> > At that same conference I chatted with Zeev about this=20
> issue, too.  He
> > concured, and said that defining a constant is more expensive than
> > setting a variable.
> >
> > However, somehow I knew he wasn't telling the whole story,=20
> so I asked
> > why... and why would anyone want a constant, aside from=20
> being static and
> > globally scoped.
> >
> > He said that using constants, once defined, are less expensive than
> > variables.  So I said... "hah, thought you'd say something=20
> like that..."
> > :)
>=20
>=20
> Heh! Which raises the question, then, how many times to you=20
> need to read a
> constant to break even on that up-front expense, as it were,=20
> as compared
> to a variable?

Heh, now that you mention that, I did say ask.  He didn't know - but we
did talk a bit about it and I think I lead the witness to around 4 or 5

H






More information about the talk mailing list