Where can I find in the PHP source files where there is an internal function code like is_string ()?
I've already downloaded the source and I think the code is_string()
is in somewhere ext/standard/
, but I'm not sure.
+3
Lawrence
source
to share
1 answer
internal / standard / type.c
You can also find it online:
http://git.php.net/?p=php-src.git&a=search&h=HEAD&st=grep&s=%28is_string%29
Edit to add: You can find another version by replacing the h key, for example: h = refs% 2Fheads% 2FPHP-5.6.31
PHP5 uses fewer macros than PHP7, so it looks more like regular C.
+7
jh1711
source
to share