It's now only generated if something to put in it is specified via: %pragma(php) include=... or %pragma(php) code=...
20 lines
487 B
PHP
20 lines
487 B
PHP
<?php
|
|
|
|
require "tests.php";
|
|
|
|
// No new functions
|
|
check::functions(array());
|
|
// New classes
|
|
check::classes(array('Flim','Flam'));
|
|
// No 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();
|