I was using a binary with the new timelib. Undo the datetime tests
[hiphop-php.git] / hphp / test / zend / bad / ext-date / bug52738.php
blobdf504d9cc2bd537c214cc9ddf8479843ac52dfc3
1 <?php
2 class di extends DateInterval {
3 public $unit = 1;
6 $I = new di('P10D');
7 echo $I->unit."\n";
8 $I->unit++;
9 echo $I->unit."\n";
10 $I->unit = 42;
11 echo $I->unit."\n";
12 $I->d++;
13 print_r($I);