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
}
Output for 8.3.0 - 8.3.30, 8.4.1 - 8.4.18
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.1.0 - 8.1.34, 8.2.0 - 8.2.30
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
}