# mysqli PHPTs call my_mysqli_connect() which does not exist

- Thread: https://externals.io/message/46780
- Original archive: https://news-web.php.net/php.internals/46780
- Started by Jess Portnoy on 2010-01-18T15:35:41+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #46780 — Jess Portnoy — 2010-01-18T15:35:41+00:00

URL: https://externals.io/message/46780#46780

Hello all,

In the 5_3 branch and also in 5.3.1, some MySQLi PHPTs call 
my_mysqli_connect() which is not defined.
Is this a mistakingly committed change? Seems like they should call 
 `mysqli_connect()`.

See also: 
http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Fmysqli%2Ftests%2Fmysqli_insert_packet_overflow.phpt

Thanks,

-- 
May the source be with you,
Best regards,
Jess Portnoy

---

## #46781 — Michael Maclean — 2010-01-18T15:43:59+00:00

URL: https://externals.io/message/46780#46781 · In reply to: #46780

Jess Portnoy wrote:
> In the 5_3 branch and also in 5.3.1, some MySQLi PHPTs call
> my_mysqli_connect() which is not defined.
> Is this a mistakingly committed change? Seems like they should call
> `mysqli_connect()`.

It's defined in connect.inc as a wrapper. See
http://php-og.mgdm.net/opengrok/xref/PHP_5_3/ext/mysqli/tests/connect.inc

---

## #46782 — Jess Portnoy — 2010-01-18T15:48:23+00:00

URL: https://externals.io/message/46780#46782 · In reply to: #46781

Hi Michael,

Thanks, now I see it. Sorry, did not look hard enough.

May the source be with you,
Best regards,
Jess Portnoy



Michael Maclean wrote:
> Jess Portnoy wrote:
>   
> > […]
>
> It's defined in connect.inc as a wrapper. See
> http://php-og.mgdm.net/opengrok/xref/PHP_5_3/ext/mysqli/tests/connect.inc
