summaryrefslogtreecommitdiff
path: root/Zend/tests/duplicate_label_error.phpt
blob: c89d7a69913caefd6acbc681cb822d01398788f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Duplicate labels are not allowed
--FILE--
<?php

foo:
foo:
goto foo;

?>
--EXPECTF--
Fatal error: Label 'foo' already defined in %s on line %d