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 >> /php-7.1.11/ext/pdo_firebird/tests/ |
files >> //php-7.1.11/ext/pdo_firebird/tests/bug_72583.phpt |
--TEST-- PDO_Firebird: Feature 72583 Fetch integers as php integers not as strings --SKIPIF-- <?php if (!extension_loaded('interbase') || !extension_loaded('pdo_firebird')) die('skip'); ?> --FILE-- <?php require 'testdb.inc'; $C = new PDO('firebird:dbname='.$test_base, $user, $password) or die; @$C->exec('drop table atable'); $C->exec('create table atable (aint integer, asmi smallint)'); $C->exec('insert into atable values (1, -1)'); $S = $C->prepare('select aint, asmi from atable'); $S->execute(); $D = $S->fetch(PDO::FETCH_NUM); echo gettype($D[0])."\n".gettype($D[1]); unset($S); unset($C); ?> --EXPECT-- integer integery~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`