NYCPHP Meetup

NYPHP.org

[nycphp-talk] Zend_language_parser

Jon Baer jonbaer at jonbaer.net
Wed Jul 21 12:16:57 EDT 2004


Just curious to find out .. Does anyone here "hack" on this file often?  It
uses YACC am I correct?

- Jon

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of David Sklar
Sent: Wednesday, July 21, 2004 11:49 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Access an element of a method that returns an ar
ray

If you're interested in hacking around, I think the place to start if you
want to change this is about line 744 of Zend/zend_language_parser.y, where
the syntax for when a "variable" can appear in a program is described.
"base_variable_with_function_calls" 
can have an object operator ( -> ) after it, but not array dimension
operators (square brackets).

David




More information about the talk mailing list