|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-03-23 11:59 UTC] tom at advancedatatools dot com
[2007-03-23 12:07 UTC] kfbombar at us dot ibm dot com
[2007-03-23 12:11 UTC] vlads at krediidiinfo dot ee
[2007-05-07 19:10 UTC] opendev at us dot ibm dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
Description: ------------ Preparing procedure and executing it as shown in the manual results in segmentation fault. Reproduce code: --------------- $ifx = new PDO('informix:host=db.kisise;service=1526;database=krediit;server=db_krediit;protocol=onsoctcp; EnableScrollableCursors=0','someuse','somepass'); $tmp->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $tmp->setAttribute(PDO::ATTR_ORACLE_NULLS, PDO::NULL_TO_STRING); try { $ret = ''; $stmt = $ifx->prepare('execute procedure proc_esmakanne(today-1,today)'); $stmt->bindParam(1, $ret, PDO::PARAM_STR, 4000); $stmt->execute(); } catch (Exception $dbe) {} Expected result: ---------------- Variable $ret has some value Actual result: -------------- segfault