Commit:    2ee351d90b1388d1ba5c2f6dec0434b61f80c0bd
Author:    krakjoe <joe.watk...@live.co.uk>         Wed, 13 Nov 2013 09:17:58 
+0000
Parents:   9967c7d6bbb0dd2a1f6d5f5ab826b24d49e95093
Branches:  PHP-5.6

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=2ee351d90b1388d1ba5c2f6dec0434b61f80c0bd

Log:
show break screen image

Changed paths:
  M  test.php
  A  tutorials/show-broken.png


Diff:
diff --git a/test.php b/test.php
index 0f240e1..a9743f4 100644
--- a/test.php
+++ b/test.php
@@ -1,19 +1,14 @@
 <?php
-
-class my {
-    public function method() {
-        echo "Hello";
+class phpdbg {
+    public function isGreat($greeting = null) {
+        printf(
+            "%s: %s\n", __METHOD__, $greeting);
         return $this;
     }
 }
 
-function test2() {
-    echo "Hello World 2\n";
-}
-
-
-$my = new my();
-var_dump($my->method());
+$dbg = new phpdbg();
 
-return true;
+var_dump(
+    $dbg->isGreat("PHP Rocks !!"));
 ?>
diff --git a/tutorials/show-broken.png b/tutorials/show-broken.png
new file mode 100644
index 0000000..4964978
Binary files /dev/null and b/tutorials/show-broken.png differ


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to