optimize path length retrieval
fix type
Remove redundant codes
Merge branch 'master' of https://git.php.net/repository/php-src
fix condition
fix type
fix signature
fix initializer struct