History log of /php-src/ext/pdo_mysql/pdo_mysql_arginfo.h (Results 1 – 6 of 6)
Revision Date Author Comments
# 8d12f666 24-Aug-2024 Máté Kocsis

Fix registration of internal readonly child classes (#15459)

Currently, internal classes are registered with the following code:

INIT_CLASS_ENTRY(ce, "InternalClass", class_Internal

Fix registration of internal readonly child classes (#15459)

Currently, internal classes are registered with the following code:

INIT_CLASS_ENTRY(ce, "InternalClass", class_InternalClass_methods);
class_entry = zend_register_internal_class_ex(&ce, NULL);
class_entry->ce_flags |= ...;

This has worked well so far, except if InternalClass is readonly. It is because some inheritance checks are run by zend_register_internal_class_ex before ZEND_ACC_READONLY_CLASS is added to ce_flags.

The issue is fixed by adding a zend_register_internal_class_with_flags() zend API function that stubs can use from now on. This function makes sure to add the flags before running any checks. Since the new API is not available in lower PHP versions, gen_stub.php has to keep support for the existing API for PHP 8.3 and below.

show more ...


# acd6ac33 17-Jul-2024 Saki Takamachi <34942839+SakiTakamachi@users.noreply.github.com>

Fixed parent class of stub (#14990)


# 6ec42201 30-May-2024 Máté Kocsis

Amend PDO driver-specific class names (#14069)

As suggested in https://externals.io/message/123166


# 10957e49 18-Feb-2024 Máté Kocsis

Do not generate frameless info items when func info generation is disabled

While here, I fixed newlines around arginfo and function entry generation. Previously, newlines were repeated.


# 9c7b3914 14-Jan-2024 Máté Kocsis

DeclarePdoMysql:: ATTR_SSL_VERIFY_SERVER_CERT only for Mysqlnd


# d6a0b3af 11-Jan-2024 Máté Kocsis

Implement PDO driver-specific subclasses

RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses
Closes GH-12804

Co-Authored-By: Danack <Danack@basereality.com>