示例#1
0
 public function test88Issue()
 {
     $t = new \Test\Vars();
     $this->expectOutputString('string(3) "foo"' . "\n" . 'string(3) "bar"' . "\n" . "'foo'" . "'bar'" . "'bar'");
     $t->test88Issue('foo', 'bar');
     $t->test88IssueParam2InitString('foo', 'bar');
 }
示例#2
0
 public function test88Issue()
 {
     ob_start();
     $t = new \Test\Vars();
     $t->test88Issue('foo', 'bar');
     $t->test88IssueParam2InitString('foo', 'bar');
     ob_clean();
 }