- Output for 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
- 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 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.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30
- 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.