History log of /PHP-8.4/Zend/zend_builtin_functions.c (Results 101 – 125 of 878)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8f4f1dea 03-Jan-2020 Máté Kocsis

Convert zend_parse_parameters_none() to fast ZPP

I've done the conversion in those extensions where fast ZPP is predominant.


# e1b57310 30-Dec-2019 Máté Kocsis

Use RETURN_THROWS() during ZPP in main, sapi, win32, and Zend


# f09b958e 24-Dec-2019 Xinchen Hui

Similar problem (#79022) also exists in Interfaces


# 153c9cc3 24-Dec-2019 Xinchen Hui

Fixed bug #79022 (class_exists returns True for classes that are not ready to be used)


# 0e807077 20-Dec-2019 Máté Kocsis

Make get_defined_vars() always return an array

GH-5025


# 2204dbde 31-Oct-2019 Máté Kocsis

Add missing ZPP checks

Closes GH-4878.


# ca652aaf 04-Oct-2019 Nikita Popov

Fixed bug #78632

I'm going for a very conservative fix here, where the previous
logic is restored for the case where an object is passed to
method_exists(). We might want to check ag

Fixed bug #78632

I'm going for a very conservative fix here, where the previous
logic is restored for the case where an object is passed to
method_exists(). We might want to check against EG(scope) instead,
but this seems like a safer choice.

This means that behavior in PHP 7.4 changes only for
method_exists('C', 'privateMethodNotOnC'), which should be sensible.

show more ...


# 62553086 03-Sep-2019 Nikita Popov

Report false for inherited private methods in method_exists()

These shadow methods only exist as internal implementation markers.
This mirrors the behavior of property_exists().


# d93b0945 27-Aug-2019 Nikita Popov

Throw TypeError from VM implementation of get_class()

The normal function already throws TypeError through the usual zpp
mechanism, but the VM implementation handles this manually and ha

Throw TypeError from VM implementation of get_class()

The normal function already throws TypeError through the usual zpp
mechanism, but the VM implementation handles this manually and has
not been updated.

show more ...


# 33886f71 18-Jun-2019 Nikita Popov

Generate arginfo from PHP stub files

Signature stubs for internal functions are specified in xyz.stub.php,
from which we generate actual arginfo structures in xyz_arginfo.h.
This fil

Generate arginfo from PHP stub files

Signature stubs for internal functions are specified in xyz.stub.php,
from which we generate actual arginfo structures in xyz_arginfo.h.
This file then needs to be included in the implementation appropriately.

Arginfo from stubs can be regenerated using scripts/dev/gen_stub.php.
However, this should also automatically happen when the stub file is
modified.

show more ...


# a49d53ba 23-Jul-2019 Nikita Popov

Don't skip uninitialized typed props in get_class_vars()

For bug #78319.


# 227a9c75 17-Jun-2019 Nikita Popov

Add types to a couple of builtin functions


# eecd8961 14-May-2019 Nikita Popov

Add get_mangled_object_vars() function


# 252216b2 06-Jun-2019 Nikita Popov

Remove possible false return value from get_object_vars()

I'm not sure this one ever happens in practice (and we might want
to forbid NULL return from get_properties), but if it does, re

Remove possible false return value from get_object_vars()

I'm not sure this one ever happens in practice (and we might want
to forbid NULL return from get_properties), but if it does, return
an empty array instead of false.

show more ...


# 457392fa 05-Jun-2019 Dmitry Stogov

Cheaper checks for exceptions thrown from __toString()


# a31f4642 26-Feb-2019 Nikita Popov

Allow exceptions in __toString()

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

And convert some object to string conversion related recoverable
fatal errors into Error excep

Allow exceptions in __toString()

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

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.

show more ...


# 45a0656e 29-May-2019 Nikita Popov

Remove get() object handler

Now that set() is gone, there is little point in keeping get(), as
it is essentially just a different way of writing cast_object()
now.

Closes GH

Remove get() object handler

Now that set() is gone, there is little point in keeping get(), as
it is essentially just a different way of writing cast_object()
now.

Closes GH-4202.

show more ...


# b2cb6a4a 28-May-2019 Dmitry Stogov

Avoid double copying


# 1493c735 28-May-2019 Nikita Popov

Update MAY_BE_NULL func_info for Zend functions

These cannot return NULL anymore in PHP 8.


# e6fac86d 24-May-2019 Nikita Popov

Accept flags argument in zend_lookup_class_ex()

Instead of a single boolean, so we have space for extension here.


# 3f19f511 14-May-2019 Nikita Popov

Add RETURN_EMPTY_ARRAY() / RETVAL_EMPTY_ARRAY()

The usual wrappers around ZVAL_EMPTY_ARRAY()...


# 5456a6ea 18-Mar-2019 rjhdby

Deduplicate code in zend_builtin_functions.c


# 12ffee57 18-Feb-2019 Tyson Andre

Fixed bug #77631

Do not include unbound anonymous classes in get_declared_classes().

Note that earlier PHP versions would include the anonymous class in
get_declared_classes(),

Fixed bug #77631

Do not include unbound anonymous classes in get_declared_classes().

Note that earlier PHP versions would include the anonymous class in
get_declared_classes(), and return false until the class was bound,
but would not crash.

show more ...


# 1a5cff33 14-Feb-2019 Nikita Popov

Remove bogus ctor checks in get_class_methods() + reflection

Contrary to the comments, these only hide constructors (old or new
style) if they a) are inherited b) come from a trait and c

Remove bogus ctor checks in get_class_methods() + reflection

Contrary to the comments, these only hide constructors (old or new
style) if they a) are inherited b) come from a trait and c) are
aliased -- which doesn't make any sense at all.

show more ...


# 43a7d950 14-Feb-2019 Dmitry Stogov

Fixed bug #77613 (method visibility change) (reverted ZEND_ACC_CTOR and ZEND_ACC_DTOR flags removal)


12345678910>>...36