]> granicus.if.org Git - php/commit
Small cleanup in class name resolution of compiler
authorNikita Popov <nikic@php.net>
Fri, 13 Sep 2013 10:18:39 +0000 (12:18 +0200)
committerNikita Popov <nikic@php.net>
Fri, 13 Sep 2013 10:18:39 +0000 (12:18 +0200)
commitef9e003b0c30e704073f125632e916e927363426
tree0a07a050fa595d115eb3ff6bb167ab62a26dc112
parent5350b9957a6c4b4e4cb1cdcd9f887a7812ef664f
Small cleanup in class name resolution of compiler

 * The fetch_type and check_ns_name parameters of
   zend_resolve_class_name were unused and are now removed.
 * ZEND_FETCH_CLASS_GLOBAL is no longer used (no code actually
   checking for it).
 * The checks for usage of "namespace" as class name were
   unnecessary as that situation can't occur anyways.
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_language_parser.y