- Output for 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
- object(Child)#1 (6) {
["fpublic"]=>
int(1)
["fprotected":protected]=>
int(2)
["fprivate":"Father":private]=>
int(3)
["cpublic"]=>
int(1)
["cprotected":protected]=>
int(2)
["cprivate":"Child":private]=>
int(3)
}
encoded:
string(265) "{
"ZnB1YmxpYw==": 1,
"ACoAZnByb3RlY3RlZA==": 2,
"AEZhdGhlcgBmcHJpdmF0ZQ==": 3,
"Y3B1YmxpYw==": 1,
"ACoAY3Byb3RlY3RlZA==": 2,
"AENoaWxkAGNwcml2YXRl": 3,
"SlNPTlxOYW1lU3BhY2VUaGF0QXZvaWRzQ29sbGlzaW9uc1dpdGhGaWVsZHNcY2xhc3NOYW1l": "Child"
}"
decoded:
object(Child)#3 (6) {
["fpublic"]=>
int(1)
["fprotected":protected]=>
int(2)
["fprivate":"Father":private]=>
int(3)
["cpublic"]=>
int(1)
["cprotected":protected]=>
int(2)
["cprivate":"Child":private]=>
int(3)
}
- Output for 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
- object(Child)#1 (6) {
["cpublic"]=>
int(1)
["cprotected":protected]=>
int(2)
["cprivate":"Child":private]=>
int(3)
["fpublic"]=>
int(1)
["fprotected":protected]=>
int(2)
["fprivate":"Father":private]=>
int(3)
}
encoded:
string(265) "{
"Y3B1YmxpYw==": 1,
"ACoAY3Byb3RlY3RlZA==": 2,
"AENoaWxkAGNwcml2YXRl": 3,
"ZnB1YmxpYw==": 1,
"ACoAZnByb3RlY3RlZA==": 2,
"AEZhdGhlcgBmcHJpdmF0ZQ==": 3,
"SlNPTlxOYW1lU3BhY2VUaGF0QXZvaWRzQ29sbGlzaW9uc1dpdGhGaWVsZHNcY2xhc3NOYW1l": "Child"
}"
decoded:
object(Child)#3 (6) {
["cpublic"]=>
int(1)
["cprotected":protected]=>
int(2)
["cprivate":"Child":private]=>
int(3)
["fpublic"]=>
int(1)
["fprotected":protected]=>
int(2)
["fprivate":"Father":private]=>
int(3)
}