mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
![]() Besides checking for the ability to connect to the MySQL server, some tests require additional checks (e.g. to be able to check for the server's version) as skip condition. There is no need, though, to connect twice; instead we introduce `mysqli_connect_or_skip()` in test_helpers.inc, which `die()`s with an appropriate error message, if the connection can't be established, or returns the connection link otherwise. Co-authored-by: Kamil Tekiela <tekiela246@gmail.com> |
||
---|---|---|
.. | ||
test_helpers.inc |