Skip to content

Commit 2ee351d

Browse files
committed
show break screen image
1 parent 9967c7d commit 2ee351d

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

test.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
<?php
2-
3-
class my {
4-
public function method() {
5-
echo "Hello";
2+
class phpdbg {
3+
public function isGreat($greeting = null) {
4+
printf(
5+
"%s: %s\n", __METHOD__, $greeting);
66
return $this;
77
}
88
}
99

10-
function test2() {
11-
echo "Hello World 2\n";
12-
}
13-
14-
15-
$my = new my();
16-
var_dump($my->method());
10+
$dbg = new phpdbg();
1711

18-
return true;
12+
var_dump(
13+
$dbg->isGreat("PHP Rocks !!"));
1914
?>

tutorials/show-broken.png

71.1 KB
Loading

0 commit comments

Comments
 (0)