php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/ext/oci8/tests/ |
files >> //opt/php-7.0.1/ext/oci8/tests/statement_cache.phpt |
--TEST-- statement cache --SKIPIF-- <?php $target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs require(dirname(__FILE__).'/skipif.inc'); ?> --FILE-- <?php // Note: with TimesTen, the column will be called "EXP" require dirname(__FILE__)."/connect.inc"; $pc = oci_pconnect($user, $password, $dbase); $stmt = oci_parse($pc, "select 1+3 from dual"); oci_execute($stmt); var_dump(oci_fetch_array($stmt)); $stmt = oci_parse($pc, "select 1+3 from dual"); oci_execute($stmt); var_dump(oci_fetch_array($stmt)); echo "Done\n"; ?> --EXPECTF-- array(2) { [0]=> string(1) "4" ["%r(1\+3|EXP)%r"]=> string(1) "4" } array(2) { [0]=> string(1) "4" ["%r(1\+3|EXP)%r"]=> string(1) "4" } Doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`