I have a problem with some php code. I need a list of all the predefined functions that the following code would work with 100% of the time and a list of the functions that it fails with. Very simple job, just very time consuming. function newFunction() { $parameters = array(); for( $i = 0; $i < func_num_args(); $i++ ) $parameters[] = func_get_arg($i); return call_user_func_array('PREDEFINEDFUNCTIONGOESHERE', &$parameters); } PREDEFINEDFUNCTIONGOESHERE(Normal input goes here); /* The above line must work identical to the below line*/ newFunction(Normal input goes here); And example of a predefined function that the above does NOT work for is the sort() function. An example of a predefined function that works identically is chr. function newFunction() { $parameters = array(); for( $i = 0; $i < func_num_args(); $i++ ) $parameters[] = func_get_arg($i); return call_user_func_array('chr', &$parameters); } echo chr(100); /* The above line must work identical to the below line*/ echo newFunction(100); notice that they do the exact same job in the above code. I hope this has been clear to what I want. I'm mainly after the generated white list of functions but the functions that dont work would also be handy. Here is a list of all the php functions for conveinence. [login to view URL] Thanks
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
php, all operating systems.