aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/php_pragma_runme.php
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/php/php_pragma_runme.php')
-rw-r--r--Examples/test-suite/php/php_pragma_runme.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/Examples/test-suite/php/php_pragma_runme.php b/Examples/test-suite/php/php_pragma_runme.php
index c76cfc9b5..cf297701d 100644
--- a/Examples/test-suite/php/php_pragma_runme.php
+++ b/Examples/test-suite/php/php_pragma_runme.php
@@ -1,11 +1,14 @@
<?php
require "tests.php";
-require "php_pragma.php";
+// No new functions
+check::functions(array());
+// No new classes
+check::classes(array());
+// No new vars
+check::globals(array());
check::equal('1.5',(new ReflectionExtension('php_pragma'))->getVersion(),"1.5==version(php_pragma)");
check::done();
-
-?>