atom feed111 messages in net.php.lists.internalsRe: [PHP-DEV] Re: Syntactic improveme...
FromSent OnAttachments
34 earlier messages
Stefan WalkFeb 4, 2007 12:45 pm 
StephFeb 4, 2007 12:52 pm 
Zeev SuraskiFeb 4, 2007 1:21 pm 
PierreFeb 4, 2007 1:26 pm 
Zeev SuraskiFeb 4, 2007 1:40 pm 
PierreFeb 4, 2007 1:50 pm 
Zeev SuraskiFeb 4, 2007 2:02 pm 
PierreFeb 4, 2007 2:10 pm 
Robert CummingsFeb 4, 2007 3:11 pm 
Sara GolemonFeb 4, 2007 3:25 pm 
Richard LynchFeb 4, 2007 8:20 pm 
Richard LynchFeb 4, 2007 8:22 pm 
Richard LynchFeb 4, 2007 8:26 pm 
Richard LynchFeb 4, 2007 8:48 pm 
Richard LynchFeb 4, 2007 8:52 pm 
Richard LynchFeb 4, 2007 8:54 pm 
Gregory BeaverFeb 4, 2007 9:13 pm 
Brian MoonFeb 4, 2007 11:29 pm 
Antony DovgalFeb 4, 2007 11:47 pm 
Christian SchneiderFeb 5, 2007 2:20 am 
Lukas Kahwe SmithFeb 5, 2007 2:28 am 
Christian SchneiderFeb 5, 2007 2:44 am 
LAUPRETRE François (P)Feb 5, 2007 2:53 am 
ivai...@gmail.comFeb 5, 2007 3:00 am 
Ford, MikeFeb 5, 2007 3:18 am 
Ford, MikeFeb 5, 2007 3:29 am 
Richard QuadlingFeb 5, 2007 4:16 am 
Ford, MikeFeb 5, 2007 4:35 am 
Christian SchneiderFeb 5, 2007 4:54 am 
LAUPRETRE François (P)Feb 5, 2007 5:37 am 
Brian MoonFeb 5, 2007 9:29 am 
Stanislav MalyshevFeb 5, 2007 10:01 am 
Andrei ZmievskiFeb 5, 2007 10:02 am 
Stanislav MalyshevFeb 5, 2007 10:04 am 
Andrei ZmievskiFeb 5, 2007 10:06 am 
Brian MoonFeb 5, 2007 10:16 am 
Stanislav MalyshevFeb 5, 2007 10:24 am 
Todd RuthFeb 5, 2007 10:28 am 
Brian MoonFeb 5, 2007 11:07 am 
Andrei ZmievskiFeb 5, 2007 11:17 am 
Andrei ZmievskiFeb 5, 2007 11:18 am 
Brian MoonFeb 5, 2007 11:32 am 
Robert CummingsFeb 5, 2007 12:28 pm 
Stanislav MalyshevFeb 5, 2007 12:30 pm 
Richard LynchFeb 5, 2007 3:30 pm 
Richard LynchFeb 5, 2007 3:33 pm 
Stanislav MalyshevFeb 5, 2007 3:34 pm 
Richard LynchFeb 5, 2007 3:36 pm 
Richard LynchFeb 5, 2007 3:40 pm 
Richard LynchFeb 5, 2007 3:45 pm 
Richard LynchFeb 5, 2007 3:54 pm 
Mike RobinsonFeb 5, 2007 4:10 pm 
Robert CummingsFeb 5, 2007 4:13 pm 
Sara GolemonFeb 5, 2007 4:20 pm 
Edin KadribasicFeb 5, 2007 4:21 pm 
Ford, MikeFeb 6, 2007 6:07 am 
LAUPRETRE François (P)Feb 6, 2007 6:16 am 
Robert CummingsFeb 6, 2007 6:41 am 
Alain WilliamsFeb 6, 2007 6:46 am 
Christian SchneiderFeb 6, 2007 7:16 am 
Alain WilliamsFeb 6, 2007 7:19 am 
Tullio Andreatta MLFeb 6, 2007 7:29 am 
Ford, MikeFeb 6, 2007 7:41 am 
Lars SchultzFeb 6, 2007 7:47 am 
Robert CummingsFeb 6, 2007 8:09 am 
Andrei ZmievskiFeb 6, 2007 9:26 am 
Andrei ZmievskiFeb 6, 2007 9:27 am 
Andrei ZmievskiFeb 6, 2007 9:27 am 
Richard LynchFeb 6, 2007 6:33 pm 
Richard LynchFeb 6, 2007 6:37 pm 
Richard LynchFeb 6, 2007 6:40 pm 
Ford, MikeFeb 7, 2007 2:20 am 
Ford, MikeFeb 7, 2007 2:31 am 
Mathias BankFeb 8, 2007 2:45 pm 
Hartmut HolzgraefeFeb 8, 2007 2:57 pm 
Brian MoonFeb 8, 2007 3:03 pm 
Vlad BosinceanuFeb 8, 2007 3:25 pm 
Subject:Re: [PHP-DEV] Re: Syntactic improvement to array
From:Richard Lynch (ce@l-i-e.com)
Date:Feb 5, 2007 3:45:40 pm
List:net.php.lists.internals

On Mon, February 5, 2007 12:05 pm, Stanislav Malyshev wrote:

So now we have an invisible operator with a magical symbol '[' which *sometimes* means create an array, but *sometimes* means to de-construct an array into individual variables?

Yep. We also have an invisible magical operator (), which sometimes means function definition, sometimes means expression grouping, sometimes means delimiter, sometimes means function call and sometimes means regular expression grouping. How do we manage? ;)

How you manage is that a zillion newbies use:

include("foo.inc"); echo("foo.inc");

and they don't even realize that the () doesn't mean what they think it means, and it "just works" because it's a no-op.

*THAT* is harder to explain than just about anything in PHP syntax.

How many newbies will be trying: array[1, 2, 3]; and left scratching their heads when it doesn't work?