| 1 | | Couldn't find boolean result source, worth mentioning I'm not a C guru :) |
| 2 | | Looked at: |
| 3 | | * [https://github.com/php/php-src/blob/2f1148ae8a09cf7644255c31162819d04285bab2/ext/mysqli/mysqli_nonapi.c#L509 ext/mysqli/mysqli_nonapi.c#L509] |
| 4 | | * [https://github.com/php/php-src/blob/5d6805d4982999bd302b13dbe6052e10de7f9db2/ext/mysqli/mysqli.c#L1236 ext/mysqli/mysqli.c#L1236] |
| 5 | | * [https://github.com/php/php-src/blob/a5f5855db9e0e413e5a2ab221e7e11cc5ee03037/ext/mysqli/php_mysqli_structs.h#L254 ext/mysqli/php_mysqli_structs.h#L254] |
| 6 | | |
| 7 | | According to me from PHP source it shouldn't return boolean only if it's array |
| 8 | | {{{if (into_object && Z_TYPE_P(return_value) == IS_ARRAY)}}} [https://github.com/php/php-src/blob/5d6805d4982999bd302b13dbe6052e10de7f9db2/ext/mysqli/mysqli.c#L1285 ext/mysqli/mysqli.c#L1285] |
| 9 | | |