Re: [PHP-DEV] fgetcsv() conclusion

2003-12-21 Thread Moriyoshi Koizumi
On 2003/12/22, at 3:12, Ilia Alshanetsky wrote: 1) Leave things they way they are now, giving everyone a partial support for multibyte string in fgetcsv() and 2-3 performance decrease in all instances. Of course this is my choice. 3) Put the php_mblen macro in php_string.h inside ifdef HAVE_MBS

[PHP-DEV] CVS Account Request: kennyt

2003-12-21 Thread Ken Tossell
I'd like to help document php5, as well as maintain the current php4-related tree. derek at php dot net sent me to the cvs request page. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] error_handler

2003-12-21 Thread Andi Gutmans
Why not make the default catch-all as E_ALL and add to the documentation that the new E_STRICT option needs to be turned on explicitly? It's not as if the PHP 4 manual is the bible and you wouldn't break BC. Or am I missing something again? Andi At 09:30 PM 12/21/2003 +0100, Christian Schneide

Re: [PHP-DEV] Extending PHP with sandbox capability ?

2003-12-21 Thread Wez Furlong
A real sandbox mechanism is not likely to be implemented, at least, not for a very long time. Having needed something like this myself for a commercial project in the past, I settled on a "user-space sandbox" using the tokenizer extension to parse the code and filter out unsafe functions, rewrite

Re: [PHP-DEV] error_handler

2003-12-21 Thread Christian Schneider
Derick Rethans wrote: By browsing over it it seems that this patch looks wrong, as you forgot to add E_STRICT to E_ALL in line 944 and it would also be better to use zend_parse_parameters. Thanks for your help on improving the patch. I used E_ALL because that's what was proposed by people here on

Re: [PHP-DEV] Extending PHP with sandbox capability ?

2003-12-21 Thread Christian Schneider
ing.Martin Prásek wrote: Know that, but when you _need_ it ? It would have to be safe. Really safe. And I doubt that you could do it without a lot of work. Especially from module maintainers. More than can be put into it without delaying PHP5 another year. PHP5 have integrated tidy so let thi

[PHP-DEV] fgetcsv() conclusion

2003-12-21 Thread Ilia Alshanetsky
It's been a few days since the last comments regarding the fgetcsv() in PHP 5.0 and I think it would be an opportune time to decide on a solution for the problem. Based on the various commentary we appear to have 3 alternatives that for better or worse would resolve the situation. 1) Leave thin

Re: [PHP-DEV] Extending PHP with sandbox capability ?

2003-12-21 Thread ing . Martin Prásek
- Puvodní zpráva - Od: "Christian Schneider" <[EMAIL PROTECTED]> Komu: "Lukas Smith" <[EMAIL PROTECTED]> Kopie: "'ing.Martin Prá¹ek'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Odesláno: 20. prosince 2003 19:28 Predmet: Re: [PHP-DEV] Extending PHP with sandbox capability ? > Lukas Smith

Re: [PHP-DEV] error_handler

2003-12-21 Thread Derick Rethans
On Sat, 20 Dec 2003, Christian Schneider wrote: > Andi Gutmans wrote: > > Anyway, I very strongly feel that an additional optional argument to > > set_error_handler() is the right way to go. > > > > Let's go this way! > > A patch for PHP5 accomplishing this can be found at: > http://cschneid.com/p

Re: [PHP-DEV] error_handler

2003-12-21 Thread Christian Schneider
Christian Schneider wrote: A patch for PHP5 accomplishing this can be found at: http://cschneid.com/php/php5/set_error_handler_reporting_parameter.patch I updated the patch to keep a stack of the error_reporting level so restore_error_handler works as expected. - Chris -- PHP Internals - PHP Run