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

/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
 1<?php
 2
 3require "tests.php";
 4require "evil_diamond_ns.php";
 5
 6check::classes(array("evil_diamond_ns","foo","bar","baz","spam"));
 7check::functions("test");
 8check::is_a("bar","foo");
 9check::is_a("baz","foo");
10check::is_a("spam","foo");
11check::is_a("spam","bar");
12//No multiple inheritance
13//check::is_a("spam","baz");
14$spam=new spam();
15$_spam=test($spam);
16
17check::done();
18?>