I was using a binary with the new timelib. Undo the datetime tests
[hiphop-php.git] / hphp / test / zend / bad / ext-date / bug46874.php
blob41c8a5adde62898b25fe7878c947345ba5da5722
1 <?php
2 $dp = new DatePeriod('R5/2008-03-01T13:00:00Z/P1Y2M10DT2H30M');
4 foreach ($dp as $date) {
5 echo $date->format("Y-m-d H:i:s\n");
8 echo "\n";
10 // this should repeat the same range
11 foreach ($dp as $date) {
12 echo $date->format("Y-m-d H:i:s\n");