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
320 B
PHP
18 lines
320 B
PHP
<?php
|
|
|
|
require "tests.php";
|
|
require "prefix.php";
|
|
|
|
// No new functions
|
|
check::functions(array(foo_get_self));
|
|
// No new classes
|
|
check::classes(array(ProjectFoo));
|
|
// now new vars
|
|
check::globals(array());
|
|
|
|
$f = new ProjectFoo();
|
|
// This resulted in "Fatal error: Class 'Foo' not found"
|
|
$f->get_self();
|
|
|
|
check::done();
|
|
?>
|