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. The

[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 rid

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 [2], but

[PHP-DEV] Static method call syntax on objects

2011-08-10 Thread Sebastian Bergmann
Is this exepcted behaviour? ➜ ~ cat test.php ?php class Foo { public static function bar() { print __METHOD__ . \n; } } $foo = new Foo; $foo::bar(); ➜ ~ php test.php Foo::bar I, for one, was surprised that this does what it does with PHP

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

2011-08-10 Thread Kalle Sommer Nielsen
Hi Sebastian 2011/8/10 Sebastian Krebs sebastian.krebs.ber...@googlemail.com: 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

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 ?php class Foo { public static function bar() { print __METHOD__ . \n; } } $foo = new Foo; $foo::bar(); ➜ ~ php test.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 smalys...@sugarcrm.com wrote: Hi! On 8/10/11 1:12 PM, Sebastian Bergmann wrote:   Is this exepcted behaviour?     ➜  ~  cat test.php     ?php     class Foo {         public static function bar() {             print __METHOD__ . \n;  

[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] Property get/set syntax

2011-08-10 Thread André Rømcke
On Wed, Aug 10, 2011 at 10:16 PM, Kalle Sommer Nielsen ka...@php.netwrote: Hi Sebastian 2011/8/10 Sebastian Krebs sebastian.krebs.ber...@googlemail.com: 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

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