mirror of
https://github.com/php/php-src.git
synced 2024-12-22 00:10:16 +08:00
2a75f5026a
This a partial backport of 8754b19
. It
a) fixes the class/function/constant import table confusion in the
namespaced case, and
b) restricts conflict checks to a single file based on a filename
pointer comparison.
It does not fix the issues with filename reuse (e.g. due to eval)
and late-bound classes. This part of the change requires globals
changes.
5 lines
33 B
PHP
5 lines
33 B
PHP
<?php
|
|
|
|
namespace Foo;
|
|
class A {}
|