php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60870 Documentation improvement
Submitted: 2012-01-24 15:54 UTC Modified: 2012-01-24 19:16 UTC
From: php at stompro dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at stompro dot org
New email:
PHP Version: OS:

 

 [2012-01-24 15:54 UTC] php at stompro dot org
Description:
------------
---
From manual page: http://www.php.net/pdostatement.execute#refsect1-pdostatement.execute-returnvalues
---

Please consider updating the documentation so it is completely clear that the return value for PDOstatement::execute has nothing to do with the results returned, and only with the fact that the query was executed or not executed.

Thanks


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-24 18:43 UTC] frozenfire@php.net
I'm unsure in what way the return value for the method is at all unclear. It 
explicitly and clearly indicates that if the query is successfully executed, it 
returns true, or false on failure.
 [2012-01-24 19:16 UTC] php at stompro dot org
Ok, It must just be me and the other commenter on that page that felt that it should be spelled out.  I'll close this ticket.
Josh
 [2012-01-24 19:16 UTC] php at stompro dot org
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC