PageRenderTime 54ms CodeModel.GetById 19ms RepoModel.GetById 1ms 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
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. <?php
  2. require "tests.php";
  3. require "overload_rename.php";
  4. // No new functions
  5. check::functions(array());
  6. // No new classes
  7. check::classes(array(Foo));
  8. // now new vars
  9. check::globals(array());
  10. $f = new Foo(1.0);
  11. $f = new Foo(1.0,1.0);
  12. $f = Foo::Foo_int(1.0,1);
  13. $f = Foo::Foo_int(1.0,1,1.0);
  14. check::done();
  15. ?>