Re: [PHP-DEV] PHP taint support updated

2008-01-31 Thread Mark van der Velden
Wietse Venema wrote: I've uploaded a new version of taint support for PHP. You can find all the files via: ftp://ftp.porcupine.org/pub/php/index.html [..] For examples and details, see the README file, also on-line at:

Re: [PHP-DEV] PHP taint support updated

2008-01-31 Thread Wietse Venema
Mark van der Velden: And how does this work with the Filter ( http://docs.php.net/filter ) extension ? SQL, HTML, shell, etc. have different quoting mechanisms. Taint support can check whether the required quoting mechanism is used, and is not limited to input from the web client.

Re: [PHP-DEV] nowdocs again

2008-01-31 Thread Wietse Venema
Stefan Walk: [ Charset ISO-8859-1 unsupported, converting... ] On Wednesday 30 January 2008 20:52:40 Stanislav Malyshev wrote: I don't think the 'FOO' syntax is very obvious either, but I can't think of a better one and if there isn't a commonly known syntax we can steal from another

[PHP-DEV] [patch] zend_call_method_with_N_params()

2008-01-31 Thread Masaki Fujimoto
hello marcus, after a long interval, I've restarted to hack PHP and ZE again, and I found that zend_call_method could take only 2 args at most...(I just wanted to call methods w/ 3 or more args in my extensions:) I think we can easily rewrite this w/ va_list, and since most of the extensions are

Re: [PHP-DEV] [patch] zend_call_method_with_N_params()

2008-01-31 Thread Marcus Boerger
Hello Masaki, unfortunately we cannot use any C99 extension and must stick to C89. Also I do not really see a reason to use ... in the actual function definition. The reason for the way the function is written, is to avoid using emalloc. Now, we can probably live with up to four parameters for

Re: [PHP-DEV] BC break with callbacks in 5.3

2008-01-31 Thread Greg Beaver
Marcus Boerger wrote: Hello Scott, actually it was a bug. We, sorry I, did not spot this in earlier versions. Now saying you rely on a bug in PHP 5 to be able to execute PHP 4 code simply does not work. Hi Marcus, How is forcing users to replace call_user_func(array('Classname', 'func'))

Re: [PHP-DEV] BC break with callbacks in 5.3

2008-01-31 Thread Rasmus Lerdorf
Greg Beaver wrote: Marcus Boerger wrote: Hello Scott, actually it was a bug. We, sorry I, did not spot this in earlier versions. Now saying you rely on a bug in PHP 5 to be able to execute PHP 4 code simply does not work. Hi Marcus, How is forcing users to replace

[PHP-DEV] Compiling PHP for ARM ELF

2008-01-31 Thread Alex Gailey-White
Hi all, I am having absolutly no luck at all compiling for ARM (specifically ARM-ELF, later to a BFLT (Binary flat file)), if anyone knows a site with details on the specifics to setting the compile flags etc, I'd really appreciate it. Regards, Alex. -- PHP Internals - PHP Runtime

[PHP-DEV] any additional info needed?

2008-01-31 Thread Gregory Beaver
Hi Andi, Some things not in the docs that might be useful in your playing with phar: 1) webPhar()'s front controller currently operates on absolute uri for finding the file requested. http://localhost/myphar.phar/blah/blah.php/otherstuff will look for blah/blah.php/otherstuff in myphar.phar. We

Re: [PHP-DEV] [patch] zend_call_method_with_N_params()

2008-01-31 Thread Masaki Fujimoto
it seems really unfortunate...:) but I understand your reasons, and then I'm looking forward to fixes in 5.3 or 6. thank you! Marcus Boerger wrotes: Hello Masaki, unfortunately we cannot use any C99 extension and must stick to C89. Also I do not really see a reason to use ... in the actual