History log of /PHP-8.0/build/gen_stub.php (Results 26 – 43 of 43)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1ed5a63c 02-Jul-2020 Nikita Popov

Check that "tokenizer" extension is available in gen_stub.php


Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1
# c9b9f525 19-Jun-2020 Nikita Popov

Include stub hash in generated arginfo files

The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necess

Include stub hash in generated arginfo files

The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.

This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.

Closes GH-5739.

show more ...


Revision tags: php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1
# b3718430 25-May-2020 Máté Kocsis

Annotate internal functions with the mixed type

Closes GH-5618


Revision tags: php-7.4.6, php-7.2.31
# c3d6a0ac 29-Apr-2020 Remi Collet

manage ZEND_DEP_FALIAS in gen_stub


Revision tags: php-7.4.6RC1, php-7.3.18RC1
# fa4bdf1c 21-Apr-2020 Nikita Popov

Make gen_stub parallelism safe

If PHP-Parser is not yet installed, make sure we don't try to
install it N times in parallel.


# 110e6e4f 14-Apr-2020 Nikita Popov

Make gen_stub.php compatible with PHP 7.1 again

Not worth bumping requirements over this...


Revision tags: php-7.2.30, php-7.4.5, php-7.3.17
# dfd0acf0 11-Apr-2020 Máté Kocsis

Generate method entries for ext/dom

Closes GH-5374


# 047d8147 11-Apr-2020 Tyson Andre

Fix an undefined class error running gen_stub in php8

For whatever reason, php 8 would not have loaded the subsequent classes when
running `php build/gen_stub.php path/to/filename.php`.

Fix an undefined class error running gen_stub in php8

For whatever reason, php 8 would not have loaded the subsequent classes when
running `php build/gen_stub.php path/to/filename.php`.
I assume it didn't load the classes immediately because there's a possibility
the code before it would throw.
(Probably because __toString was added recently and prevents early binding)

Also, fix a typo

Closes GH-5369

show more ...


# 3fe49d81 11-Apr-2020 Máté Kocsis

Generate method entries from stubs for a couple of extensions

Closes GH-5368


# 1d05771a 09-Apr-2020 Máté Kocsis

Add support for generating method entries from stubs

Closes GH-5363


# 3709e74b 06-Apr-2020 Máté Kocsis

Store default parameter values of internal functions in arg info

Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal function

Store default parameter values of internal functions in arg info

Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

show more ...


# d5bbb28f 04-Apr-2020 Máté Kocsis

Move variable declaration closer to its usage


# 610815c0 04-Apr-2020 Máté Kocsis

Improve gen_stub.php

Closes GH-5350
Add support for generating deprecated function entries, as well as forward declaration
of function aliases.


# a43bc33f 04-Apr-2020 Máté Kocsis

Annotate function aliases in stubs


# 2bcc4ab8 03-Apr-2020 Nikita Popov

Verify that all stubs have a return type


# d2c92d7f 03-Apr-2020 Nikita Popov

Stubs: Store information per-class

We'll need this if we want to generate method entries.


Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1
# 51bc6233 21-Feb-2020 Nikita Popov

Generate function entries from stubs

If @generate-function-entries is specified in the stub file,
also generate function entries for the extension.

Currently limited to free fun

Generate function entries from stubs

If @generate-function-entries is specified in the stub file,
also generate function entries for the extension.

Currently limited to free functions only.

show more ...


# e11d3b16 02-Apr-2020 Remi Collet

Move gen_stub.php to build directory and install it so phpize can take care of it, and thus extension can use it as it is already in Makefile


12