From: nohezp at gmail dot com Operating system: PHP version: Irrelevant Package: Sybase-ct (ctlib) related Bug Type: Feature/Change Request Bug description:New datatypes support required
Description: ------------ sybase_ct extension does not support the new datatypes "DATE" & "TIME" and possibly many more datatypes that have been added by the vendor. Request to get all the datatypes supported in the extension. Test script: --------------- <?php sybase_min_client_severity(11); sybase_min_server_severity(11); $dbms = "sybase"; $server = "SYBASE"; $db = "cidb"; $uid = "selector"; $pwd = ""; $p_dbcon= @sybase_connect($server, $uid, $pwd); $isok = isset($p_dbcon) && is_resource($p_dbcon); printf("PHP NATIVE : %-10s : CONNECT : %s\n", $dbms, $isok ? "OK" : "NOT-OK"); if($isok) { $q= sybase_query("create table #try (a date null, b time null)"); $q= sybase_query("insert #try values('1Jan2011', '05:00:00')"); $q= sybase_query("select * from #try"); $recs= sybase_fetch_assoc($q); $i= 0; foreach($recs as $k => $v) { printf("%5d | %s\n", $i, $v); $i++; }; }; printf("PHP NATIVE : %-10s : DB-SEL : %s\n", $dbms, @sybase_select_db($db) ? "OK" : "NOT-OK"); ?> -- Edit bug report at https://bugs.php.net/bug.php?id=62578&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62578&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62578&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62578&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62578&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62578&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62578&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62578&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62578&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62578&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62578&r=support Expected behavior: https://bugs.php.net/fix.php?id=62578&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62578&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62578&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62578&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62578&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62578&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62578&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62578&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62578&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62578&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62578&r=mysqlcfg