Upstream fix: http://git.php.net/?p=php-src.git;a=patch;h=09607226d4d418421119736f8137189efc4602ff
This upstream fix is 5.4 only because it introduce an internal API change, so not acceptable in a stable branch.
Backporting this, in RHEL, will cause a small ABI change which is not expected.
Even with this backported, XDebug will not take benefit of this, as it only use it when build against PHP >= 5.4.
Notice: XDebug is not part of RHEL supported package (only in EPEL), and is a developer tool which shouldn't be enabled on a production server.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
For memory, php-pecl-xdebug-2.1.4-2 (in EPEL) will take benefit of this change.