php-src/ext/pdo
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
..
tests Merge branch 'PHP-8.3' 2024-02-27 15:32:20 +00:00
config.m4 Fix GH-14792: Compilation failure on pdo_* extensions (#14797) 2024-07-04 14:58:25 +02:00
config.w32 Fix GH-14792: Compilation failure on pdo_* extensions (#14797) 2024-07-04 14:58:25 +02:00
CREDITS Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
Makefile.frag Define default RE2C_FLAGS (#14615) 2024-06-24 22:09:04 +02:00
Makefile.frag.w32 Define default RE2C_FLAGS (#14615) 2024-06-24 22:09:04 +02:00
pdo_arginfo.h Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
pdo_dbh_arginfo.h Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
pdo_dbh.c Use zend_std_build_properties() to access zend_object.properties 2024-07-18 22:18:38 +02:00
pdo_dbh.stub.php Implement PDO driver-specific subclasses 2024-01-11 23:22:41 +01:00
pdo_sql_parser.h Update http links to https and sync www.php.net URLs (#14854) 2024-07-07 04:23:08 +02:00
pdo_sql_parser.re pdo_pgsql: escaped question marks inside dollar quoted strings 2024-06-17 23:31:25 +02:00
pdo_sqlstate.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
pdo_stmt_arginfo.h Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
pdo_stmt.c Use zend_std_build_properties() to access zend_object.properties 2024-07-18 22:18:38 +02:00
pdo_stmt.stub.php Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
pdo.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
pdo.stub.php Add some stub related todo comments 2022-05-25 13:24:11 +02:00
php_pdo_driver.h Implemented PDO Driver specific SQL parsers 2024-06-17 23:31:24 +02:00
php_pdo_error.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pdo_int.h Implement PDO driver-specific subclasses 2024-01-11 23:22:41 +01:00
php_pdo.h Add Pdo\Pgsql::setNoticeCallback() (#14299) 2024-06-09 03:04:51 +01:00