zendframework/zf2 — pull request #5880 by spiffyjr (2014-02-27 15:10:10+00:00)
Title: Updated PhpArray to expand paths using __DIR__

When using Apigility config files with __DIR__ are var_exported causing the real path to be written instead. This is an issue for development/production setups where the directory may vary from server to server. This change just does a str_replace on the path of the file being written with the __DIR__ constant.