mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +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.
13 lines
204 B
PHP
13 lines
204 B
PHP
--TEST--
|
|
Use conflicts should not occur across files
|
|
--FILE--
|
|
<?php
|
|
|
|
require __DIR__ . '/use_no_file_conflict_1.inc';
|
|
require __DIR__ . '/use_no_file_conflict_2.inc';
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|