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
Teach hhbbc to optimize away LockObj.
[hiphop-php.git]
/
hphp
/
test
/
slow
/
object
/
const
/
inherit-whole-class.php.expect
blob
f436d2428299d713f07acd64e499a14bc9830d8f
1
-- at constructor entry --
2
object(D) (4) {
3
["di"]=>
4
int(2)
5
["dv"]=>
6
vec(1) {
7
int(3)
8
}
9
["ci"]=>
10
int(0)
11
["cv"]=>
12
vec(1) {
13
int(1)
14
}
15
}
16
-- after constructor completes --
17
object(D) (4) {
18
["di"]=>
19
int(6)
20
["dv"]=>
21
vec(2) {
22
int(3)
23
int(7)
24
}
25
["ci"]=>
26
int(4)
27
["cv"]=>
28
vec(2) {
29
int(1)
30
int(5)
31
}
32
}
33
Cannot modify const property ci of class D after construction
34
Cannot modify const property cv of class D after construction
35
-- at the end --
36
object(D) (5) {
37
["di"]=>
38
int(8)
39
["dv"]=>
40
vec(3) {
41
int(3)
42
int(7)
43
int(9)
44
}
45
["ci"]=>
46
int(4)
47
["cv"]=>
48
vec(2) {
49
int(1)
50
int(5)
51
}
52
["lol"]=>
53
string(4) "whut"
54
}