Doc #81073 [PATCH]: manual page https://php.net/manual/pdostatement.execute.php
Edit report at https://bugs.php.net/bug.php?id=81073&edit=1
ID: 81073
Patch added by: dharman@php.net
Reported by: code at 4assistance dot com
Summary: manual page
https://php.net/manual/pdostatement.execute.php
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: *
PHP Version: 8.0.6
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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)