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.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/simple/simple.php b/tests/simple/simple.php
index 0fb3e32..c8614da 100644
--- a/tests/simple/simple.php
+++ b/tests/simple/simple.php
@@ -1,3 +1,19 @@
<?php
-hallo();
+
+class XXX
+{
+ public function __toString()
+ {
+ return "MyClass";
+ }
+}
+
+$myvar = "hoi";
+
+$result = hallo($myvar, 1, 2, 3, "blabla", new XXX());
+
+echo("myvar = $myvar\n");
+
+echo("resultaat: $result\n");
+
?> \ No newline at end of file