mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00

Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
17 lines
489 B
PHP
17 lines
489 B
PHP
--TEST--
|
|
PDO_sqlite: Testing invalid callback for sqliteCreateAggregate()
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('pdo_sqlite')) print 'skip not loaded'; ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$pdo = new PDO('sqlite::memory:');
|
|
|
|
$pdo->sqliteCreateAggregate('foo', 'a', '');
|
|
$pdo->sqliteCreateAggregate('foo', 'strlen', '');
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: PDO::sqliteCreateAggregate(): Function 'a' is not callable in %s on line %d
|
|
|
|
Warning: PDO::sqliteCreateAggregate(): Function '' is not callable in %s on line %d
|