summaryrefslogtreecommitdiff
path: root/Zend/tests/use_no_eval_conflict.phpt
blob: cf9014b77d5e277245e550ba8231cade333b12ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Use conflicts should not occur across eval()s
--FILE--
<?php

/* It is important that these two eval()s occur on the same line,
 * as this forces them to have the same filename. */
eval("class A {}"); eval("use Foo\A;");

?>
===DONE===
--EXPECT--
===DONE===