3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.3.0 - 8.3.19, 8.4.1 - 8.4.5
Deprecated: Permission 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/QFDDc on line 2 Deprecated: UserPermission 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/QFDDc on line 15 Deprecated: Webshop 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/QFDDc on line 29 Deprecated: AbstractToken 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/QFDDc on line 42 Deprecated: UsernamePasswordToken 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/QFDDc on line 55 Warning: unserialize(): Error at offset 13 of 22 bytes in /in/QFDDc on line 25 object(UsernamePasswordToken)#6 (3) { ["roles"]=> array(2) { [0]=> object(UserPermission)#7 (2) { ["permission"]=> object(Permission)#9 (1) { ["id":protected]=> int(3) } ["webshop"]=> object(Webshop)#8 (1) { ["id":protected]=> int(13) } } [1]=> object(UserPermission)#10 (2) { ["permission"]=> NULL ["webshop"]=> NULL } } ["credentials":"UsernamePasswordToken":private]=> NULL ["providerKey":"UsernamePasswordToken":private]=> NULL }
Output for 8.1.0 - 8.1.32, 8.2.0 - 8.2.28
Deprecated: Permission 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/QFDDc on line 2 Deprecated: UserPermission 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/QFDDc on line 15 Deprecated: Webshop 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/QFDDc on line 29 Deprecated: AbstractToken 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/QFDDc on line 42 Deprecated: UsernamePasswordToken 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/QFDDc on line 55 Notice: unserialize(): Error at offset 13 of 22 bytes in /in/QFDDc on line 25 object(UsernamePasswordToken)#6 (3) { ["roles"]=> array(2) { [0]=> object(UserPermission)#7 (2) { ["permission"]=> object(Permission)#9 (1) { ["id":protected]=> int(3) } ["webshop"]=> object(Webshop)#8 (1) { ["id":protected]=> int(13) } } [1]=> object(UserPermission)#10 (2) { ["permission"]=> NULL ["webshop"]=> NULL } } ["credentials":"UsernamePasswordToken":private]=> NULL ["providerKey":"UsernamePasswordToken":private]=> NULL }
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
Notice: unserialize(): Error at offset 13 of 22 bytes in /in/QFDDc on line 25 object(UsernamePasswordToken)#6 (3) { ["credentials":"UsernamePasswordToken":private]=> NULL ["providerKey":"UsernamePasswordToken":private]=> NULL ["roles"]=> array(2) { [0]=> object(UserPermission)#7 (2) { ["permission"]=> object(Permission)#9 (1) { ["id":protected]=> int(3) } ["webshop"]=> object(Webshop)#8 (1) { ["id":protected]=> int(13) } } [1]=> object(UserPermission)#10 (2) { ["permission"]=> NULL ["webshop"]=> NULL } } }
Output for 5.4.45, 5.5.29 - 5.5.38, 5.6.13 - 5.6.40, 7.0.14 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34
object(UsernamePasswordToken)#6 (3) { ["credentials":"UsernamePasswordToken":private]=> NULL ["providerKey":"UsernamePasswordToken":private]=> NULL ["roles"]=> array(2) { [0]=> object(UserPermission)#7 (2) { ["permission"]=> object(Permission)#9 (1) { ["id":protected]=> int(3) } ["webshop"]=> object(Webshop)#8 (1) { ["id":protected]=> int(13) } } [1]=> object(UserPermission)#10 (2) { ["permission"]=> array(2) { [0]=> object(Webshop)#8 (1) { ["id":protected]=> int(13) } [1]=> object(Permission)#9 (1) { ["id":protected]=> int(3) } } ["webshop"]=> array(1) { [0]=> *RECURSION* } } } }
Output for 7.0.0 - 7.0.13
object(UsernamePasswordToken)#6 (3) { ["credentials":"UsernamePasswordToken":private]=> NULL ["providerKey":"UsernamePasswordToken":private]=> NULL ["roles"]=> array(2) { [0]=> object(UserPermission)#7 (2) { ["permission"]=> object(Permission)#9 (1) { ["id":protected]=> int(3) } ["webshop"]=> object(Webshop)#8 (1) { ["id":protected]=> int(13) } } [1]=> object(UserPermission)#10 (2) { ["permission"]=> array(2) { [0]=> array(1) { [0]=> *RECURSION* } [1]=> *RECURSION* } ["webshop"]=> array(1) { [0]=> *RECURSION* } } } }
Output for 5.4.0 - 5.4.44, 5.5.0 - 5.5.28, 5.6.0 - 5.6.12

Process exited with code 139.
Output for 5.3.0 - 5.3.29
object(UsernamePasswordToken)#6 (3) { ["credentials":"UsernamePasswordToken":private]=> NULL ["providerKey":"UsernamePasswordToken":private]=> NULL ["roles"]=> array(2) { [0]=> object(UserPermission)#7 (2) { ["permission"]=> object(Permission)#9 (1) { ["id":protected]=> int(3) } ["webshop"]=> object(Webshop)#8 (1) { ["id":protected]=> int(13) } } [1]=> object(UserPermission)#10 (2) { ["permission"]=> object(Permission)#12 (1) { ["id":protected]=> int(3) } ["webshop"]=> object(Webshop)#11 (1) { ["id":protected]=> int(13) } } } }

preferences:
132.85 ms | 426 KiB | 5 Q