History log of /php-src/build/gen_stub.php (Results 101 – 125 of 210)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 5cf2659f 20-Jun-2022 Yurun

Replace the use of ZVAL_BOOL() with ZVAL_TRUE() or ZVAL_FALSE() where the value is fixed (#8815)

# 49d3dde2 18-Jun-2022 Máté Kocsis

Declare true return types (#8759)

# 1bcd8d39 08-Jun-2022 Pierrick Charron

Update gen_stub to support #if around classes

# 6fd2b393 13-Jun-2022 Pierrick Charron

Indent with TAB in .h files generated by gen_stub

Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1
# b40ae808 07-Jun-2022 George Peter Banyard

Convert iterable into an internal alias for Traversable|array (#7309)

This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP vari

Convert iterable into an internal alias for Traversable|array (#7309)

This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP variance handling.

The arginfo generation script from stubs is updated to produce a union type when it encounters the type ``iterable``
Extension functions which do not regenerate the arginfo, or write them manually are still supported by mimicking the compile time transformation while registering the function.

Type Reflection is preserved for single ``iterable`` (and ``?iterable``) to produce a ReflectionNamedType with name ``iterable``, however usage of ``iterable`` in union types will be converted to ``array|Traversable``

show more ...

Revision tags: php-7.4.30
# b2ed625d 06-Jun-2022 Máté Kocsis

A few cleanup changes for gen_stub.php

# debd38f8 02-Jun-2022 Máté Kocsis

Add support for sensitive parameters in stubs

# a420ee6c 01-Jun-2022 Máté Kocsis

Update PHP-Parser to 4.14

It supports readonly classes

# b7b5ad71 31-May-2022 Máté Kocsis

Make ini_set invocation compatible with PHP 8.0

Revision tags: php-8.1.7RC1, php-8.0.20RC1
# 14da1cb90 22-May-2022 Máté Kocsis

Add support for class constants in stubs (#7434)

# 7850c103 16-May-2022 Máté Kocsis

Add support for readonly classes (#7305)

RFC: https://wiki.php.net/rfc/readonly_classes

Revision tags: php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17
# 9a90bd70 12-Mar-2022 Ilija Tovilo

Deprecate ${} string interpolation

https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

# c345b6ee 13-Apr-2022 Máté Kocsis

Remove unused variable from gen_stub.php

# 7710f994 11-Apr-2022 George Peter Banyard

Fix generation of arginfo if type is just null

# c12da039 11-Apr-2022 George Peter Banyard

Add null and false support to gen_stubs

Revision tags: php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16
# 0e65e433 15-Feb-2022 Derick Rethans

Merge branch 'PHP-8.1'


Revision tags: php-7.4.28
# 0fab520d 14-Feb-2022 Tyson Andre

Fix zend_register_internal_class_ex alias generation (#8091)

This wouldn't work for creating aliases in a namespace.

It would create the class alias "MyNS_ClassName" instead of

Fix zend_register_internal_class_ex alias generation (#8091)

This wouldn't work for creating aliases in a namespace.

It would create the class alias "MyNS_ClassName" instead of
"MyNS\\ClassName"

show more ...

Revision tags: php-8.1.3RC1, php-8.0.16RC1
# b27d2fff 22-Jan-2022 Tyson Andre

Update php-parser to 4.13.2 in build/gen_stub.php (#7989)

v4.13.2 fixes a deprecation notice in php 8.2 for namespacedName

Revision tags: php-8.1.2, php-8.0.15
# 266667c2 07-Jan-2022 Máté Kocsis

Merge branch 'PHP-8.1'

* PHP-8.1:
Add support for custom property links


# 62e4ac94 06-Jan-2022 Máté Kocsis

Add support for custom property links

Closes GH-7892

# b9e8d93a 06-Jan-2022 Máté Kocsis

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix class synopsis generation


Revision tags: php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0
# 04627199 22-Nov-2021 Máté Kocsis

Fix class synopsis generation

Closes GH-7891

# 32e2d97a 20-Dec-2021 Tyson Andre

Allow internal functions to declare if they support compile-time evaluation, add functions. (#7780)

https://wiki.php.net/rfc/strtolower-ascii means that these functions no longer
depend

Allow internal functions to declare if they support compile-time evaluation, add functions. (#7780)

https://wiki.php.net/rfc/strtolower-ascii means that these functions no longer
depend on the current locale in php 8.2. Before that, this was unsafe to
evaluate at compile time.

Followup to GH-7506

Add strcmp/strcasecmp/strtolower/strtoupper functions

Add bin2hex/hex2bin and related functions

Update test of garbage collection using strtolower to use something else to create a refcounted string

show more ...

# baac9708 17-Nov-2021 Máté Kocsis

Add the --generate-optimizer-info option to the help of gen_stub.php

Revision tags: php-8.0.13, php-7.4.26, php-7.3.33
# 68ca3879 15-Nov-2021 Nikita Popov

Fix generation of property with class union type

The generated type was missing the UNION bit. Add a ZEND_TYPE_INIT_UNION
macro to hide the implementation details.

123456789