]> granicus.if.org Git - php/commit
Fixed name resolution
authorDmitry Stogov <dmitry@php.net>
Wed, 22 Aug 2007 07:39:37 +0000 (07:39 +0000)
committerDmitry Stogov <dmitry@php.net>
Wed, 22 Aug 2007 07:39:37 +0000 (07:39 +0000)
commit046b878b5bb997db890274f9f1ea804c2106ec80
treee2ba6014dae0e26d2c54b30aac37923bd86d17c8
parent11e267f6191e4c78fd45e156ed5e9046e9cbd622
Fixed name resolution
  namespace A;
    B::foo(); // 1. this is function "foo" from namespace "B"
              // 2. this is static method "foo" of class "B" from namespace "A"
              // 3. this is static methos "boo" of internal class "B"
  namespace A;
    A::foo(); // 1. this is function "foo" from namespace "A"
              // 2. this is static method "foo" of class "A" from namespace "A"
              // 3. this is static methos "foo" of internal class "A"
Zend/tests/ns_021.phpt
Zend/tests/ns_026.phpt
Zend/zend_compile.c
Zend/zend_execute_API.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h