PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/test-suite/php/overload_rename_runme.php

#
PHP | 19 lines | 12 code | 4 blank | 3 comment | 0 complexity | d3506051a75fc4b9bd71cf03d0dcebb2 MD5 | raw file
 1<?php
 2
 3require "tests.php";
 4require "overload_rename.php";
 5
 6// No new functions
 7check::functions(array());
 8// No new classes
 9check::classes(array(Foo));
10// now new vars
11check::globals(array());
12
13$f = new Foo(1.0);
14$f = new Foo(1.0,1.0);
15$f = Foo::Foo_int(1.0,1);
16$f = Foo::Foo_int(1.0,1,1.0);
17
18check::done();
19?>