mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- New test
This commit is contained in:
parent
47bce7e311
commit
cda2b20ae9
1 changed files with 10 additions and 0 deletions
10
Zend/tests/bug45147.phpt
Normal file
10
Zend/tests/bug45147.phpt
Normal 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--
|
||||||
|
#
|
Loading…
Add table
Add a link
Reference in a new issue