#34549 [NEW]: Typo in function.pg-last-oid.php

From: Date: Mon, 19 Sep 2005 11:33:35 +0000
Subject: #34549 [NEW]: Typo in function.pg-last-oid.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370180@lists.php.net to get a copy of this message
From: stochnagara at hotmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Typo in function.pg-last-oid.php Description: ------------ There is a typo in function.pg-last-oid.php. Example 1 is actually a pg_last_oid example but not pg_last_error() example. Expected result: ---------------- Example 1. pg_last_oid() example <?php $pgsql_conn = pg_connect("dbname=mark host=localhost"); $res1 = pg_query("CREATE TABLE test (a INTEGER) WITH OIDS"); $res2 = pg_query("INSERT INTO test VALUES (1)"); $oid = pg_last_oid($res2); ?> Actual result: -------------- Example 1. pg_last_error() example <?php $pgsql_conn = pg_connect("dbname=mark host=localhost"); $res1 = pg_query("CREATE TABLE test (a INTEGER) WITH OIDS"); $res2 = pg_query("INSERT INTO test VALUES (1)"); $oid = pg_last_oid($res2); ?> -- Edit bug report at http://bugs.php.net/?id=34549&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34549&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34549&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34549&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34549&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34549&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34549&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34549&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34549&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34549&r=support Expected behavior: http://bugs.php.net/fix.php?id=34549&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34549&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34549&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34549&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34549&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34549&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34549&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34549&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34549&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34549&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34549&r=mysqlcfg

« previous php.doc (#969370180) next »