Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zend-loader] refactor broken resolvePharParentPath static method
(which never worked properly anyway because of that `if ($value !== '...') return` condition) into an inline foreach loop which discards '..' values from path parts array, in a way that also previous part is discarded when '..' is found. This also fixes `Zend_Loader_ClassMapAutoloader::resolvePharParentPath(): Argument #3 ($parts) must be passed by reference, value given` error on php8.
- Loading branch information