summaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/casts_runme.php
blob: 748e72cbf58fb943ade3a4d91182ad9176896dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

require "tests.php";
require "casts.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();