diff options
author | Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> | 2021-11-29 16:12:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 16:12:38 +0100 |
commit | 975a36d5a55d69fdd96693e5f8e3f9ac559f70a7 (patch) | |
tree | d3a027a098f0a093f7435770fea91e1a445deb36 /Examples/test-suite/php/director_enum_runme.php | |
parent | 56e7455af91911c06210cf551729df61a428e5a6 (diff) | |
parent | 0304bdb82baaf5da94b6273c93e2623f1522a2a0 (diff) | |
download | swig-975a36d5a55d69fdd96693e5f8e3f9ac559f70a7.tar.gz |
Merge branch 'fix-cast' into master
Diffstat (limited to 'Examples/test-suite/php/director_enum_runme.php')
-rw-r--r-- | Examples/test-suite/php/director_enum_runme.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Examples/test-suite/php/director_enum_runme.php b/Examples/test-suite/php/director_enum_runme.php index 0571ec0da..21e07a57b 100644 --- a/Examples/test-suite/php/director_enum_runme.php +++ b/Examples/test-suite/php/director_enum_runme.php @@ -1,13 +1,12 @@ <?php require "tests.php"; -require "director_enum.php"; // No new functions -check::functions(array('foo_say_hello','foo_say_hi','foo_say_bye','foo_say_hi_ref','foo_ping','foo_ping_ref','foo_ping_member_enum','a_f','a2_f')); -// No new classes +check::functions(array()); +// New classes check::classes(array('director_enum','Foo','A','B','A2','B2')); -// now new vars +// No new vars check::globals(array()); class MyFoo extends Foo { @@ -22,4 +21,3 @@ $a = new MyFoo(); check::equal($a->say_hi(director_enum::hello), $b->say_hello(director_enum::hi), "say failed"); check::done(); -?> |