http://www.tuxedo.org/~esr/jargon/html/entry/foo.html
HTH
Jon
-Original Message-
From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2001 14:54
To: '[EMAIL PROTECTED]'
Subject: [PHP] foo-bar
BTW...
Can anybody tell me where the words
foo and bar
BTW...
Can anybody tell me where the words
foo and bar
come from?
Thanx,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
At 20:11 29/8/2001 +0100, you wrote:
>Why is it that every example uses foo and bar. In my head I put these
>together to get FUBAR, the meaning of which I won't spell out for Kyle's
>benefit.
>
>Is this what foo and bar refer to? And WHY are they used so extensively?
they don't mean anything...
see :
http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=foo
http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=bar
pretty interesting :)
regards,
Philip Olson
On Wed, 29 Aug 2001, Seb Frost wrote:
> Why is it that every example uses foo and bar. In my head I put these
> together to get FU
Why is it that every example uses foo and bar. In my head I put these
together to get FUBAR, the meaning of which I won't spell out for Kyle's
benefit.
Is this what foo and bar refer to? And WHY are they used so extensively?
- seb
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-
tten
>
>print "Hello there {$client['name']}";
>
>Sorry to sound stroppy :)
>
>Cheers
>--
>Phil Driscoll
>Dial Solutions
>+44 (0)113 294 5112
>http://www.dialsolutions.com
>http://www.dtonline.org
>
>
>-Original Message-
&g
Addressed to: Derek Sivers <[EMAIL PROTECTED]>
"Matthias Krehl" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Derek Sivers <[EMAIL PROTECTED]> Tue, 13 Feb 2001 09:31:29 -0800
>
>
> >I'd really appreciate a clear statement whether to use better
> >$foo
iginal Message-
From: Derek Sivers <[EMAIL PROTECTED]>
To: Matthias Krehl <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, February 13, 2001 5:34 PM
Subject: Re: [PHP] foo[bar] _or_ foo['bar'] ?
>
>>I'd really appreciate a
>I'd really appreciate a clear statement whether to use better
>$foo = array('bar' => 'boing');
> doWhatSoEver($foo[bar]);
>or
>$foo = array('bar' => 'boing');
> doWhatSoEver($foo['bar']);
I had heard someone on the list say that it's always best to use quotes,
for the same rea
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Matthias Krehl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 7:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] foo[bar] _or_ foo['b
This is the correct format:
>doWhatSoEver($foo['bar']);
If your error reporting level is set high enough, php will complain about
$foo[bar] unless you have defined bar as a constant elsewhere.
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline
Hi there!
I'd really appreciate a clear statement whether to use better
$foo = array('bar' => 'boing');
doWhatSoEver($foo[bar]);
or
$foo = array('bar' => 'boing');
doWhatSoEver($foo['bar']);
Someone to know that?
bye Matthias
Matthias Krehl
[EMAIL PROTECTED]
--
PHP Genera
12 matches
Mail list logo