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/parser/stmt/echo.test')
-rw-r--r--vendor/nikic/php-parser/test/code/parser/stmt/echo.test32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/echo.test b/vendor/nikic/php-parser/test/code/parser/stmt/echo.test
new file mode 100644
index 0000000..1d03eae
--- /dev/null
+++ b/vendor/nikic/php-parser/test/code/parser/stmt/echo.test
@@ -0,0 +1,32 @@
+Echo
+-----
+<?php
+
+echo 'Hallo World!';
+echo 'Hallo', ' ', 'World', '!';
+-----
+array(
+ 0: Stmt_Echo(
+ exprs: array(
+ 0: Scalar_String(
+ value: Hallo World!
+ )
+ )
+ )
+ 1: Stmt_Echo(
+ exprs: array(
+ 0: Scalar_String(
+ value: Hallo
+ )
+ 1: Scalar_String(
+ value:
+ )
+ 2: Scalar_String(
+ value: World
+ )
+ 3: Scalar_String(
+ value: !
+ )
+ )
+ )
+) \ No newline at end of file