--TEST-- Testing mysqli.max_links --SKIPIF-- --INI-- mysqli.max_links=1 --FILE-- --CLEAN-- --EXPECTF-- bool(true) int(1) Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_close() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_close() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_close() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_close() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in %s on line %d Warning: mysqli_close() expects parameter 1 to be mysqli, bool given in %s on line %d done!