- New test

This commit is contained in:
Felipe Pena 2008-06-11 22:40:56 +00:00
parent ecbecbc60b
commit 61f82b7b2f

10
Zend/tests/bug45147.phpt Normal file
View File

@ -0,0 +1,10 @@
--TEST--
Bug #45147 (unexpected T_ENDFOR)
--XFAIL--
http://bugs.php.net/bug.php?id=45147
--FILE--
<?php for ($i = 0; $i == 0; $i++): ?>
<?php if (true): ?>#<?php else: ?>#<?php endif; ?>
<?php endfor; ?>
--EXPECT--
#