History log of /PHP-7.1/Zend/zend_API.h (Results 51 – 75 of 445)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 927d53fd 25-Mar-2015 Kalle Sommer Nielsen

Change "Cannot redeclare class X" into "Cannot redeclare class/interface/trait X", meaning that the following:

C:\> php -r "trait A { } trait A { }"

Will now properly print "Cannot

Change "Cannot redeclare class X" into "Cannot redeclare class/interface/trait X", meaning that the following:

C:\> php -r "trait A { } trait A { }"

Will now properly print "Cannot redeclare trait A" instead of "Cannot redeclare class A" to make error messages a tiny bit clearer. Admittedly, a better solution can most likely be made by actually telling what the colliding object is a type of.

Internally this adds a new function:
zend_get_object_type()

show more ...


# 550b07ae 24-Mar-2015 Dmitry Stogov

cleanup


# ccfd5388 22-Mar-2015 Nikita Popov

Revert "Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too"

This reverts commit d4da7c20d2d642a6f0f81bde836576b9970969af.

The argument passed to this function refers to the weak mode

Revert "Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too"

This reverts commit d4da7c20d2d642a6f0f81bde836576b9970969af.

The argument passed to this function refers to the weak mode
severity, strict mode will get an exception in any case.

show more ...


# d4da7c20 21-Mar-2015 Bob Weinand

Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too


# 35f9b90b 20-Mar-2015 Dmitry Stogov

ZPP changed to lazely check for "strict/weak" only if it's really necessary.
Cleanup.


# 054591ab 20-Mar-2015 Dmitry Stogov

Imroved ZPP rules (condititins reoredered to prevent duplicate checks)


# 59356126 20-Mar-2015 Dmitry Stogov

Improved type hinting:

EX_PREV_USES_STRICT_TYPES() and family changed/renamed to fit with other macros
Optimized zend_verify_internal_arg_type() and family (they don't need "strict" argu

Improved type hinting:

EX_PREV_USES_STRICT_TYPES() and family changed/renamed to fit with other macros
Optimized zend_verify_internal_arg_type() and family (they don't need "strict" argument anymore)
Standerd ZPP is called from VM only for weak type check or strict exception (int -> double)
Fixed ZEND_RECV_VARIADIC
Fixed ZEND_STRLEN

TODO: should we accept IS_NULL for non-nullable arguments?

show more ...


# 7044f9c6 19-Mar-2015 Anthony Ferrara

Refactor as to not use call info, but add the flag to the op_array.


# 0ef80ac3 19-Mar-2015 Anthony Ferrara

Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come


# 579e7fa4 18-Mar-2015 Anthony Ferrara

Style cleanup, as well as fixing bug with missing argument for WRONG_PARAM_COUNT_WITH_RETVAL


# 8be4266f 18-Mar-2015 Anthony Ferrara

Clean up API renames for zend_wrong_param_count to maintain BC, introducing a zend_wrong_param_count_ex() function when you know strict value


# 86336856 12-Mar-2015 Dmitry Stogov

Use specialized macro for string zval creation


# bb050453 08-Mar-2015 Rouven Weßling

Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22
# 00b3e77e 18-Feb-2015 Anthony Ferrara

Move declare() to the top of the file only, and allow int->float generalization


Revision tags: php-5.4.38
# 07fdc1c7 12-Feb-2015 Anatol Belski

fix data types


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 44ed070a 01-Feb-2015 Andrea Faulds

Fix Gd usages of ZEND_WRONG_PARAM_COUNT, add usage note


# 86b0685f 25-Jan-2015 Andrea Faulds

Prefix zend_wrong_param_count with _ to discourage use


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37
# fe663cc4 13-Jan-2015 Andrea Faulds

Partial ZPP strictness implementation


# a3379d66 05-Feb-2015 Xinchen Hui

Padding


# bff4c47f 04-Feb-2015 Reeze Xia

Implemented internal function return types


# 3e31838d 22-Jan-2015 Dmitry Stogov

zend_read_property() has to provide a holder for return value.
Previously it was possible that zend_read_property() returned pointer to zval allocated on stack.


# 6c9621c9 17-Jan-2015 Rasmus Lerdorf

typo


# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


12345678910>>...18