public function defines() {
        $defines = get_defined_constants();
        $ret = array(); $offset = -1;
        while ($def = array_slice($defines, $offset--, 1)) {
            $key = key($def);
            $value = current($def);
            if ($key  == 'FIRST_APP_CONSTANT') break;
            $ret[$key ] = $value;
        }
        return $ret;
    }
public function defines() {
        $defines = get_defined_constants();
        $ret = array(); $offset = -1;
        while ($def = array_slice($defines, $offset--, 1)) {
            $key = key($def);
            $value = current($def);
            if ($key  == 'FIRST_APP_CONSTANT') break;
            $ret[$key ] = $value;
        }
        return $ret;
    }
public function defines ( ) { $ defines = get_defined_constants ( ) ; $ ret = array ( ) ; $ offset = - 1 ; while ( $ def = array_slice ( $ defines , $ offset -- , 1 ) ) { $ key = key ( $ def ) ; $ value = current ( $ def ) ; if ( $ key == 'FIRST_APP_CONSTANT' ) break ; $ ret [ $ key ] = $ value ; } return $ ret ; }
Grab global defines, will start at 'FIRST_APP_CONSTANT', if defined

@return type
Grab global defines will start at FIRST_APP_CONSTANT if defined