363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
72 linhas
773 B
Plaintext
72 linhas
773 B
Plaintext
set priv 1234
|
|
get priv
|
|
int(1234)
|
|
int(123)
|
|
object(C) (2) {
|
|
["priv":"C":private]=>
|
|
int(1234)
|
|
["pub"]=>
|
|
int(123)
|
|
}
|
|
set priv 6789
|
|
get priv
|
|
int(6789)
|
|
int(678)
|
|
object(C) (2) {
|
|
["priv":"C":private]=>
|
|
int(6789)
|
|
["pub"]=>
|
|
int(678)
|
|
}
|
|
|
|
******************************
|
|
|
|
__set foo
|
|
object(D) (1) {
|
|
["foo":protected]=>
|
|
NULL
|
|
}
|
|
__get foo
|
|
__set foo
|
|
object(D) (1) {
|
|
["foo":protected]=>
|
|
NULL
|
|
}
|
|
__get foo
|
|
__set foo
|
|
object(D) (1) {
|
|
["foo":protected]=>
|
|
NULL
|
|
}
|
|
|
|
******************************
|
|
|
|
object(E) (1) {
|
|
["foo"]=>
|
|
int(1)
|
|
}
|
|
__get foo
|
|
object(E) (1) {
|
|
["foo"]=>
|
|
int(1)
|
|
}
|
|
__get foo
|
|
object(E) (1) {
|
|
["foo"]=>
|
|
int(1)
|
|
}
|
|
|
|
******************************
|
|
|
|
__set foo
|
|
object(F) (0) {
|
|
}
|
|
object(F) (1) {
|
|
["foo"]=>
|
|
int(1)
|
|
}
|
|
object(F) (1) {
|
|
["foo"]=>
|
|
int(1)
|
|
}
|