Пример #1
0
 public function testVarDumpAndCountOptimizer()
 {
     ob_start();
     $t = new \Test\Vars();
     $t->testCountOptimizerVarDumpAndExport(array(1, 2, 3, 4, 5));
     ob_clean();
 }
Пример #2
0
 public function testVarDumpAndCountOptimizer()
 {
     $this->expectOutputString('int(5)' . "\n" . '5');
     $t = new \Test\Vars();
     $t->testCountOptimizerVarDumpAndExport(array(1, 2, 3, 4, 5));
 }