[PHP-DEV] Zend/acinclude.m4: exclude bison 3.0

2013-09-17 Thread Michael Wallner
Hi! Could someone grant me Zend karma, or apply attached patch to master, please? Thank you. -- Regards, Mike diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4 index fe3ab63..7fa8c99 100644 --- a/Zend/acinclude.m4 +++ b/Zend/acinclude.m4 @@ -9,7 +9,7 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[ #

Re: [PHP-DEV] PHP CLI setting cooked terminal mode

2013-09-17 Thread Michael Wallner
On 16 September 2013 22:17, Edward Z. Yang ezy...@mit.edu wrote: I've seen something similar on Debian; it might be a patch that your distro is shipping on top of PHP. Nope, I reviewed the Debian PHP patches the other day. -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] PHP CLI setting cooked terminal mode

2013-09-17 Thread Michael Wallner
On 17 September 2013 02:27, Alain Williams a...@phcomp.co.uk wrote: I have done a bit of digging and suspect that this happens as part of readline initialisation. That might very well be it. -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] PHP CLI setting cooked terminal mode

2013-09-17 Thread Remi Collet
Le 17/09/2013 02:27, Alain Williams a écrit : I have done a bit of digging and suspect that this happens as part of readline initialisation. +1 phpinfo() reports: --without-readline but then: Please... don't rely, for distro packaged PHP on configure option listed in phpinfo report [1].

Re: [PHP-DEV] Support for keywords where possible

2013-09-17 Thread Daniel Convissor
Hi Bob: I tried to widen the naming possibilities by allowing to use keywords as identifiers (for function names, class names, label (goto) names, ...) where possible. Thank you for putting energy in to enhancing PHP. That said, implementing this particular proposal will make code harder to

Re: [PHP-DEV] Support for keywords where possible

2013-09-17 Thread Bob Weinand
Am 17.9.2013 um 16:27 schrieb Daniel Convissor dani...@analysisandsolutions.com: Hi Bob: I tried to widen the naming possibilities by allowing to use keywords as identifiers (for function names, class names, label (goto) names, ...) where possible. Thank you for putting energy in to

Re: [PHP-DEV] Support for keywords where possible

2013-09-17 Thread Igor Wiedler
Hi Bob, Thanks for working on this. The amount of reserved keywords in PHP is quite large and I've experienced many cases where it would have been useful to use them. Especially when implementing a DSL, parser, code generator (quite common use case with template engines, and various other

Re: [PHP-DEV] Support for keywords where possible

2013-09-17 Thread Marco Pivetta
On 17 September 2013 16:43, Bob Weinand bobw...@hotmail.com wrote: You could also argue that the current $obj-default; (that's already possible) is also bad. Yep, and should probably be removed. It's still there because of BC compatibility as far as I know... Marco Pivetta

Re: [PHP-DEV] Withdrawn ircmaxell RFCs

2013-09-17 Thread Andrea Faulds
On 17/09/2013 00:14, Pierre Joye wrote: Not really, and just take what you wish. I have a wiki account and I can edit RFCs. Could I edit, say, the Function Autoloading one to non-Withdrawn and add myself to the Authors, then announce it here? Thanks! -- Andrea Faulds http://ajf.me/ --

Re: [PHP-DEV] Withdrawn ircmaxell RFCs

2013-09-17 Thread Pierre Joye
On Tue, Sep 17, 2013 at 8:46 AM, Andrea Faulds a...@ajf.me wrote: On 17/09/2013 00:14, Pierre Joye wrote: Not really, and just take what you wish. I have a wiki account and I can edit RFCs. Could I edit, say, the Function Autoloading one to non-Withdrawn and add myself to the Authors, then

[PHP-DEV] Getting SG(request_info).post_data/raw_post_data on master branch?

2013-09-17 Thread Yasuo Ohgaki
Hi all, SG(request_info).post_data/raw_post_data is removed and modules supposed to read it from stream on master. Therefore, I tried to read stream at RINIT in a module as follows, php_stream_rewind(SG(request_info).request_body); php_stream_copy_to_mem(SG(request_info).request_body,

Re: [PHP-DEV] Getting SG(request_info).post_data/raw_post_data on master branch?

2013-09-17 Thread Andrea Faulds
On 17/09/2013 20:17, Yasuo Ohgaki wrote: What is the best way of getting SG(request_info).post_data and SG(request_info).raw_post_data with master branch? I would like to get post_data/raw_post_data at runtime also. Googling PHP raw POST data gets me this: $HTTP_RAW_POST_DATA - Is that what

Re: [PHP-DEV] Getting SG(request_info).post_data/raw_post_data on master branch?

2013-09-17 Thread Yasuo Ohgaki
Hi Andrea, On Wed, Sep 18, 2013 at 4:21 AM, Andrea Faulds a...@ajf.me wrote: On 17/09/2013 20:17, Yasuo Ohgaki wrote: What is the best way of getting SG(request_info).post_data and SG(request_info).raw_post_data with master branch? I would like to get post_data/raw_post_data at runtime

Re: [PHP-DEV] Getting SG(request_info).post_data/raw_post_data on master branch?

2013-09-17 Thread Andrea Faulds
On 17/09/2013 20:28, Yasuo Ohgaki wrote: I'm questioning about getting the data inside PHP with new code in master branch, not in user script. Oops, how silly of me. I must be tired if I thought that was PHP code. Apologies. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime

Re: [PHP-DEV] [RFC] Keywords as identifiers

2013-09-17 Thread Stuart Langley
Hi Bob, It seems that the RFC does not [i'm quoting here from the template at ' https://wiki.php.net/rfc/template'] explain hows the proposal brings * substantial* value to be considered for inclusion in one of the world's most popular programming languages. Perhaps I'm missing something

Re: [PHP-DEV] [RFC] Keywords as identifiers

2013-09-17 Thread Matthew Leverton
On Tue, Sep 17, 2013 at 7:50 PM, Stuart Langley slang...@google.com wrote: To be honest, looking at the example in the RFC, being able to define a member function 'new' on a class that completely changes the semantics of the new operator is a great example of why you would not want this