Re: [PHP-DEV] Re: EBNF

2011-01-01 Thread guilhermebla...@gmail.com
Hi all, PHP grammar is far from being complex. It is possible to describe most of the syntax with a simple explanation. Example: * We can separate a program into several statements. * There're a couple of items that cannot be declared into different places (namespace, use), so consider them as

Re: [PHP-DEV] Re: EBNF

2011-01-01 Thread guilhermebla...@gmail.com
/docs/books/jls/second_edition/html/syntax.doc.html Cheers, On Sat, Jan 1, 2011 at 2:20 PM, guilhermebla...@gmail.com guilhermebla...@gmail.com wrote: Hi all, PHP grammar is far from being complex. It is possible to describe most of the syntax with a simple explanation. Example: * We can

Re: [PHP-DEV] RFC: Making T_FUNCTION optional in method declarations

2010-11-29 Thread guilhermebla...@gmail.com
+1 for next major, but not for middle point release. =) 2010/11/29 Pierre Joye pierre@gmail.com: my +1 for new major version only, btw :) 2010/11/27 Pierre Joye pierre@gmail.com: +1 if While technically possible this RFC suggests that the following shall NOT be valid for keeping the

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-19 Thread guilhermebla...@gmail.com
, On Tue, Nov 16, 2010 at 10:32 AM, Richard Quadling rquadl...@gmail.com wrote: On 16 November 2010 07:06, Zeev Suraski z...@zend.com wrote: -Original Message- From: Pierre Joye [mailto:pierre@gmail.com] Sent: Tuesday, November 16, 2010 1:45 AM To: Zeev Suraski Cc: guilhermebla

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-18 Thread guilhermebla...@gmail.com
Hi Larry, For existent project examples and usage, here are 2 links of the upcoming versions of Doctrine 2 and Symfony 2: http://www.doctrine-project.org/projects/orm/2.0/docs/reference/basic-mapping/en#introduction-to-docblock-annotations http://docs.symfony-reloaded.org/guides/validator.html

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-18 Thread guilhermebla...@gmail.com
/guides/validator.html (at the end of HTML file) Cheers, On Thu, Nov 18, 2010 at 3:00 PM, la...@garfieldtech.com la...@garfieldtech.com wrote: On 11/18/10 7:34 AM, guilhermebla...@gmail.com wrote: Hi Larry, For existent project examples and usage, here are 2 links of the upcoming versions

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-16 Thread guilhermebla...@gmail.com
of votes to people with PHP karma, so meritocracy is perfectly being counted here. Please stick to your vote and let other people vote. Do not close this thread, again. Cheers, Zeev -Original Message- From: guilhermebla...@gmail.com [mailto:guilhermebla...@gmail.com] Sent: Tuesday

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-16 Thread guilhermebla...@gmail.com
Hi Lester, If you READ my first email of this thread, you'll find out I do not speak about new syntax, etc. No matter if you say that can be done through docblock, you're automatically saying +1 to this thread. Please re-read the topic and vote. Thanks. Cheers, On Tue, Nov 16, 2010 at 5:38

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-16 Thread guilhermebla...@gmail.com
@Chad: You're getting me wrong here. If results of poll decide for OK to meta attribute support, next poll would be which implementation to choose. I can find 3 different implementations that we can choose, but anyone is free to contribute. - Docblock /** @Foo */ class User { ... } - New

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-16 Thread guilhermebla...@gmail.com
global decisions. Cheers, On Tue, Nov 16, 2010 at 3:47 PM, guilhermebla...@gmail.com guilhermebla...@gmail.com wrote: @Chad: You're getting me wrong here. If results of poll decide for OK to meta attribute support, next poll would be which implementation to choose. I can find 3 different

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-16 Thread guilhermebla...@gmail.com
Hi Stas, A full RFC will be written based on results of polls. I'm able to write 10 RFC's, but none will care until we reach this list with a patch. So instead of lose time, I prefer to discuss what can be done here, write an RFC then finally implement it. But without having feedback from core

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-16 Thread guilhermebla...@gmail.com
Hi Stas, Ok, so you think I should just consider everyone want some sort of meta attribute support and start discussing the topics? Should I separate it in different threads or put it all here? The subject is big and I identify at least 5 different discussions that can diverge. Cheers, On Wed,

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) supportdiscussion

2010-11-16 Thread guilhermebla...@gmail.com
that Metadata doesn't have value. What are the 5 different discussion topics you are thinking of, just out of curiosity? Also, I can just post my syntax idea as a gist or pastie or something instead of making an rfc... -Alec On 11/16/2010 9:29 PM, guilhermebla...@gmail.com wrote: Hi Stas, Ok

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-16 Thread guilhermebla...@gmail.com
Hi Gustavo, Normal instantiation cannot be done. Here is a sample where it would fail: new Foo() class User { ... } So it must be something different. []s, On Wed, Nov 17, 2010 at 1:07 AM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: On Wed, 17 Nov 2010 01:54:22 -, Stas Malyshev

[PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-15 Thread guilhermebla...@gmail.com
Hi folks, I'll start a series of topics (in this thread) about meta attribute (aka. Annotations) discussion. So as soon as we agree on each topic I'll open another point to be discussed. Only when we reach some consensus I'll open another topic discussion. I suggest to have a poll for each topic,

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-15 Thread guilhermebla...@gmail.com
of annotations - and there simply isn't. Zeev -Original Message- From: guilhermebla...@gmail.com [mailto:guilhermebla...@gmail.com] Sent: Monday, November 15, 2010 7:08 PM To: PHP internals Subject: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion Hi folks

Re: [PHP-DEV] PHP 5.4 - Meta attribute (aka. Annotations) support discussion

2010-11-15 Thread guilhermebla...@gmail.com
@Will: Patch works perfectly with PHP 5.3. There is just a minor issue related to APC not caching instances. That patch didn't reach a consensus and that's why I opened a different thread to implement a patch based on poll results. Cheers, On Mon, Nov 15, 2010 at 10:55 PM, Will Fitch

Re: [PHP-DEV] PHP 5.4: Annotations

2010-11-01 Thread guilhermebla...@gmail.com
Hi Derick, I'm all for it. Although I have karma, I'm not an active PHP core contributor, but I would like to participate of such discussion, mainly because I have plenty experience with Annotations from another languages. I'll spend some time re-reading the entire Annotations thread and come up

<    1   2   3