Bug #40913 [Com]: PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB

From: Date: Wed, 11 Apr 2018 13:54:58 +0000
Subject: Bug #40913 [Com]: PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-214699@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=40913&edit=1 ID: 40913 Comment by: samuel dot chemla at orange dot com Reported by: dennis at inmarket dot lviv dot ua Summary: PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB Status: Re-Opened Type: Bug Package: PDO MySQL PHP Version: 7.0.13 Block user comment: N Private report: N New Comment: Hi, it seems this bug won't be fixed soon. Could you please at least update the doc to reflect that it is broken? Previous Comments: ------------------------------------------------------------------------ [2016-03-08 12:39:02] benjamin dot morel at gmail dot com Still the same with PHP 7.0.4 and pdo_mysql. It returns a string instead of a resource. PHP 7 would have been THE opportunity to fix weird behaviours such as this one. Missed again. It's been 9 years now, since this bug has been open. Maybe we can wait for another 5 years before PHP 8 is released, and this bug can be fixed. Or not. The fear to break backwards compatibility is SO enormous within the PHP community, that everyone prefers to carry on with bugs, rather than fixing them, so that bad code can continue working from one version to the other. Even major releases. ------------------------------------------------------------------------ [2016-03-08 11:36:57] joshua at paddle dot com It's now 2016, and I'm using PHP 5.6.18, and this issue is STILL present. I wonder if it's been fixed in php 7... ------------------------------------------------------------------------ [2015-05-18 13:41:12] cmb@php.net Related To: Bug #57691 ------------------------------------------------------------------------ [2015-05-09 22:49:08] markus at malkusch dot de Well, it's 2015 now and still present in PHP-5.6.5. ------------------------------------------------------------------------ [2014-12-03 18:08:15] brian at idltg dot in This is still an issue with PHP 5.5.9 with MS SQL Server 2008 R2. Result is a string instead of a stream. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=40913 -- Edit this bug report at https://bugs.php.net/bug.php?id=40913&edit=1

« previous php.bugs (#214699) next »