Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44045 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85009 invoked from network); 24 May 2009 16:27:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2009 16:27:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick@serru.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=patrick@serru.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain serru.net from 88.191.253.43 cause and error) X-PHP-List-Original-Sender: patrick@serru.net X-Host-Fingerprint: 88.191.253.43 smtpauth.online.net Received: from [88.191.253.43] ([88.191.253.43:60345] helo=smtpauth.online.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/FC-13990-575791A4 for ; Sun, 24 May 2009 12:27:34 -0400 Received: from [127.0.0.1] (helo=linux-pat) by smtpauth.online.net with esmtpa (Exim 4.63) (envelope-from ) id 1M8GXq-0000Cj-S1; Sun, 24 May 2009 18:27:30 +0200 Reply-To: patrick@serru.net To: internals@lists.php.net, Johannes =?iso-8859-15?q?Schl=FCter?= Date: Sun, 24 May 2009 11:27:28 -0500 User-Agent: KMail/1.9.10 X-Face: &R/xs<]8zev5dBfNwYTJSt\'~gTqn?tb86Q_c$JZOiQ.wrE@,`ekpB\_={GL>=?utf-8?q?m8DTg7j=3F=27=0A=09?=>.1BWYRZ5ugXr_)h9l;FS_*`..'@rp,{Z7A9_Sj@%v):-1Ds%,/C+t=zu{?!#N1Uk~C,:c$K%2vu MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-ID: <200905241127.28320@----Apocryphe----> X-Virus-Scanned: ClamAV using ClamSMTP X-auth-smtp-user: patrick@serru.net Subject: Re: [PHP-DEV] How to contribute for PHP Internals From: patrick@serru.net (Patrick Serru) Bonjour johannes, hi everybody, Le samedi 23 mai 2009, vous avez =E9crit : > Bonsoir, >=20 > I think the language syntax definition is more a part r the genaral > documentation and too specific for a "getting started with internals" > document. The language definition is a small part of PHP ... I was thinking that it would probably exists some grammar definition= =20 using BNF... something more concise, for my exercise, than the user's=20 documentation (the quality of which is very good). >=20 > $ php -nr 'function declare_class() { class Foo {} } declare_class();=20 var_dump(new Foo());' > object(Foo)#1 (0) { > } > Seems to work, or didn't I understand your problem? Sorry about that. Of course, I was wrong. There was a die() at the en= d=20 of the tested function. My confusion may be due to the fact that I had=20 difficulties with the scope at the end of a inserted file in which a classe= =20 was declared. >=20 > johannes >=20 Thank you for the attention you paid to my mail, and anwers, Patrick