Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65887 invoked from network); 16 May 2011 12:47:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2011 12:47:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.177 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.216.177 mail-qy0-f177.google.com Received: from [209.85.216.177] ([209.85.216.177:54316] helo=mail-qy0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/76-26716-6DC11DD4 for ; Mon, 16 May 2011 08:47:19 -0400 Received: by qyl38 with SMTP id 38so2902590qyl.8 for ; Mon, 16 May 2011 05:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=HCvl8f7UFKOEYzdxcuppoKYmFg5JGqasVR/nEY2jRCQ=; b=lFc+8UlaaA3NK5iDA9EO4jfsMDBO4iv1fDp7/tTryB/bXCZeJRitoZ310qI9kyzNDz RwETSbOPbuOHhZTEnTXejx6y7e8WDz7d2a8wrwIrgYVRW6jMKBEnB2Us+hvV4YuAIDQX S5BGfzI8VQC8yrwenxWRlhV7Uyh0nXhib5FBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=FlKCnVcTL77mmp1yqzndzHQY2bKcUkQztB3ev3zsNlAnVPVLn9S7QrrFQDAkJFZxg3 o3lsRk/1lkHz/9mtCqjaowa52OvlGpuQlb24nPBuvrQ2HU0w/bz79nmrDJLW3kK2LqV/ +u1Xhrus5IY1Ngd3jheGatNl8au8zyiwIM+XI= Received: by 10.229.106.32 with SMTP id v32mr3244952qco.77.1305550036224; Mon, 16 May 2011 05:47:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.92.7 with HTTP; Mon, 16 May 2011 05:46:55 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2011 09:46:55 -0300 Message-ID: To: Ferenc Kovacs Cc: internals Content-Type: multipart/alternative; boundary=00235429dbc4254cd904a3640ebb Subject: Re: [PHP-DEV] [RFC] Improved parser error message From: felipensp@gmail.com (Felipe Pena) --00235429dbc4254cd904a3640ebb Content-Type: text/plain; charset=UTF-8 Hi, 2011/5/16 Ferenc Kovacs > > +1 > > do you think that this could cause some kind of BC? > I don't think that anybody out there parses the tokens as is, but there are > crazy people. :) > the other thing that I can imagine that the developers will be surprised > that they are getting meaningful error messages, but I think they can live > with that. :) > > Tyrael > There is no BC. The changes doesn't affects token_*() functions for example. $ sapi/cli/php -r 'var_dump(token_name(318));' string(6) "T_ECHO" I added such information to the wiki page. Thanks. :) -- Regards, Felipe Pena --00235429dbc4254cd904a3640ebb--