summaryrefslogtreecommitdiff
path: root/tests/simple/simple.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple/simple.php')
-rw-r--r--tests/simple/simple.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/simple/simple.php b/tests/simple/simple.php
index 10cb603..07e3f78 100644
--- a/tests/simple/simple.php
+++ b/tests/simple/simple.php
@@ -12,10 +12,10 @@ $myvar = "hoi";
class MyClass {
- public function __toString()
- {
- return "aksjdfhsdfkj";
- }
+ public function __toString()
+ {
+ return "aksjdfhsdfkj";
+ }
}
$g1 = 123;
@@ -35,7 +35,10 @@ echo("g3: $g3\n");
if (class_exists("my_class")) echo("Warempel, de class bestaat\n");
$x = new my_class();
+unset($x);
+
+echo("done\n");
-$x->my_method();
+//$x->my_method();