mirror of
https://github.com/php/php-src.git
synced 2025-01-21 19:24:16 +08:00
19 lines
440 B
PHP
19 lines
440 B
PHP
--TEST--
|
|
SQLite3::loadExtension test with wrong parameter type
|
|
--CREDITS--
|
|
Thijs Feryn <thijs@feryn.eu>
|
|
#TestFest PHPBelgium 2009
|
|
--SKIPIF--
|
|
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
$db = new SQLite3(':memory:');
|
|
var_dump($db->loadExtension(array()));
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Warning: SQLite3::loadExtension() expects parameter 1 to be %binary_string_optional%, array given in %s on line %d
|
|
NULL
|
|
Done
|
|
|