Where is the source code for strlen() function in PHP?
问题 I was looking through php-src/Zend/zend_API.c and couldn't find the source code for the strlen() function in PHP anywhere. Grepping through the code base didn't really help as it's littered with libc strlen everywhere. Googling doesn't much help either. I tried using the Vulcan Logic Dumper extension to inspect what's going on under the hood. I tried the following code as a test: <?php strlen("foo"); strpos("foo", "f"); This is what I got: Finding entry points Branch analysis from position: 0