/trunk/Examples/test-suite/php/evil_diamond_ns_runme.php
PHP | 18 lines | 13 code | 3 blank | 2 comment | 0 complexity | 974a4b471d10344c10dce756119293f1 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- <?php
- require "tests.php";
- require "evil_diamond_ns.php";
- check::classes(array("evil_diamond_ns","foo","bar","baz","spam"));
- check::functions("test");
- check::is_a("bar","foo");
- check::is_a("baz","foo");
- check::is_a("spam","foo");
- check::is_a("spam","bar");
- //No multiple inheritance
- //check::is_a("spam","baz");
- $spam=new spam();
- $_spam=test($spam);
- check::done();
- ?>