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
18 lines
294 B
PHP
18 lines
294 B
PHP
<?php
|
|
|
|
require "tests.php";
|
|
require "casts.php";
|
|
|
|
// No new functions
|
|
check::functions(array(new_a,a_hello,new_b));
|
|
// No new classes
|
|
check::classes(array(A,B));
|
|
// now new vars
|
|
check::globals(array());
|
|
|
|
# Make sure $b inherites hello() from class A
|
|
$b=new B();
|
|
$b->hello();
|
|
|
|
check::done();
|
|
?>
|