Example #1
0
 /**
  * @test
  * @group pmc
  */
 public function testPHPFileFunctions()
 {
     $str = 'Hello World!';
     $resource = new Proxy("f");
     $resource->open('php://stdout', 'w');
     $bytes = $resource->write($str);
     $this->assertEquals(strlen($str), $bytes);
 }