how we can see the contents such as mysql_query() functions ?
How to write similar function with php?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To see the source of the PHP function, you would have to download the source and look at the files and folders in the "ext" folder. PHP is written in C. You could write your own extensions in C and compile them in to PHP.
You can write your own PHP function, in PHP, like this:
For more information, see http://php.net/manual/en/language.functions.php.