repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
I was using a binary with the new timelib. Undo the datetime tests
[hiphop-php.git]
/
hphp
/
test
/
zend
/
bad
/
ext-date
/
bug52738.php
blob
df504d9cc2bd537c214cc9ddf8479843ac52dfc3
1
<
?php
2
class
di
extends
DateInterval
{
3
public
$unit
=
1
;
4
}
5
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
);