php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70636 Throw exception when using params bind on limit statment
Submitted: 2015-10-04 16:22 UTC Modified: 2015-10-18 04:22 UTC
From: xcoolcc at gmail dot com Assigned:
Status: No Feedback Package: PDO MySQL
PHP Version: 5.6.14 OS: Linux 64bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: xcoolcc at gmail dot com
New email:
PHP Version: OS:

 

 [2015-10-04 16:22 UTC] xcoolcc at gmail dot com
Description:
------------
Throw exception when using params bind on limit statment 

Test script:
---------------
$sql = "SELECT * FROM `users` LIMIT :APL";
$stmt = $pdo->prepare($sql);
$stmt->execute(['APL'=>1]);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-05 18:46 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2015-10-05 18:46 UTC] requinix@php.net
Did you disable emulated prepares? Enable the exception error reporting mode? And is your bug report about it throwing an exception when you think it should not, or not throwing an exception when you think it should?
 [2015-10-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 20:03:37 2021 UTC