Incorrect error message displayed by pg_escape_string
| Bug #42368 | Incorrect error message displayed by pg_escape_string | ||||
|---|---|---|---|---|---|
| Submitted: | 2007-08-21 23:05 UTC | Modified: | 2007-08-22 22:40 UTC | ||
| From: | vesselin at awcreator dot com | Assigned: | iliaa (profile) | ||
| Status: | Closed | Package: | PostgreSQL related | ||
| PHP Version: | 5CVS-2007-08-21 (snap) | OS: | Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2007-08-21 23:05 UTC] vesselin at awcreator dot com
Description: ------------ pg_escape_string() displays an incorrect error message Reproduce code: --------------- pg_escape_string (array ()); Expected result: ---------------- Warning: pg_escape_string() expects parameter 1 to be string, array given in Command line code on line 1 Actual result: -------------- Warning: pg_escape_string() expects exactly 2 parameters, 1 given in Command line code on line 1
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2007-08-22 22:40 UTC] iliaa@php.net