php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61748 New PHPT test for PDO_sqlite
Submitted: 2012-04-16 21:09 UTC Modified: 2013-08-02 00:56 UTC
Votes:44
Avg. Score:3.0 ± 0.0
Reproduced:1 of 6 (16.7%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: chris at kombine dot co dot uk Assigned: yohgaki (profile)
Status: Closed Package: Testing related
PHP Version: 5.4.1RC2 OS: linux (Xubuntu 11.10 64bit)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chris at kombine dot co dot uk
New email:
PHP Version: OS:

 

 [2012-04-16 21:09 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-02 00:56 UTC] yohgaki@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: yohgaki
 [2013-08-02 00:56 UTC] yohgaki@php.net
Applied.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 17:01:30 2024 UTC