You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpmysqli_report(MYSQLI_REPORT_OFF);
$mysqli = newmysqli('localhost', 'user', 'password', 'test');
$mysqli->query("SELECT ( SELECT 1 AS val UNION ALL SELECT 2 ) FROM dual");
Resulted in this output:
Warning: mysqli::query(): (21000/1242): Subquery returns more than 1 row in ...