Bug #72416 [Opn->Ver]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
From: laruence@php.net Date: Sun, 19 Jun 2016 07:00:56 +0000 Subject: Bug #72416 [Opn->Ver]: mysqli_stmt::__construct(): Unknown type 18 sent by the server. References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-201730@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72416&edit=1
ID: 72416
Updated by: laruence@php.net
Reported by: webart dot video at gmail dot com
Summary: mysqli_stmt::__construct(): Unknown type 18 sent by
the server.
-Status: Open
+Status: Verified
Type: Bug
Package: MySQLi related
Operating System: Ubuntu 14.04 LTS
PHP Version: 7.0.7
-Assigned To:
+Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
5.6 is also affected
Previous Comments:
------------------------------------------------------------------------
[2016-06-15 15:06:59] webart dot video at gmail dot com
Description:
------------
PHP Information:
PHP 7.0.7-4+deb.sury.org~trusty+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
with blackfire v1.10.6, https://blackfire.io, by Blackfireio
Inc.
Pretty simple, using $mysqli->prepare($query) crashes the server with the message
"mysqli_stmt::__construct(): Unknown type 18 sent by the server. Please send a report to the
developers"
Test script:
---------------
https://gist.github.com/NoMan2000/0ee7fbf41f69a7ae4cdc555241e2e5f6
Refer bug: https://bugs.php.net/bug.php?id=72041&edit=1
The difference is that user is using PDO, I'm using mysqli, but the underlying cause seems to
be the same.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72416&edit=1
Thread (15 messages)
- Bug #72416 [Opn->Ver]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Ver->Fbk]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Fbk]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Fbk->Asn]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Asn]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Asn->Fbk]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Com]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Fbk->NoF]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [NoF->Opn]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Asn]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Asn]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Asn]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Asn->Fbk]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
- Bug #72416 [Fbk->NoF]: mysqli_stmt::__construct(): Unknown type 18 sent by the server.
| « previous | php.bugs (#201730) | next » |
|---|