com php-src: show break screen image: test.php tutorials/show-broken.png

From: Date: Wed, 13 Nov 2013 09:17:58 +0000
Subject: com php-src: show break screen image: test.php tutorials/show-broken.png
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75022@lists.php.net to get a copy of this message
Commit: 2ee351d90b1388d1ba5c2f6dec0434b61f80c0bd Author: krakjoe <joe.watkins@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

« previous php.cvs (#75022) next »