Doc #81073 [Opn->Csd]: manual page https://php.net/manual/pdostatement.execute.php
Edit report at https://bugs.php.net/bug.php?id=81073&edit=1
ID: 81073
Updated by: git@php.net
Reported by: code at 4assistance dot com
Summary: manual page
https://php.net/manual/pdostatement.execute.php
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: *
PHP Version: 8.0.6
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2021-05-22 20:48:17] 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 19:23:00] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81073&edit=1
Thread (3 messages)