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

require "tests.php";

// No new functions
check::functions(array());
// New classes
check::classes(array('Foo'));
// No new vars
check::globals(array());

$f = new Foo(1.0);
$f = new Foo(1.0,1.0);
$f = Foo::Foo_int(1.0,1);
$f = Foo::Foo_int(1.0,1,1.0);

check::done();