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

Merged
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
    #50)
    
    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.