Deprecated: UserCouple 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/BXuv8 on line 7
object(UserCouple)#2 (2) {
["user1"]=>
object(User)#1 (1) {
["name"]=>
string(5) "admin"
}
["user2"]=>
object(User)#1 (1) {
["name"]=>
string(5) "admin"
}
}
Notice: unserialize(): Error at offset 55 of 56 bytes in /in/BXuv8 on line 20
object(UserCouple)#3 (2) {
["user1"]=>
NULL
["user2"]=>
NULL
}
Output for 8.3.0 - 8.3.35, 8.4.1 - 8.4.26
Deprecated: UserCouple 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/BXuv8 on line 7
object(UserCouple)#2 (2) {
["user1"]=>
object(User)#1 (1) {
["name"]=>
string(5) "admin"
}
["user2"]=>
object(User)#1 (1) {
["name"]=>
string(5) "admin"
}
}
Warning: unserialize(): Error at offset 55 of 56 bytes in /in/BXuv8 on line 20
object(UserCouple)#3 (2) {
["user1"]=>
NULL
["user2"]=>
NULL
}
Output for 8.5.0 - 8.5.11
Deprecated: UserCouple 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/BXuv8 on line 7
object(UserCouple)#2 (2) {
["user1"]=>
object(User)#1 (1) {
["name"]=>
string(5) "admin"
}
["user2"]=>
object(User)#1 (1) {
["name"]=>
string(5) "admin"
}
}
Warning: unserialize(): Error at offset 55 of 56 bytes in /in/BXuv8 on line 20
Warning: Cannot use bool as array in /in/BXuv8 on line 20
Warning: Cannot use bool as array in /in/BXuv8 on line 20
object(UserCouple)#3 (2) {
["user1"]=>
NULL
["user2"]=>
NULL
}