summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tests/002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tokenizer/tests/002.phpt')
-rw-r--r--ext/tokenizer/tests/002.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/tokenizer/tests/002.phpt b/ext/tokenizer/tests/002.phpt
index 11b6d9f78e..e711023eef 100644
--- a/ext/tokenizer/tests/002.phpt
+++ b/ext/tokenizer/tests/002.phpt
@@ -6,15 +6,15 @@ token_get_all()
<?php
$strings = array(
- '<?php echo 1; if (isset($a)) print $a+1; $a++; $a--; $a == 2; $a === 2; endif; ?>',
- '<?php switch($a) { case 1: break; default: break; } while($a) { exit; } ?>',
- '<?php /* comment */ if (1 || 2) { } $a = 2 | 1; $b = 3^2; $c = 4&2; ?>',
- /* feel free to add more yourself */
- 'wrong syntax here'
+ '<?php echo 1; if (isset($a)) print $a+1; $a++; $a--; $a == 2; $a === 2; endif; ?>',
+ '<?php switch($a) { case 1: break; default: break; } while($a) { exit; } ?>',
+ '<?php /* comment */ if (1 || 2) { } $a = 2 | 1; $b = 3^2; $c = 4&2; ?>',
+ /* feel free to add more yourself */
+ 'wrong syntax here'
);
foreach ($strings as $s) {
- var_dump(token_get_all($s));
+ var_dump(token_get_all($s));
}
echo "Done\n";