/hphp/test/zend/bad/ext/date/tests/bug48678.php
PHP | 5 lines | 5 code | 0 blank | 0 comment | 0 complexity | db9d803d5484f0828042b3fef04aec5f MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- $x = new DateInterval("P3Y6M4DT12H30M5S");
- print_r($x);
- $y = unserialize(serialize($x));
- print_r($y);