History log of /PHP-7.4/Zend/zend.c (Results 1 – 25 of 721)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fa713ec1 24-Nov-2020 Nikita Popov

Fixed bug #80362: Running dtrace scripts can cause php to crash

Patch by al at coralnet dot name.


# c1a80e07 15-Jul-2020 Christoph M. Becker

Fix minor memory leak of CG(script_encoding_list)

This only leaks at the end of the process, so per se not an issue, but
the leak is caught by MSVC's CRT leak checker, so we better prope

Fix minor memory leak of CG(script_encoding_list)

This only leaks at the end of the process, so per se not an issue, but
the leak is caught by MSVC's CRT leak checker, so we better properly
clean up to avoid false positives.

show more ...


# a3cb6122 09-Jul-2020 Nikita Popov

Revert "Fixed bug #97599 (coredump in set_error_handler)"

This reverts commit ccd41e083359cf6dd264f88806dce4cc49d9358e.

This causes a large performance regression when notices are t

Revert "Fixed bug #97599 (coredump in set_error_handler)"

This reverts commit ccd41e083359cf6dd264f88806dce4cc49d9358e.

This causes a large performance regression when notices are thrown
and large arrays are in scope, see bug #79794.

show more ...


# 3dfa2583 18-Jun-2020 Nikita Popov

Don't use ternary in ini default

We use sizeof() on ini defaults, so this isn't safe. I can't reproduce
the failures locally, but I expect this to fix the asan jobs.


# 9b3e5792 17-Jun-2020 Nikita Popov

Suppress zend signals check in two readline tests

Installing a callback handler may cause libedit to register new
signals during the request.


# ccd41e08 15-May-2020 Xinchen Hui

Fixed bug #97599 (coredump in set_error_handler)


# 2dddab01 12-Mar-2020 Dmitry Stogov

Avoid "Anonymous class wasn't preloaded" error by lazely loading of not preloaded part of a preloaded script


# 0f2cdbf2 11-Dec-2019 Nikita Popov

Introduce extra counter to avoid RTD key collisions

Also generate a fatal error if a collision occurs in zend_compile.

This is not perfect, because collisions might still be introdu

Introduce extra counter to avoid RTD key collisions

Also generate a fatal error if a collision occurs in zend_compile.

This is not perfect, because collisions might still be introduced
via opcache, if one file is included multiple times during a request,
invalidate in the meantime and recompiled by different processes.

This still needs to be addressed, but this patch fixes the much
more common case of collisions occuring when opcache is not used.

Fixes bug #78903.

show more ...


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3
# 1fea887c 04-Jul-2019 Nikita Popov

Set PROPERTY_TYPES_RESOLVED flag for internal classes

Also make sure that the resolution happens before preloading runs.


Revision tags: php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2
# 0819e6dc 17-Jun-2019 Joe Watkins

simple ignore arguments in exceptions implementation


Revision tags: php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1
# 1df9f238 31-May-2019 Dmitry Stogov

Better hot/cold code splitting


Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1
# ce408504 12-Apr-2019 Nikita Popov

Mark zend_bailout() as a noreturn function


Revision tags: php-7.2.17, php-7.3.4, php-7.1.28
# d1e5006c 27-Mar-2019 Nikita Popov

Fix lineno for more inheritance errors

And also include explicit linenos in tests.


# 0122f395 26-Mar-2019 Nikita Popov

Add zend_error_at API that accepts a filename and lineno

Use this for the opcache preloading warnings, as an example usage.


Revision tags: php-7.3.4RC1, php-7.2.17RC1
# 9499484e 14-Mar-2019 Dmitry Stogov

Implemented a faster way to access predefined TSRM resources - CG(), EG(), etc.


# 04b67bac 12-Mar-2019 Dmitry Stogov

Avoid reinitailization of ZTS cache pointer. Initialize it once in TSRM.c


# df6e9fae 11-Mar-2019 Joe Watkins

drop unused parameter from zend_startup


Revision tags: php-7.1.27, php-7.3.3, php-7.2.16
# ff315098 28-Feb-2019 Nikita Popov

Free map_base_ptr during post_startup


# 89a7b7cc 28-Feb-2019 Nikita Popov

Fix leak in resolve_property_types

We need to free the original string as well, not just the lowercased
one.


Revision tags: php-7.3.3RC1, php-7.2.16RC1
# da3316ff 18-Feb-2019 Tyson Andre

Fix typos in code comments in Zend/ [skip ci]


# ade9d5e9 15-Feb-2019 Nikita Popov

Suppress zend_throw_error during preload constant resolution

Related to bug #77615.


Revision tags: php-7.2.15, php-7.3.2, php-7.2.15RC1
# 92ac598a 22-Jan-2019 Peter Kokot

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.

show more ...


# a4536194 30-Jan-2019 Zeev Suraski

Take out some last remnants of the yearly copyright range


# a81202ac 30-Jan-2019 Zeev Suraski

Adios, yearly copyright ranges


Revision tags: php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14
# e219ec14 07-Jan-2019 Nikita Popov

Implement typed properties

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

This is a squash of PR #3734, which is a squash of PR #3313.

Co-authored-by: Bob Weinand <bobwe

Implement typed properties

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

This is a squash of PR #3734, which is a squash of PR #3313.

Co-authored-by: Bob Weinand <bobwei9@hotmail.com>
Co-authored-by: Joe Watkins <krakjoe@php.net>
Co-authored-by: Dmitry Stogov <dmitry@zend.com>

show more ...


12345678910>>...29