Files
php-src/ext/pdo
Jorg Adam Sowa 39b66bae33 Use zend_hash_find_ptr_lc() for case-insensitive name lookups (#22565)
A number of call sites lowercased a class/function/method name into a
temporary string solely to use it as a lookup key in the class table,
function table, module registry, etc., then released it. Replace those
with zend_hash_find_ptr_lc() / zend_hash_str_find_ptr_lc(), which
lowercase into a stack buffer (for short names), perform the lookup, and
free the temporary internally.

This removes the manual tolower + release boilerplate at 17 sites and
avoids a heap allocation for the common short-name case. No behavior
change.
2026-07-03 00:53:33 +01:00
..
2026-04-27 00:10:28 +02:00
2024-09-01 13:33:53 +02:00
2024-09-01 13:33:53 +02:00
…
2026-05-06 13:11:01 +02:00
2026-05-06 13:11:01 +02:00