History log of /php-src/main/main.stub.php (Results 1 – 10 of 10)
Revision Date Author Comments
# 6dec6a6d 10-Nov-2024 Christoph M. Becker

Add PHP_BUILD_DATE constant

This information can be occasionally useful, and would otherwise need
to be parsed from `phpinfo()` output.

However, maybe more importantly we unify

Add PHP_BUILD_DATE constant

This information can be occasionally useful, and would otherwise need
to be parsed from `phpinfo()` output.

However, maybe more importantly we unify the build date between what is
given by `php -v` and `php -i`, since these compilation units are not
necessarily preprocessed within the same second.

Closes GH-16747.

show more ...


# cb2c5de3 29-May-2024 Peter Kokot

Add PHP_SBINDIR (#13363)

The PHP_SBINDIR symbol was defined on *nix systems but never used. This
adds the constant similar to PHP_BINDIR also to PHP. On Windows it is
the value of pr

Add PHP_SBINDIR (#13363)

The PHP_SBINDIR symbol was defined on *nix systems but never used. This
adds the constant similar to PHP_BINDIR also to PHP. On Windows it is
the value of prefix configuration when PHP was built (same value as
PHP_BINDIR).

show more ...


# 5bb03158 19-Mar-2024 Máté Kocsis

Add the last few remaining constants to stubs (#13751)

Basically all constants are now declared via stubs. The rest of the constants are either deprecated (`SID` or `MHASH_*`) or out of inte

Add the last few remaining constants to stubs (#13751)

Basically all constants are now declared via stubs. The rest of the constants are either deprecated (`SID` or `MHASH_*`) or out of interest (`__COMPILER_HALT_OFFSET__` and `PHP_CLI_PROCESS_TITLE`).

show more ...


# ffc250d2 09-Jan-2024 Ilija Tovilo

Add runtime type inference verification

Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-12930


# 90800b62 07-Jan-2024 haszi

Change PHP_ZTS and PHP_DEBUG to bool to match their ZEND equivalents (#13079)

Co-authored-by: haszi <haszika80@gmail.com>


# c1a8cc59 24-Dec-2023 haszi

Add PHP_OUTPUT_HANDLER_PROCESSED constant to stubs


# 58657ff2 05-Sep-2023 Máté Kocsis

Fix type of the PHP_FLOAT_DIG constant

It used to be an int (https://github.com/php/php-src/pull/9616/files#diff-2978fe1c2c45b4eca89dc476376ddc7193bc4e5e7fff0c7d1c465f057b35a5e6L2155) before

Fix type of the PHP_FLOAT_DIG constant

It used to be an int (https://github.com/php/php-src/pull/9616/files#diff-2978fe1c2c45b4eca89dc476376ddc7193bc4e5e7fff0c7d1c465f057b35a5e6L2155) before constant registration was refactored.

show more ...


# 2fad7cdd 05-Sep-2023 Máté Kocsis

Fix type of the PHP_FLOAT_DIG constant

It used to be an int (https://github.com/php/php-src/pull/9616/files#diff-2978fe1c2c45b4eca89dc476376ddc7193bc4e5e7fff0c7d1c465f057b35a5e6L2155) before

Fix type of the PHP_FLOAT_DIG constant

It used to be an int (https://github.com/php/php-src/pull/9616/files#diff-2978fe1c2c45b4eca89dc476376ddc7193bc4e5e7fff0c7d1c465f057b35a5e6L2155) before constant registration was refactored.

show more ...


# 66f3b5ff 12-Oct-2022 Máté Kocsis

Declare main constants in stubs - part 3 (#9731)


# 93982b14 30-Sep-2022 Máté Kocsis

Declare main constants in stubs - part 1 (#9616)