aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/casts_runme.php
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/php/casts_runme.php')
-rw-r--r--Examples/test-suite/php/casts_runme.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/Examples/test-suite/php/casts_runme.php b/Examples/test-suite/php/casts_runme.php
index a9623a328..6234f0fab 100644
--- a/Examples/test-suite/php/casts_runme.php
+++ b/Examples/test-suite/php/casts_runme.php
@@ -1,13 +1,12 @@
<?php
require "tests.php";
-require "casts.php";
// No new functions
-check::functions(array('new_a','a_hello','new_b'));
-// No new classes
+check::functions(array());
+// New classes
check::classes(array('A','B'));
-// now new vars
+// No new vars
check::globals(array());
# Make sure $b inherits hello() from class A
@@ -15,4 +14,3 @@ $b=new B();
$b->hello();
check::done();
-?>