Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/php-static-scanner-instrumentalization.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/nikic/php-parser/test/code/prettyPrinter/stmt/haltCompiler.file-test')
-rw-r--r--vendor/nikic/php-parser/test/code/prettyPrinter/stmt/haltCompiler.file-test27
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/haltCompiler.file-test b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/haltCompiler.file-test
new file mode 100644
index 0000000..a427a64
--- /dev/null
+++ b/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/haltCompiler.file-test
@@ -0,0 +1,27 @@
+__halt_compiler
+-----
+<?php
+
+echo 'foo';
+__halt_compiler();
+!!!
+???
+-----
+<?php
+
+echo 'foo';
+__halt_compiler();
+!!!
+???
+-----
+<?php
+
+echo 'foo';
+__halt_compiler();
+<?php
+-----
+<?php
+
+echo 'foo';
+__halt_compiler();
+<?php \ No newline at end of file