Bug #61748 [Opn->Csd]: New PHPT test for PDO_sqlite
| From: | yohgaki@php.net | Date: | Fri, 02 Aug 2013 00:56:10 +0000 |
| Subject: | Bug #61748 [Opn->Csd]: New PHPT test for PDO_sqlite | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-180665@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61748&edit=1
ID: 61748
Updated by: yohgaki@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 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61748&edit=1