New test for PDO-Sqlite

From: Date: Tue, 10 Apr 2012 15:52:59 +0000
Subject: New test for PDO-Sqlite
Groups: php.qa 
Request: Send a blank email to php-qa+get-66232@lists.php.net to get a copy of this message
Hi, This is my first contribution to the QA effort so any help or advice would be great. I built the 5.4.1RC1 test release and created the test against that. I have tested on linux 64 bit (Xubuntu) but this is the only platform I have access to right now. Cheers, Chris --TEST-- PDO_sqlite: Testing sqliteCreateFunction() produces warning when un-callable function passed --CREDITS-- Chris MacPherson chris@kombine.co.uk --SKIPIF-- <?php if (!extension_loaded('pdo_sqlite')) print 'skip not loaded'; ?> --FILE-- <?php $db = new PDO( 'sqlite::memory:'); $db->sqliteCreateFunction('bar-alias', 'bar'); ?> --EXPECTF-- Warning: PDO::sqliteCreateFunction(): function 'bar' is not callable in %s on line %d

« previous php.qa (#66232) next »