Doc #68892 [NEW]: Missing few details in online manual page.

From: Date: Fri, 23 Jan 2015 13:53:49 +0000
Subject: Doc #68892 [NEW]: Missing few details in online manual page.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11876@lists.php.net to get a copy of this message
From: moravcik at fns dot uniba dot sk Operating system: Fedora 21 x86_64 PHP version: Irrelevant Package: PostgreSQL related Bug Type: Documentation Problem Bug description:Missing few details in online manual page. Description: ------------ --- From manual page: http://www.php.net/function.pg-escape-literal --- php 5.6.4 1. Square brackets around the optional argument should end after the comma. Omitting the first argument and leaving comma at the beginning of the argument list causes an error. 2. Using pg_escape_literal without connection resource caused function to return false (boolean). This option is not documented. Test script: --------------- <?php /* Using pg_escape_literal without connection info causes function to return false (boolean)*/ echo "Did pg_escape_literal without connection resource return false? " . (false === pg_escape_literal("sda"))."<br>"; ?> Actual result: -------------- Did pg_escape_literal without connection resource return false? 1 -- Edit bug report at https://bugs.php.net/bug.php?id=68892&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68892&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68892&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68892&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68892&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68892&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68892&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68892&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68892&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68892&r=support Expected behavior: https://bugs.php.net/fix.php?id=68892&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68892&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68892&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68892&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68892&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68892&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68892&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68892&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68892&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68892&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68892&r=mysqlcfg

« previous php.doc.bugs (#11876) next »