Skip to content

Commit 4bcd28e

Browse files
authored
PHP 8.4 ext-dba function signatures
dba_* functions had their signature changed in PHP 8.4 to return a \Dba\Connection instance.
1 parent f562834 commit 4bcd28e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

resources/functionMap_php84delta.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@
2020
'http_clear_last_response_headers' => ['void'],
2121
'mb_lcfirst' => ['string', 'string'=>'string', 'encoding='=>'string'],
2222
'mb_ucfirst' => ['string', 'string'=>'string', 'encoding='=>'string'],
23+
'dba_close' => ['void', 'handle'=>'Dba\Connection'],
24+
'dba_delete' => ['bool', 'key'=>'string', 'handle'=>'Dba\Connection'],
25+
'dba_exists' => ['bool', 'key'=>'string', 'handle'=>'Dba\Connection'],
26+
'dba_fetch' => ['string|false', 'key'=>'string', 'skip'=>'int', 'handle'=>'Dba\Connection'],
27+
'dba_fetch\'1' => ['string|false', 'key'=>'string', 'handle'=>'Dba\Connection'],
28+
'dba_firstkey' => ['string|false', 'handle'=>'Dba\Connection'],
29+
'dba_insert' => ['bool', 'key'=>'string', 'value'=>'string', 'handle'=>'Dba\Connection'],
30+
'dba_nextkey' => ['string|false', 'handle'=>'Dba\Connection'],
31+
'dba_open' => ['Dba\Connection|false', 'path'=>'string', 'mode'=>'string', 'handlername='=>'string', '...args='=>'string'],
32+
'dba_optimize' => ['bool', 'handle'=>'Dba\Connection'],
33+
'dba_popen' => ['Dba\Connection|false', 'path'=>'string', 'mode'=>'string', 'handlername='=>'string', '...args='=>'string'],
34+
'dba_replace' => ['bool', 'key'=>'string', 'value'=>'string', 'handle'=>'Dba\Connection'],
35+
'dba_sync' => ['bool', 'handle'=>'Dba\Connection'],
2336
],
2437
'old' => [
2538

0 commit comments

Comments
 (0)