Treat global constant declared using const keyword as global and not class constant #57

merged 1 commit into from Nov 22, 2011
Commits on Aug 20, 2011
  1. Distinguish between const keyword used inside class definition and not (

    tetsuo13 committed Aug 20, 2011
    PHP 5.3.0 introduced behavior of using const keyword in place of define() for
    global constants. token_get_all() still treats it as a class constant however.