diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-05-29 10:33:22 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-05 09:54:02 +0200 |
commit | 975acfe71ebed352d86753a6deba3475acad3238 (patch) | |
tree | 6f6755b1edab59897e16bf9ca8a128ed554e0dfb /sapi/apache2handler/php_functions.c | |
parent | e949f306be9e7d54a700cccd5b9af9711615b43f (diff) | |
download | php-git-975acfe71ebed352d86753a6deba3475acad3238.tar.gz |
Pass zend_string message to zend_error_cb
This makes the zend_error_cb API simpler, and avoid formatting
the same message in multiple places.
It should be noted that the passed zend_string is always
non-persistent, so if you want to store it persistently somewhere,
you may still need to duplicate it.
The last_error_message is cleared a bit more aggressive, to make
sure it doesn't hang around across allocator life-cycles.
Closes GH-5639.
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
0 files changed, 0 insertions, 0 deletions