Edit report at https://bugs.php.net/bug.php?id=61748&edit=1
ID: 61748 Updated by: yohg...@php.net Reported by: chris at kombine dot co dot uk Summary: New PHPT test for PDO_sqlite -Status: Open +Status: Closed Type: Bug Package: Testing related Operating System: linux (Xubuntu 11.10 64bit) PHP Version: 5.4.1RC2 -Assigned To: +Assigned To: yohgaki Block user comment: N Private report: N New Comment: Applied. Previous Comments: ------------------------------------------------------------------------ [2012-04-16 21:09:18] chris at kombine dot co dot uk Description: ------------ This is my first (small) contribution to the QA testing effort. I was advised to submit the test here as a bug to keep track of it. Default php.ini Test script: --------------- --TEST-- PDO_sqlite: Testing sqliteCreateFunction() produces warning when un-callable function passed --CREDITS-- Chris MacPherson ch...@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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61748&edit=1