Beispiel #1
0
 /**
  * static method opcode handler, calling a static method written in PHP: 
  * <code>foo::staticMethod();</code>
  */
 function testCallStaticMethod()
 {
     echo "\ntesting foo::staticMethod()";
     $this->assertEquals(foo::staticMethod(), "staticMethod", "Could not call a static method!");
     echo " passed";
 }