1--TEST-- 2PDO_Firebird: Bug 72931 Insert returning fails on Firebird 3 3--SKIPIF-- 4<?php require('skipif.inc'); ?> 5--ENV-- 6LSAN_OPTIONS=detect_leaks=0 7--FILE-- 8<?php 9require 'testdb.inc'; 10 11@$dbh->exec('drop table tablea'); 12$dbh->exec('create table tablea (id integer)'); 13$S = $dbh->prepare('insert into tablea (id) values (1) returning id'); 14$S->execute(); 15$D = $S->fetch(PDO::FETCH_NUM); 16echo $D[0]; 17unset($S); 18unset($dbh); 19?> 20--EXPECT-- 211 22