Пример #1
0
 public function testDoubleVarDump()
 {
     ob_start();
     $t = new \Test\Vars();
     $t->testDoubleVarDump();
     ob_clean();
 }
Пример #2
0
 public function testDoubleVarDump()
 {
     if (PHP_VERSION_ID < 70000) {
         $this->expectOutputString('float(1)' . "\n" . '1');
     } else {
         $this->expectOutputString('float(1)' . "\n" . '1.0');
     }
     $t = new \Test\Vars();
     $t->testDoubleVarDump();
 }