Result from Getter
string(3) "123"
Result from Reflection
string(3) "123"
This is the deserialized Object
object(A)#1 (2) {
["a":protected]=>
&string(3) "123"
["storage":"SplObjectStorage":private]=>
array(0) {
}
}
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Output for 7.0.0 - 7.0.5
Result from Getter
NULL
Result from Reflection
NULL
This is the deserialized Object
object(A)#1 (2) {
["a":protected]=>
string(3) "123"
["storage":"SplObjectStorage":private]=>
array(0) {
}
}