php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #81073 manual page https://php.net/manual/pdostatement.execute.php
Submitted: 2021-05-22 19:23 UTC Modified: -
From: code at 4assistance dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 8.0.6 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: code at 4assistance dot com
New email:
PHP Version: OS:

 

 [2021-05-22 19:23 UTC] code at 4assistance dot com
Description:
------------
---
From manual page: https://php.net/pdostatement.execute
---

Example #2 and #3 in their titles contain the phrase 'insert values' which may be confusing to some readers, considering the db & execute contexts.

Example #2 Execute a prepared statement with an array of insert values (named parameters)

Example #3 Execute a prepared statement with an array of insert values (placeholders)

See 'Expected result:' field for suggested phrases.

Expected result:
----------------
Example #2 Execute a prepared statement with an array of named values

Example #3 Execute a prepared statement with an array of placeholder values


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-05-22 20:48 UTC] dharman@php.net
The following pull request has been associated:

Patch Name: Doc Bug #81073 Fixed example titles in PDOStatement::execute
On GitHub:  https://github.com/php/doc-en/pull/621
Patch:      https://github.com/php/doc-en/pull/621.patch
 [2021-05-22 21:17 UTC] git@php.net
Automatic comment on behalf of kamil-tekiela (author) and web-flow (committer)
Revision: https://github.com/php/doc-en/commit/91bec719b351e11e6f0fe618f091edbb82b9acc2
Log: Fix #81073: bad example titles for PDOStatement::execute
 [2021-05-22 21:17 UTC] git@php.net
-Status: Open +Status: Closed
 [2021-05-23 04:30 UTC] git@php.net
Automatic comment on behalf of mumumu
Revision: https://github.com/php/doc-ja/commit/86b280570e8ecc614caa2af756e600341639444a
Log: Fix #81073: bad example titles for PDOStatement::execute (php/doc-en#621)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 01 01:01:28 2024 UTC