bug76755.phpt 183 B

12345678
  1. --TEST--
  2. Bug #76755 (setcookie does not accept "double" type for expire time)
  3. --FILE--
  4. <?php
  5. var_dump(setcookie('name', 'value', (float)(time() + 1296000)));
  6. ?>
  7. --EXPECT--
  8. bool(true)