It's now only generated if something to put in it is specified via: %pragma(php) include=... or %pragma(php) code=...
16 lines
250 B
PHP
16 lines
250 B
PHP
<?php
|
|
|
|
require "tests.php";
|
|
|
|
// No new functions
|
|
check::functions(array());
|
|
// New classes
|
|
check::classes(array('A','B'));
|
|
// No new vars
|
|
check::globals(array());
|
|
|
|
# Make sure $b inherits hello() from class A
|
|
$b=new B();
|
|
$b->hello();
|
|
|
|
check::done();
|