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

require "tests.php";
require "overload_rename.php";

// No new functions
check::functions(array());
// No new classes
check::classes(array('Foo'));
// now 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();
?>