Re: [PHP-DEV] Re: New Operator

2006-03-15 Thread bertrand Gugger
Brian Moon wrote: Oh, you want an operator to do that? Does some other language have this that we are wanting to copy here? Seems overly complicated to me. But, so does a lot of things being added PHP these days. As bash ${parameter:=word} ? -- toggg -- PHP Internals - PHP Runtime

Re: [PHP-DEV] PHP Embedded

2006-03-15 Thread Mark Evans
HI Michael I have made an unaccepted php_embed extension available at http://www.badcode.be/~descript/PHP/php_embed/ Take a look at the example : http://www.badcode.be/~descript/PHP/php_embed/examples/pembed_new.c I use this part of code on my software with C++ If you have questions ...

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS

2006-03-15 Thread Stefan Walk
Pierre wrote: On Tue, 14 Mar 2006 07:32:15 -0800 [EMAIL PROTECTED] (Andi Gutmans) wrote: Yeah that sounds good. Maybe change UPDATE to UPDATING First draft commited in: php-src / README.UPDATING_TO_PHP6 --Pierre Hi, A few remarks: This code lacks the emulation for GET

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Ilia Alshanetsky
I'd consider it for PHP6, but not for PHP5.1 at least not at this time. Ilia Kevin Waterson wrote: Addition of line numbering to phps This is a rather simple addition and will be benificial to all who use phps for debugging and/or displaying code. Its a simple diff to zend_highlight.c Patches

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Johannes Schlueter
Hi Ilia et al., the patch is older than PHP 6 and back then there was nobody interested in committing it so it wasn't brought to HEAD, yet. But I'll do that if the patch itself is being accepted. johannes On Wednesday 15 March 2006 15:46, Ilia Alshanetsky wrote: I'd consider it for PHP6, but

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Pierre
On 3/15/06, Ilia Alshanetsky [EMAIL PROTECTED] wrote: I'd consider it for PHP6, but not for PHP5.1 at least not at this time. I'm definitively for having it in php6. For 5.x, if there is a 5.2, then it could be in too. --Pierre -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Florian Anderiasch
Kevin Waterson schrieb: Addition of line numbering to phps This is a rather simple addition and will be benificial to all who use phps for debugging and/or displaying code. Its a simple diff to zend_highlight.c Hello Kevin, I haven't tested this - but if phps output is numbered, it will be

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Florian Anderiasch
arg, I'm wrong - ignore me please -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Aizat Faiz
How about including the patch, and having a php.ini option to enable/disable the line numbering. Kevin Waterson wrote: Addition of line numbering to phps This is a rather simple addition and will be benificial to all who use phps for debugging and/or displaying code. Its a simple diff to

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Derick Rethans
On Wed, 15 Mar 2006, Aizat Faiz wrote: How about including the patch, and having a php.ini option to enable/disable the line numbering. NO more ini settings please... and definitely not for something trivial as this. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no |

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Sean Coates
Patches have been written and languish simply awaiting inclusion in HEAD Johannes' method (olli.../li.../ol) doesn't copy paste well in FireFox 1.5 -- you might consider this a FF problem, but in any case, line numbers are pasted, so this is really a pain for sharing code. Until a good method

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Lukas Smith
Ilia Alshanetsky wrote: I'd consider it for PHP6, but not for PHP5.1 at least not at this time. what exactly is the big deal with adding a new optional parameter? i dont really see the huge impact that should push this feature back to the next major php version. its something that could go

[PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Rasmus Lerdorf
Our default config has both auto_globals_jit and register_argc_argv enabled. However, having register_argc_argv enabled disables auto_globals_jit which carries a really high WTF factor. We can fix this by shuffling things around a bit and making 2 calls to php_build_argv. One to populate

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Lukas Smith
Lukas Smith wrote: Ilia Alshanetsky wrote: I'd consider it for PHP6, but not for PHP5.1 at least not at this time. what exactly is the big deal with adding a new optional parameter? i dont really see the huge impact that should push this feature back to the next major php version. its

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Rasmus Lerdorf
Dmitry Stogov wrote: Hi Rasmus, Why you need register_argc_argv in your php.ini? Isn't CLI version sets it by default? I don't really. My point was that it defaults to be on, so when you don't have a php.ini and just stick with the defaults, you will never get jit even though phpinfo will

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Dmitry Stogov
Hi Rasmus, Why you need register_argc_argv in your php.ini? Isn't CLI version sets it by default? Also, do we need this register_argc_argv for some SAPI except CLI, CGI and EMBED? Dmitry. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15,

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Dmitry Stogov
Understood. The patch is in attachment. Thanks. Dmitry. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 7:44 PM To: Dmitry Stogov Cc: 'internals' Subject: Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Rasmus Lerdorf
Dmitry Stogov wrote: Understood. The patch is in attachment. Looks good. I'll run some tests. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] phps line numbering

2006-03-15 Thread Jared Williams
Patches have been written and languish simply awaiting inclusion in HEAD Johannes' method (olli.../li.../ol) doesn't copy paste well in FireFox 1.5 -- you might consider this a FF problem, but in any case, line numbers are pasted, so this is really a pain for sharing code.

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Kevin Waterson
This one time, at band camp, Aizat Faiz [EMAIL PROTECTED] wrote: How about including the patch, and having a php.ini option to enable/disable the line numbering. I dont think this is a good option, perhaps some other trigger file.phps?numbers or something Kevin -- Democracy is two wolves

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Matthew C. Kavanagh
That other time, at band camp, Kevin Waterson wrote: This one time, at band camp, Aizat Faiz [EMAIL PROTECTED] wrote: How about including the patch, and having a php.ini option to enable/disable the line numbering. I dont think this is a good option, perhaps some other trigger

[PHP-DEV] CVS Account Request: mattes

2006-03-15 Thread Matthias Esken
I'm just working on the german documentation of Smarty. I sent the first diff to messju and he seemed to like it and told me to apply for an own CVS account. At the moment I need write access to smarty/docs/de which will be handled by monte if I got the information right. -- PHP Internals -

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Markus Fischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Jared Williams wrote: Replacing the list, with divs and using css generated content to display the line numbers, cleans up the paste output but won't get ... and doesn't work in IE. So no real win here. The semantic solution would be to use

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Dmitry Stogov
Le me know about results of your tests. Then I probably will commit it. Dmitry. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:40 PM To: Dmitry Stogov Cc: 'internals' Subject: Re: [PHP-DEV] auto_globals_jit and

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Pierre
On Wed, 15 Mar 2006 20:28:11 +0300 [EMAIL PROTECTED] (Dmitry Stogov) wrote: Understood. The patch is in attachment. Not here, .txt? --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php