]> granicus.if.org Git - php/commitdiff
Update log, marking 5.4 and trunk as XFAIL due to bug #55496
authorChristopher Jones <sixd@php.net>
Tue, 23 Aug 2011 20:59:10 +0000 (20:59 +0000)
committerChristopher Jones <sixd@php.net>
Tue, 23 Aug 2011 20:59:10 +0000 (20:59 +0000)
sapi/cli/tests/016.phpt

index adde106df00e1c6a1d68012127d522e6dc7e8dc2..9c28d15a300c079e0d9904f6ff06148b57c202ec 100644 (file)
@@ -65,25 +65,37 @@ Snippet no. 1:
 --------------
 Interactive shell
 
-php > Hello world
-php > 
+php > echo 'Hello world';
+Hello world
+php > exit
+
 
 --------------
 Snippet no. 2:
 --------------
 Interactive shell
 
-php > php ' php ' multine
+php > echo 'multine
+php ' single
+php ' quote';
+multine
 single
 quote
-php > 
+php > exit
+
 
 --------------
 Snippet no. 3:
 --------------
 Interactive shell
 
-php > <<< > <<< > <<< > <<< > <<< > Here
+php > echo <<<HEREDOC
+<<< > Here
+<<< > comes
+<<< > the
+<<< > doc
+<<< > HEREDOC;
+Here
 comes
 the
 doc
@@ -94,7 +106,11 @@ Snippet no. 4:
 --------------
 Interactive shell
 
-php > php { php { php > Done
+php > if (0) {
+php {     echo "I'm not there";
+php { }
+php > echo "Done";
+Done
 php > 
 
 --------------
@@ -102,7 +118,11 @@ Snippet no. 5:
 --------------
 Interactive shell
 
-php > php { php { php > I was called!
+php > function a_function_with_some_name() {
+php {     echo "I was called!";
+php { }
+php > a_function_with_some_name();
+I was called!
 php > 
 
 Done