summaryrefslogtreecommitdiff
path: root/test/scanners/php/labels.in.php
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-04-14 23:59:03 +0000
committermurphy <murphy@rubychan.de>2010-04-14 23:59:03 +0000
commit200144dd009d33ff8334be24d0fb2cc91b3a87ab (patch)
treef46c939cd01b8d4165b5d9f3444c20e072b51408 /test/scanners/php/labels.in.php
parent612a14e17bdae5dbb5b13cdceec797523725cbbe (diff)
downloadcoderay-200144dd009d33ff8334be24d0fb2cc91b3a87ab.tar.gz
Moving scanner tests into separate repository. The repository can be reached at http://svn.rubychan.de/coderay-scanner-tests/trunk.
Diffstat (limited to 'test/scanners/php/labels.in.php')
-rw-r--r--test/scanners/php/labels.in.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/scanners/php/labels.in.php b/test/scanners/php/labels.in.php
deleted file mode 100644
index 2839ecd..0000000
--- a/test/scanners/php/labels.in.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-goto a;
-echo 'Foo';
-
-a:
-echo 'Bar';
-?>
-
-<?php
-
-$headers = Array('subject', 'bcc', 'to', 'cc', 'date', 'sender');
-$position = 0;
-
-hIterator: {
-
- $c = 0;
- echo $headers[$position] . PHP_EOL;
-
- cIterator: {
- echo ' ' . $headers[$position][$c] . PHP_EOL;
-
- if(!isset($headers[$position][++$c])) {
- goto cIteratorExit;
- }
- goto cIterator;
- }
-
- cIteratorExit: {
- if(isset($headers[++$position])) {
- goto hIterator;
- }
- }
-}
-?> \ No newline at end of file