swig/Examples/test-suite/php/sym_runme.php
Miklos Vajna 82df087b8b PHP: remove '// Sample test file' comments from runme files
Those are cut&pasted from skel.php, but that comment makes sense only in
skel.php itself.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 22:23:32 +00:00

22 lines
509 B
PHP

<?php
require "tests.php";
require "sym.php";
// No new functions
check::functions(array());
// No new classes
check::classes(array(flim,flam));
// now new vars
check::globals(array());
$flim=new flim();
$flam=new flam();
check::equal($flim->hulahoops(),"flim-jam","flim()->hulahoops==flim-jam");
check::equal($flim->jar(),"flim-jar","flim()->jar==flim-jar");
check::equal($flam->jam(),"flam-jam","flam()->jam==flam-jam");
check::equal($flam->jar(),"flam-jar","flam()->jar==flam-jar");
check::done();
?>