PageRenderTime 39ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
PHP | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | 9c9f94e1e77756407dabad18f9d6a497 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 "conversion.php";
  4. check::classes(array("Foo","Bar"));
  5. $bar=new Bar;
  6. check::classname("bar",$bar);
  7. $foo=$bar->toFoo();
  8. check::classname("foo",$foo);
  9. check::done();
  10. ?>