php/php-src — pull request #35 by reeze (2012-04-03 05:55:31+00:00)
Title: Implemented FR #61602 Allow access to name of constant used as default v...

Feature request from: https://bugs.php.net/bug.php?id=61602

Hi , I've impled this FR, it differs from pierrick's :

- rename defaultValueIsConstant to isDefaultValueConstant to match bool return values's is* method naming.
- handle global constant.
- refactor code to remove duplicate.
- add 3 tests file for it.

and I've make test everything looks fine.

thanks.