File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
pdo_sqlite /
tests /
bug60104.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:41 2012 UTC (12 years, 7 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
HEAD
php 5.4.3+patches
--TEST--
Bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction())
--SKIPIF--
<?php
if (!extension_loaded('pdo_sqlite')) print 'skip not loaded';
?>
--FILE--
<?php
function setUp()
{
$handler = new PDO( "sqlite::memory:" );
$handler->sqliteCreateFunction( "md5", "md5", 1 );
unset( $handler );
}
setUp();
setUp();
echo "done";
?>
--EXPECTF--
done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>