Doc #68892 [Asn->Csd]: Missing few details in online manual page.

From: Date: Fri, 18 Dec 2015 10:03:19 +0000
Subject: Doc #68892 [Asn->Csd]: Missing few details in online manual page.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12954@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68892&edit=1 ID: 68892 Updated by: yohgaki@php.net Reported by: moravcik at fns dot uniba dot sk Summary: Missing few details in online manual page. -Status: Assigned +Status: Closed Type: Documentation Problem Package: PostgreSQL related Operating System: Fedora 21 x86_64 PHP Version: Irrelevant Assigned To: yohgaki Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2015-12-18 09:32:31] yohgaki@php.net Automatic comment from SVN on behalf of yohgaki Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=338290 Log: Fix bug #68892 Missing few details in online manual page. ------------------------------------------------------------------------ [2015-01-23 13:53:48] moravcik at fns dot uniba dot sk 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 this bug report at https://bugs.php.net/bug.php?id=68892&edit=1

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