#46628 [NEW]: oci_bind_by_name(): some type constants do not exist

From: Date: Thu, 20 Nov 2008 09:05:34 +0000
Subject: #46628 [NEW]: oci_bind_by_name(): some type constants do not exist
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1522@lists.php.net to get a copy of this message
From: alvaro at demogracia dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: oci_bind_by_name(): some type constants do not exist Description: ------------ Some of the constants for $type do not exist: http://es.php.net/manual/en/function.oci-bind-by-name.php SQLT_FILE :-? SQLT_CFILE :-? According to a user comment some constant names have changed. If so, constants should have a note about the range of versions in which they're valid. Also, the aforementioned page does not fully match the Predefined Constants section: http://es.php.net/manual/en/oci8.constants.php E.g., SQLT_INT is mentioned as used by oci_bind_array_by_name() but not oci_bind_by_name() Reproduce code: --------------- <?php // Print OCI8's SQLT_* constants $constants = get_defined_constants(true); foreach($constants['oci8'] as $name => $value){ if( strpos($name, 'SQLT_')!==false ){ echo $name . PHP_EOL; } } ?> -- Edit bug report at http://bugs.php.net/?id=46628&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46628&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46628&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46628&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46628&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46628&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46628&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46628&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46628&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46628&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46628&r=support Expected behavior: http://bugs.php.net/fix.php?id=46628&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46628&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46628&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46628&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46628&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46628&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46628&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46628&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46628&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46628&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46628&r=mysqlcfg

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