get: ["x"]
Fatal error: Uncaught TypeError: Cannot access offset of type array on array in /in/3Z0f7:8
Stack trace:
#0 /in/3Z0f7(18): MyCache->has(Array)
#1 {main}
thrown in /in/3Z0f7 on line 8
Process exited with code 255.
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 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
get: ["x"]
Fatal error: Uncaught TypeError: Cannot access offset of type array on array in /in/3Z0f7:8
Stack trace:
#0 /in/3Z0f7(18): MyCache->has(Array)
#1 {main}
thrown in /in/3Z0f7 on line 8
Process exited with code 255.
get: ["x"]
Fatal error: Uncaught TypeError: Illegal offset type in /in/3Z0f7:8
Stack trace:
#0 /in/3Z0f7(18): MyCache->has(Array)
#1 {main}
thrown in /in/3Z0f7 on line 8
Process exited with code 255.
get: ["x"]
Warning: array_key_exists(): The first argument should be either a string or an integer in /in/3Z0f7 on line 8
get: []
Warning: array_key_exists(): The first argument should be either a string or an integer in /in/3Z0f7 on line 8
get: false
Warning: array_key_exists(): The first argument should be either a string or an integer in /in/3Z0f7 on line 8
get: true
Warning: array_key_exists(): The first argument should be either a string or an integer in /in/3Z0f7 on line 8
get: ""
get: 0
set: ["x"]
Warning: Illegal offset type in /in/3Z0f7 on line 13
set: []
Warning: Illegal offset type in /in/3Z0f7 on line 13
set: false
set: true
set: ""
set: 0
Parse error: syntax error, unexpected '[' in /in/3Z0f7 on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/3Z0f7 on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/3Z0f7 on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/3Z0f7 on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/3Z0f7 on line 4
Process exited with code 255.