Re: [PHP-DEV] [RFC] Line markers in PHP

2011-08-10 Thread Nikita Popov
In my eyes this change isn't necessary and if it is, not with this syntax. First the syntax: PHP is not C, we do not have preprocessing instructions using hash notation. Such a syntax seems unfamiliar in PHP. Additionally # is already used for single line comments so there's actually is no backwar

Re: [PHP-DEV] Property get/set syntax

2011-08-10 Thread André Rømcke
On Wed, Aug 10, 2011 at 10:16 PM, Kalle Sommer Nielsen wrote: > Hi Sebastian > > 2011/8/10 Sebastian Krebs : > > Hi, > > > > From time to time I'm looking over the existing RFCs and I'm wondering > what > > happens to them. For example "Property get/set syntax" [1]. As far as I > can > > see its a

[PHP-DEV] [RFC] Line markers in PHP

2011-08-10 Thread Gwynne Raskind
I've just created a new RFC, https://wiki.php.net/rfc/linecontrol , regarding adding cpp(1)'s linemarkers to PHP. Discussion is invited. -- Gwynne -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Static method call syntax on objects

2011-08-10 Thread Etienne Kneuss
Hello, On Wed, Aug 10, 2011 at 22:20, Stas Malyshev wrote: > Hi! > > On 8/10/11 1:12 PM, Sebastian Bergmann wrote: >> >>   Is this exepcted behaviour? >> >>     ➜  ~  cat test.php >>     >     class Foo { >>         public static function bar() { >>             print __METHOD__ . "\n"; >>        

Re: [PHP-DEV] Static method call syntax on objects

2011-08-10 Thread Stas Malyshev
Hi! On 8/10/11 1:12 PM, Sebastian Bergmann wrote: Is this exepcted behaviour? ➜ ~ cat test.php This is how FETCH_CLASS works now - when it has an object in where it expects class name, it uses object's class. We could call toString() instead but that might be even more surpri

Re: [PHP-DEV] Property get/set syntax

2011-08-10 Thread Kalle Sommer Nielsen
Hi Sebastian 2011/8/10 Sebastian Krebs : > Hi, > > From time to time I'm looking over the existing RFCs and I'm wondering what > happens to them. For example "Property get/set syntax" [1]. As far as I can > see its already accepted for PHP6 [2], but now it seems to be orphaned. In > my opinion it

[PHP-DEV] Static method call syntax on objects

2011-08-10 Thread Sebastian Bergmann
Is this exepcted behaviour? ➜ ~ cat test.php http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Property get/set syntax

2011-08-10 Thread Paul Dragoonis
On Wed, Aug 10, 2011 at 8:05 PM, Sebastian Krebs < sebastian.krebs.ber...@googlemail.com> wrote: > Hi, > > From time to time I'm looking over the existing RFCs and I'm wondering what > happens to them. For example "Property get/set syntax" [1]. As far as I can > see its already accepted for PHP6 [

[PHP-DEV] Property get/set syntax

2011-08-10 Thread Sebastian Krebs
Hi, From time to time I'm looking over the existing RFCs and I'm wondering what happens to them. For example "Property get/set syntax" [1]. As far as I can see its already accepted for PHP6 [2], but now it seems to be orphaned. In my opinion it is a very nice enhancement, that helps to get ri

Re: [PHP-DEV] [VOTE] Error message formatting for development

2011-08-10 Thread Derick Rethans
On Wed, 3 Aug 2011, Derick Rethans wrote: > The RFC and patch can be found here: > https://wiki.php.net/rfc/error-formatting-for-developers > > You can vote here: > https://wiki.php.net/rfc/error-formatting-for-developers#vote Voting is now closed and the RFC was accepted 16 for and 0 against. T