Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Dynamically access array elements at arbitrary nesting depth. http://thehighcastle.com/blog/38/php-…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
PHP code for dynamically accessing array elements at arbitrary nesting depth. This code is not meant for production, it's for illustrative purposes only. The whole point is that it shouldn't be necessary to create user-defined code to have access to this functionality. See http://thehighcastle.com/blog/38/php-dynamic-access-array-elements-arbitrary-nesting-depth. Since this code is for illustration only, the MapPath class relies on array_get_path().