Doc #79674 [NEW]: Wrong translation in PDO::lastInsertId() - Spanish
From: xvester at gmail dot com
Operating system:
PHP version: Irrelevant
Package: PDO related
Bug Type: Documentation Problem
Bug description:Wrong translation in PDO::lastInsertId() - Spanish
Description:
------------
---
From manual page: https://php.net/pdo.lastinsertid
---
In the Spanish translation, the first paragraph in section RETURN
VALUES:
"Si el nombre de la secuencia no se especifica en el parámetro name,
PDO::lastInsertId() devuelve una cadena representando el ID de la
última columna que ha sido insertada en la base de datos."
This is wrong. PDO::lastInsertId() returns the ID of the last **row**
inserted, not the last column.
It should read:
"Si el nombre de la secuencia no se especifica en el parámetro name,
PDO::lastInsertId() devuelve una cadena representando el ID de la
última fila que ha sido insertada en la base de datos."
I can't edit the manual, it takes forever when I click on "edit".
--
Edit bug report at https://bugs.php.net/bug.php?id=79674&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79674&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79674&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79674&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79674&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79674&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79674&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79674&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79674&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79674&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79674&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79674&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79674&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79674&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79674&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79674&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79674&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79674&r=mysqlcfg
Thread (2 messages)
- xvester at gmail dot com