Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60514 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34977 invoked from network); 7 May 2012 23:07:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2012 23:07:45 -0000 Authentication-Results: pb1.pair.com header.from=cpriest@zerocue.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cpriest@zerocue.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zerocue.com designates 74.115.204.54 as permitted sender) X-PHP-List-Original-Sender: cpriest@zerocue.com X-Host-Fingerprint: 74.115.204.54 relay-hub202.domainlocalhost.com Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [74.115.204.54] ([74.115.204.54:57694] helo=relay-hub202.domainlocalhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/40-30976-FB558AF4 for ; Mon, 07 May 2012 19:07:44 -0400 Received: from MBX202.domain.local ([169.254.19.147]) by HUB202.domain.local ([192.168.69.2]) with mapi id 14.01.0355.002; Mon, 7 May 2012 19:07:40 -0400 To: Nikita Popov CC: Etienne Kneuss , "Felipe Pena (felipensp@gmail.com)" , "internals@lists.php.net" Thread-Topic: [PHP-DEV] RE: Trouble with zend_language_parser.y Thread-Index: Ac0jXmQn8gRqmAt5QtCnm9BYYQr3DAFCET3QAKLolgAAZM4L4AAI1HGAAAC0/QA= Date: Mon, 7 May 2012 23:07:40 +0000 Message-ID: <9570D903A3BECE4092E924C2985CE48555BFDCB6@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE48555BEE86D@MBX202.domain.local> <9570D903A3BECE4092E924C2985CE48555BF7139@MBX202.domain.local> <9570D903A3BECE4092E924C2985CE48555BFD995@MBX202.domain.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.64.25] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] RE: Trouble with zend_language_parser.y From: cpriest@zerocue.com (Clint Priest) That makes complete sense, it is indeed a LONG type that's getting to that = point, thank you! > -----Original Message----- > From: Nikita Popov [mailto:nikita.ppv@googlemail.com] > Sent: Monday, May 07, 2012 2:27 PM > To: Clint Priest > Cc: Etienne Kneuss; Felipe Pena (felipensp@gmail.com); internals@lists.ph= p.net > Subject: Re: [PHP-DEV] RE: Trouble with zend_language_parser.y >=20 > On Mon, May 7, 2012 at 9:16 PM, Clint Priest wrote: > > Alright, I'm new to git but I believe I have a branch off my fork which= demonstrates the issue. > > > > https://github.com/cpriest/php-src/tree/isset-unset-issue > > > > This branch also features just code necessary to produce the results, i= f you search in zend_compile.h for ISSUE-ISSET-LANGUAGE- > PARSER you'll see further contextual notes on what I'm seeing that's the = issue. > > > > It seems the function_token is getting the rest of the script stuffed i= nto it. > When you write $1 (where 1 references a terminal) you are accessing the z= endlval of the token. Not all tokens define an lval. Only > tokens which have a meaningful value (like numbers, strings, etc). So whe= n accessing the value of T_ISSET you just get some junk (as > it does not set a value). >=20 > Not sure that's really right, but that would be my guess :) >=20 > Nikita