1--TEST-- 2Bug #80521 (Parameters with underscores no longer recognized) 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("CREATE TABLE bug80521 (foo INTEGER)"); 12var_dump($dbh->prepare("SELECT foo FROM bug80521 WHERE foo = :foo_bar")); 13?> 14--EXPECTF-- 15object(PDOStatement)#%d (1) { 16 ["queryString"]=> 17 string(45) "SELECT foo FROM bug80521 WHERE foo = :foo_bar" 18} 19--CLEAN-- 20<?php 21require 'testdb.inc'; 22$dbh->exec("DROP TABLE bug80521"); 23?> 24