예제 #1
0
파일: VarsTest.php 프로젝트: NumbDai/zephir
 public function testVarDumpAndCountOptimizer()
 {
     ob_start();
     $t = new \Test\Vars();
     $t->testCountOptimizerVarDumpAndExport(array(1, 2, 3, 4, 5));
     ob_clean();
 }
예제 #2
0
파일: VarsTest.php 프로젝트: phalcon/zephir
 public function testVarDumpAndCountOptimizer()
 {
     $this->expectOutputString('int(5)' . "\n" . '5');
     $t = new \Test\Vars();
     $t->testCountOptimizerVarDumpAndExport(array(1, 2, 3, 4, 5));
 }