mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove php_pdo_str_tolower_dup() function
This commit is contained in:
parent
5e1056edb6
commit
0807c6cbb0
2 changed files with 2 additions and 8 deletions
|
@ -66,3 +66,5 @@ PHP 8.1 INTERNALS UPGRADE NOTES
|
||||||
- The last_id handler now returns a zend_string* instead of returning a
|
- The last_id handler now returns a zend_string* instead of returning a
|
||||||
char* and the length as an out param, and accepts a zend_string* instead
|
char* and the length as an out param, and accepts a zend_string* instead
|
||||||
of char* for the optional sequence/table name.
|
of char* for the optional sequence/table name.
|
||||||
|
- The php_pdo_str_tolower_dup() PDO_API has been removed use zend_str_tolower_dup()
|
||||||
|
or zend_string_tolower_ex().
|
||||||
|
|
|
@ -62,14 +62,6 @@ PDO_API zend_class_entry *php_pdo_get_exception(void) /* {{{ */
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
PDO_API char *php_pdo_str_tolower_dup(const char *src, int len) /* {{{ */
|
|
||||||
{
|
|
||||||
char *dest = emalloc(len + 1);
|
|
||||||
zend_str_tolower_copy(dest, src, len);
|
|
||||||
return dest;
|
|
||||||
}
|
|
||||||
/* }}} */
|
|
||||||
|
|
||||||
/* {{{ Return array of available PDO drivers */
|
/* {{{ Return array of available PDO drivers */
|
||||||
PHP_FUNCTION(pdo_drivers)
|
PHP_FUNCTION(pdo_drivers)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue