Find Jobs
Hire Freelancers

PHP Problem

$5-10 USD

Cancelled
Posted over 16 years ago

$5-10 USD

Paid on delivery
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.
Project ID: 3633272

About the project

2 proposals
Remote project
Active 16 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $8 USD for this job
User Avatar
See private message.
$6.80 USD in 7 days
4.7 (5 reviews)
4.1
4.1
User Avatar
See private message.
$8.50 USD in 7 days
3.9 (9 reviews)
3.2
3.2

About the client

Flag of AUSTRALIA
Australia
0.0
0
Member since Apr 3, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.