PHP 4.0 Bug #5350 Updated: call_function("function_name", array args); ala execv()

From: Date: Tue, 04 Jul 2000 13:02:07 +0000
Subject: PHP 4.0 Bug #5350 Updated: call_function("function_name", array args); ala execv()
Groups: php.dev 
Request: Send a blank email to php-dev+get-23307@lists.php.net to get a copy of this message
ID: 5350 User Update by: drago@0x00.org Status: Feedback Bug Type: Feature/Change Request Description: call_function("function_name", array args); ala execv() I am looking to use this with existing PHP functions, not user space ones. Specifically I would like to use this with ibase_execute() for the bindings. I am writting a little database wrapper and I need to be able to do... $res=DB("select * from Foo where bar=?", $reallygeeky); and that arg list is of variable length so I want to be able to do my custom stuff in DB() then toss the args in an array and call ibase_execute. I have it working as it is, but it is ugly. Right now I am building up eval() code and having it return the resource into a global var. Its ugly :) Would be much easier if I could just build up an array and call call_function("ibase_execute", $theargs); Full Bug description available at: http://bugs.php.net/?id=5350

« previous php.dev (#23307) next »