1--TEST-- 2Bug #80521 (Parameters with underscores no longer recognized) 3--EXTENSIONS-- 4pdo_firebird 5--SKIPIF-- 6<?php require('skipif.inc'); ?> 7--XLEAK-- 8A bug in firebird causes a memory leak when calling `isc_attach_database()`. 9See https://github.com/FirebirdSQL/firebird/issues/7849 10--FILE-- 11<?php 12require 'testdb.inc'; 13 14$dbh = getDbConnection(); 15$dbh->exec("CREATE TABLE bug80521 (foo INTEGER)"); 16var_dump($dbh->prepare("SELECT foo FROM bug80521 WHERE foo = :foo_bar")); 17?> 18--EXPECTF-- 19object(PDOStatement)#%d (1) { 20 ["queryString"]=> 21 string(45) "SELECT foo FROM bug80521 WHERE foo = :foo_bar" 22} 23--CLEAN-- 24<?php 25require 'testdb.inc'; 26$dbh = getDbConnection(); 27@$dbh->exec("DROP TABLE bug80521"); 28unset($dbh); 29?> 30