Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.4.1 - 8.4.14 , 8.5.0 object(DbConnection)#2 (2) {
["dsn":"DbConnection":private]=>
NULL
["initializer":"DbConnection":private]=>
object(Closure)#1 (4) {
["name"]=>
string(41) "{closure:DbConnection::lazyInstance():24}"
["file"]=>
string(9) "/in/Y0eoL"
["line"]=>
int(24)
["static"]=>
array(2) {
["dsn"]=>
string(17) "mysql://something"
["instance"]=>
*RECURSION*
}
}
}
array(2) {
["query"]=>
string(17) "SELECT * FROM foo"
["dsn"]=>
string(17) "mysql://something"
}
array(2) {
["query"]=>
string(17) "SELECT * FROM bar"
["dsn"]=>
string(17) "mysql://something"
}
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 7.0.0 - 7.0.20 , 7.1.0 - 7.1.25 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.33 , 8.2.0 - 8.2.29 , 8.3.0 - 8.3.28 object(DbConnection)#2 (2) {
["dsn":"DbConnection":private]=>
NULL
["initializer":"DbConnection":private]=>
object(Closure)#1 (1) {
["static"]=>
array(2) {
["dsn"]=>
string(17) "mysql://something"
["instance"]=>
*RECURSION*
}
}
}
array(2) {
["query"]=>
string(17) "SELECT * FROM foo"
["dsn"]=>
string(17) "mysql://something"
}
array(2) {
["query"]=>
string(17) "SELECT * FROM bar"
["dsn"]=>
string(17) "mysql://something"
}
Output for 5.6.0 - 5.6.29 Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/Y0eoL on line 14
Process exited with code 255 .