Skip to content

Commit 0807c6c

Browse files
committed
Remove php_pdo_str_tolower_dup() function
1 parent 5e1056e commit 0807c6c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

UPGRADING.INTERNALS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ PHP 8.1 INTERNALS UPGRADE NOTES
6666
- The last_id handler now returns a zend_string* instead of returning a
6767
char* and the length as an out param, and accepts a zend_string* instead
6868
of char* for the optional sequence/table name.
69+
- The php_pdo_str_tolower_dup() PDO_API has been removed use zend_str_tolower_dup()
70+
or zend_string_tolower_ex().

ext/pdo/pdo.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ PDO_API zend_class_entry *php_pdo_get_exception(void) /* {{{ */
6262
}
6363
/* }}} */
6464

65-
PDO_API char *php_pdo_str_tolower_dup(const char *src, int len) /* {{{ */
66-
{
67-
char *dest = emalloc(len + 1);
68-
zend_str_tolower_copy(dest, src, len);
69-
return dest;
70-
}
71-
/* }}} */
72-
7365
/* {{{ Return array of available PDO drivers */
7466
PHP_FUNCTION(pdo_drivers)
7567
{

0 commit comments

Comments
 (0)