Deprecated: Entry implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/pM0E2 on line 3
Deprecated: FieldEntry implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/pM0E2 on line 25
string(261) "a:1:{i:0;a:2:{s:8:"fieldOne";a:1:{i:0;C:10:"FieldEntry":95:{a:2:{i:0;s:4:"name";i:1;s:62:"a:2:{i:0;i:1;i:1;O:4:"Role":1:{s:10:" Role role";s:4:"test";}}";}}}s:8:"fieldTwo";a:1:{i:0;C:10:"FieldEntry":54:{a:2:{i:0;s:3:"age";i:1;s:22:"a:2:{i:0;i:2;i:1;r:7;}";}}}}}"
Warning: unserialize(): Error at offset 21 of 22 bytes in /in/pM0E2 on line 21
object(FieldEntry)#4 (3) {
["id":protected]=>
int(1)
["role":protected]=>
object(Role)#5 (1) {
["role":"Role":private]=>
string(4) "test"
}
["field":protected]=>
string(4) "name"
}
object(FieldEntry)#6 (3) {
["id":protected]=>
NULL
["role":protected]=>
NULL
["field":protected]=>
string(3) "age"
}
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Deprecated: Entry implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/pM0E2 on line 3
Deprecated: FieldEntry implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/pM0E2 on line 25
string(261) "a:1:{i:0;a:2:{s:8:"fieldOne";a:1:{i:0;C:10:"FieldEntry":95:{a:2:{i:0;s:4:"name";i:1;s:62:"a:2:{i:0;i:1;i:1;O:4:"Role":1:{s:10:" Role role";s:4:"test";}}";}}}s:8:"fieldTwo";a:1:{i:0;C:10:"FieldEntry":54:{a:2:{i:0;s:3:"age";i:1;s:22:"a:2:{i:0;i:2;i:1;r:7;}";}}}}}"
Warning: unserialize(): Error at offset 21 of 22 bytes in /in/pM0E2 on line 21
object(FieldEntry)#4 (3) {
["id":protected]=>
int(1)
["role":protected]=>
object(Role)#5 (1) {
["role":"Role":private]=>
string(4) "test"
}
["field":protected]=>
string(4) "name"
}
object(FieldEntry)#6 (3) {
["id":protected]=>
NULL
["role":protected]=>
NULL
["field":protected]=>
string(3) "age"
}
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Deprecated: Entry implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/pM0E2 on line 3
Deprecated: FieldEntry implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/pM0E2 on line 25
string(261) "a:1:{i:0;a:2:{s:8:"fieldOne";a:1:{i:0;C:10:"FieldEntry":95:{a:2:{i:0;s:4:"name";i:1;s:62:"a:2:{i:0;i:1;i:1;O:4:"Role":1:{s:10:" Role role";s:4:"test";}}";}}}s:8:"fieldTwo";a:1:{i:0;C:10:"FieldEntry":54:{a:2:{i:0;s:3:"age";i:1;s:22:"a:2:{i:0;i:2;i:1;r:7;}";}}}}}"
Notice: unserialize(): Error at offset 21 of 22 bytes in /in/pM0E2 on line 21
object(FieldEntry)#4 (3) {
["id":protected]=>
int(1)
["role":protected]=>
object(Role)#5 (1) {
["role":"Role":private]=>
string(4) "test"
}
["field":protected]=>
string(4) "name"
}
object(FieldEntry)#6 (3) {
["id":protected]=>
NULL
["role":protected]=>
NULL
["field":protected]=>
string(3) "age"
}
string(261) "a:1:{i:0;a:2:{s:8:"fieldOne";a:1:{i:0;C:10:"FieldEntry":95:{a:2:{i:0;s:4:"name";i:1;s:62:"a:2:{i:0;i:1;i:1;O:4:"Role":1:{s:10:" Role role";s:4:"test";}}";}}}s:8:"fieldTwo";a:1:{i:0;C:10:"FieldEntry":54:{a:2:{i:0;s:3:"age";i:1;s:22:"a:2:{i:0;i:2;i:1;r:7;}";}}}}}"
Process exited with code 139.