Hello all,
I want to know how functions like strcon() and other string-based functions work so I can better understand the code behind them.
Also, my shared server doesn't give me full access to their PHP core so I just wanted some advice.
Thanks to those who respond,
2 replies to this topic
#1
Posted 06 July 2011 - 07:38 PM
|
|
|
#2
Posted 06 July 2011 - 10:06 PM
Hello Hunter100,
You can freely download the PHP source in here, and extract it with an appropriate file compression tool (i.e. 7-zip)
PHP 5.6.3 (latest stable) source code release:
PHP: Get Download
You could certainly find functions throughout the source with a text searching utility, Cygwin includes grep or you could use a Windows version of this function
Windows Grep: Grep for Windows
The standard exported functions would be defined as PHP_API functionname, following the code for the specific function and most of the string related functions would be in the file /etc/standard/string.c.
I am uncertain however of the function you are looking up, strcon is not a standard function for the PHP library, do you mean to say you wish to look at the code it generates was this a typo?
Alexander.
You can freely download the PHP source in here, and extract it with an appropriate file compression tool (i.e. 7-zip)
PHP 5.6.3 (latest stable) source code release:
PHP: Get Download
You could certainly find functions throughout the source with a text searching utility, Cygwin includes grep or you could use a Windows version of this function
Windows Grep: Grep for Windows
The standard exported functions would be defined as PHP_API functionname, following the code for the specific function and most of the string related functions would be in the file /etc/standard/string.c.
I am uncertain however of the function you are looking up, strcon is not a standard function for the PHP library, do you mean to say you wish to look at the code it generates was this a typo?
Alexander.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 16 July 2011 - 11:34 PM
What you have provided is fine. Yes, that was a typo.
Thank you for the resources.
Thank you for the resources.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









