1--TEST--
2SQLite3::loadExtension test with wrong parameter type
3--CREDITS--
4Thijs Feryn <thijs@feryn.eu>
5#TestFest PHPBelgium 2009
6--SKIPIF--
7<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
8--FILE--
9<?php
10$db = new SQLite3(':memory:');
11var_dump($db->loadExtension(array()));
12echo "Done\n";
13?>
14--EXPECTF--
15Warning: SQLite3::loadExtension() expects parameter 1 to be %binary_string_optional%, array given in %s on line %d
16NULL
17Done
18
19