Re: [PHP-DEV] call_user_function wrong number of parameters?

2004-04-29 Thread Marcus Boerger
Hello Bill, Thursday, April 29, 2004, 7:26:49 AM, you wrote: > (Win XP Pro, PHP 5 RC 1, Visual C++ .NET) > Hi, > I'm trying to create an extension which calls a function defined in a PHP > script. The name of this function is "someFunction". > My code is here: > zval **params[2], *func_name,

[PHP-DEV] Re: call_user_function wrong number of parameters?

2004-04-29 Thread Christian Schneider
Bill Zeller wrote: if (call_user_function(CG(function_table), NULL, func_name,&retval_ptr, 2,params) == SUCCESS) { ZEND_API int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] TSRMLS_DC); Without having a l

[PHP-DEV] exceptions in overloaded objects still a little off

2004-04-29 Thread Wez Furlong
If a read_dimension handler returns a NULL zval and throws an exception, the engine will emit an error "Objects used as arrays in post/pre increment/decrement must return values by reference". $foo['bar'] = 42; I know this is because the value is going to be written into, but IMO it's better to f

[PHP-DEV] CVS Account Request: mortalan

2004-04-29 Thread Marco Jahn
Translating the documentation both pear and php itself -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] CVS Account Request: mortalan

2004-04-29 Thread Jacques Marneweck
Hi Marco, Which languages would you be translating the documentation into? Regards --jm -Original Message- From: Marco Jahn [mailto:[EMAIL PROTECTED] Sent: 29 April 2004 04:59 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] CVS Account Request: mortalan Translating the documentation both

[PHP-DEV] CVS Account Request: iridium

2004-04-29 Thread Peter Waller
Referred by aidan - helping out with PEAR Net_GameServerQuery class. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Repost - Adding Output Filters w/ Apache2 Handler SAPI

2004-04-29 Thread Edward Rudd
Woohoo! This is an awesome patch.. I hope it gets accepted into PHP proper. On Mon, 26 Apr 2004 11:33:48 +0300, Andi Gutmans wrote: > Can you please give an example on how this can be used? > I am using it in a PHP web app I am writing where I am generating XML output and running it through an

Re: [PHP-DEV] [PATCH] Repost - Adding Output Filters w/ Apache2 Handler SAPI

2004-04-29 Thread Jevon Wright
What if you extended this to cover PHP in general - you could make your PHP always generate XML data and then with add_output_filter(proprietary string or callback function) you could make PHP transform the output at the end of the script execution (possibly multiple times). I know a lot of develop