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

From: Date: Sun, 25 Jan 2015 01:57:25 +0000
Subject: Doc #68892 [Opn->Asn]: Missing few details in online manual page.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11883@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: Open +Status: Assigned Type: Documentation Problem Package: PostgreSQL related Operating System: Fedora 21 x86_64 PHP Version: Irrelevant -Assigned To: +Assigned To: yohgaki Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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 (#11883) next »