/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 7.4.0 - 7.4.33
Deprecated: Function ReflectionType::__toString() is deprecated in /in/dC8Lu on line 55
Deprecated: Function ReflectionType::__toString() is deprecated in /in/dC8Lu on line 55
object(class@anonymous)#1 (3) {
["__typeMap":"Dshafik\Struct":private]=>
array(3) {
["int"]=>
string(7) "integer"
["bool"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
}
["__reflection":"Dshafik\Struct":private]=>
array(2) {
["foo"]=>
string(7) "integer"
["bar"]=>
string(6) "string"
}
["__values":protected]=>
array(2) {
["foo"]=>
int(1)
["bar"]=>
string(5) "Hello"
}
}
object(class@anonymous)#1 (3) {
["__typeMap":"Dshafik\Struct":private]=>
array(3) {
["int"]=>
string(7) "integer"
["bool"]=>
string(7) "boolean"
["float"]=>
string(6) "double"
}
["__reflection":"Dshafik\Struct":private]=>
array(2) {
["foo"]=>
string(7) "integer"
["bar"]=>
string(6) "string"
}
["__values":protected]=>
array(2) {
["foo"]=>
int(2)
["bar"]=>
string(5) "Hello"
}
}
Fatal error: Uncaught TypeError: Key 'foo' must be of type integer, string given. in /in/dC8Lu:42
Stack trace:
#0 /in/dC8Lu(86): Dshafik\Struct->__set('foo', 'World')
#1 {main}
thrown in /in/dC8Lu on line 42
Process exited with code 255.
Warning: Unsupported declare 'strict_types' in /in/dC8Lu on line 2
Parse error: syntax error, unexpected '?' in /in/dC8Lu on line 56
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Warning: Unsupported declare 'strict_types' in /in/dC8Lu on line 2
Parse error: syntax error, unexpected '[' in /in/dC8Lu on line 10
Process exited with code 255.