PageRenderTime 35ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/hphp/test/zend/bad/ext/date/tests/bug48678.php

http://github.com/facebook/hiphop-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
  1. <?php
  2. $x = new DateInterval("P3Y6M4DT12H30M5S");
  3. print_r($x);
  4. $y = unserialize(serialize($x));
  5. print_r($y);