PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1.3.35/Examples/test-suite/php4/abstract_inherit_runme.php4

#
PHP | 14 lines | 6 code | 4 blank | 4 comment | 0 complexity | 0da172da2b7bbe33776739a6b9f72a57 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. <?php
  2. require "tests.php4";
  3. require "abstract_inherit.php";
  4. check::classes(array(foo,bar,spam,nrfilter_i,nrrcfilter_i,nrrcfilterpro_i,nrrcfilterpri_i));
  5. // This constructor attempt should fail as there isn't one
  6. //$spam=new Spam();
  7. //check::equal(0,$spam->blah(),"spam object method");
  8. //check::equal(0,Spam::blah($spam),"spam class method");
  9. check::done();
  10. ?>