Re: How to contribute for PHP Internals

From: Date: Sat, 23 May 2009 18:02:53 +0000
Subject: Re: How to contribute for PHP Internals
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-44039@lists.php.net to get a copy of this message
Bonsoir, On Fri, 2009-05-22 at 12:51 -0500, Patrick Serru wrote: > Indeed, I was looking for some definition of PHP as language. I'm not > a specialist, but HOBBIST well interested. I try to build a parser in PHP, > and parsing PHP first! Then, I was just needing more material related to > the language it self. 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 ... > For instance, here is my last interogation: I noted that a class, > defined inside a function does not has a global scope, and if I well > remember, this does not fit with my readings... Is it a bug, or have I a > bad memory ? $ php -nr 'function declare_class() { class Foo {} } declare_class(); var_dump(new Foo());' object(Foo)#1 (0) { } Seems to work, or didn't I understand your problem? johannes

« previous php.internals (#44039) next »