1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/main
Tim Düsterhus 6da93a86f2 zend_API: Remove CHECK*NULL_PATH (#20155)
* tree-wide: Replace `CHECK_NULL_PATH()` by `zend_char_has_nul_byte()`

The former is a direct alias of the latter with a more explicit name and the
former is explicitly documented as a “compatibility” alias.

* tree-wide: Replace `CHECK_ZVAL_NULL_PATH()` by its definition

The former is explicitly documented as a “compatibility” alias.

* zend_API: Remove `CHECK*NULL_PATH`

The `CHECK_ZVAL_NULL_PATH()` macro is unsafe, because it implicitly assumes
that the given `zval*` is `IS_STRING`.

Based on a GitHub search there does not seem to be any user outside of PHP, all
hits were just forks / copies of php-src.
2025-10-15 10:24:22 +02:00
..
2024-05-19 22:57:08 +02:00
2024-11-14 20:36:23 +01:00
2025-09-19 18:13:55 +02:00
2025-10-02 13:44:35 +02:00
2025-05-21 19:39:02 +02:00
2025-07-29 14:00:37 +02:00
2025-04-21 13:20:45 +02:00
2025-09-23 14:59:55 -04:00
2025-09-23 15:11:52 -04:00
2025-10-01 11:12:42 +02:00
2023-01-16 12:27:33 +01:00