php-src/ext/date
Arnaud Le Blanc 1fbb666545
Use zend_std_build_properties() to access zend_object.properties
The zend_object.properties HashTable needs to be built just in time by calling
rebuild_object_properties() on the object before accessing it. Normally this is
done automatically in zend_std_get_properties(), but we do it manually in a few
places.

In this change I introduce an inline variant of zend_std_build_properties(), and
refactor these places to use it instead of calling rebuild_object_properties()
manually.

rebuild_object_properties() renamed as rebuild_object_properties_internal(), to
enforce usage of zend_std_get_properties() or zend_std_build_properties_ex().

Closes GH-14996
2024-07-18 22:18:38 +02:00
..
lib Updated to version 2024.1 (2024a) 2024-02-02 10:23:36 +00:00
tests Replace @deprecated by #[\Deprecated] for internal functions / class constants (#14750) 2024-07-10 16:47:31 +02:00
config0.m4 Autotools: Quote all PHP_ADD_BUILD_DIR arguments (#14947) 2024-07-14 16:58:43 +02:00
config.w32 Sync headers installation 2024-01-28 19:50:55 +01:00
CREDITS
php_date_arginfo.h Replace @deprecated by #[\Deprecated] for internal functions / class constants (#14750) 2024-07-10 16:47:31 +02:00
php_date.c Use zend_std_build_properties() to access zend_object.properties 2024-07-18 22:18:38 +02:00
php_date.h Fixed int32 underflow on DateTime::createFromTimestamp (#12775) 2024-02-27 14:01:49 +00:00
php_date.stub.php Replace @deprecated by #[\Deprecated] for internal functions / class constants (#14750) 2024-07-10 16:47:31 +02:00