History log of /PHP-7.1/Zend/zend_compile.c (Results 276 – 300 of 1956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 000d5d7e 23-Apr-2015 Dmitry Stogov

Dont't use DO_ICALL for internal functions returned by reference


# ea2fc7f9 23-Apr-2015 Xinchen Hui

Slight improvement


# f2435bd2 23-Apr-2015 Kalle Sommer Nielsen

Fixed compiler warning


# 15a5f61c 22-Apr-2015 Dmitry Stogov

Use fast method to check if first arguments should be passed by reference (not tested onbig endian).


# d2607a01 20-Apr-2015 Nikita Popov

Move more stuff to file_context

Introduce helper macro FC(x) for CG(file_context).x.

end_compilation() now handled by file_context_end().

While at it, dropped zval wrapper

Move more stuff to file_context

Introduce helper macro FC(x) for CG(file_context).x.

end_compilation() now handled by file_context_end().

While at it, dropped zval wrapper for ticcks.

show more ...


# a5086938 21-Apr-2015 Xinchen Hui

Remove tail blank which is committed by accident


# c667c26f 21-Apr-2015 Xinchen Hui

Fixed Bug #69467 (Wrong checked for the interface by using Trait)


# 0381c1b7 20-Apr-2015 Nikita Popov

Fixed bug #69388

Renamed compiler_context to oparray_context. Introduced per-file
file_context. Moved import tables into the file_context.

context_stack no longer exists, instea

Fixed bug #69388

Renamed compiler_context to oparray_context. Introduced per-file
file_context. Moved import tables into the file_context.

context_stack no longer exists, instead keeping backups of contexts
on C stack. Same for file contexts.

TODO: Move more things out of CG into file_context. There should be
a number of other things that we should not try to reuse in nested
compilations.

show more ...


# 429f411e 10-Apr-2015 Xinchen Hui

Fixed bug #69420 (Invalid read in zend_std_get_method)


# cc70a465 06-Apr-2015 Nikita Popov

Fix bug #60022


# cae0147e 06-Apr-2015 Dmitry Stogov

Fixed weird operators behavior. Division by zero now emits warning and returns +/-INF, modulo by zero and intdid() throws an exception, shifts by negative offset throw exceptions. Compile-time evalua

Fixed weird operators behavior. Division by zero now emits warning and returns +/-INF, modulo by zero and intdid() throws an exception, shifts by negative offset throw exceptions. Compile-time evaluation of division by zero is disabled.

show more ...


# ec760d8f 01-Apr-2015 Dmitry Stogov

Convert fatal errors into EngineExceptions


# 8c031a3f 01-Apr-2015 Dmitry Stogov

Handle incorrect break/continue statements at compile-time


# acfc31c0 01-Apr-2015 Dmitry Stogov

Use zend_error_noreturn() for fatal errors


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# 8d003858 15-Mar-2015 Nikita Popov

Reclassify E_STRICT notices

Per RFC https://wiki.php.net/rfc/reclassify_e_strict

While reviewing this, found that there are still three E_STRICTs
left in libraries - need to dis

Reclassify E_STRICT notices

Per RFC https://wiki.php.net/rfc/reclassify_e_strict

While reviewing this, found that there are still three E_STRICTs
left in libraries - need to discuss those.

show more ...


# 6ef92162 31-Mar-2015 Nikita Popov

Finish PHP 4 constructor deprecation


# db76b708 31-Mar-2015 Andrea Faulds

Deprecate PHP 4 constructors


# 53a40386 30-Mar-2015 Nikita Popov

Implement additional type reservations

* The class names false, true and null are now reserved.
* The code dealing with reserved class names is now decoupled
from scalar type hi

Implement additional type reservations

* The class names false, true and null are now reserved.
* The code dealing with reserved class names is now decoupled
from scalar type hint handling. It also includes self, parent,
and static, which are class names which were already reserved
previously.
* Reuse existing messages for reserved class names.

Fallout: class_alias() can no longer alias self, parent and static.
However this never really worked in the first place, as the test
which was testing this shows.

show more ...


# c64f5e33 27-Mar-2015 Nikita Popov

Disallow direct incdec of function return value

Matching PHP 5 behavior.

We may want to support this for by-reference returns, but that
requires implementing further checks.


# 84d94267 27-Mar-2015 Xinchen Hui

Fixed bug #69315


# 67b907f0 26-Mar-2015 Kalle Sommer Nielsen

Change the error message for colliding class/interface/trait names to be a little more clearer.

C:\> php -r "interface stdClass { }"
Error: Cannot declare interface stdClass, because

Change the error message for colliding class/interface/trait names to be a little more clearer.

C:\> php -r "interface stdClass { }"
Error: Cannot declare interface stdClass, because the name is already in use in Command Line Code on line 1

show more ...


# 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 ...


# 23c33b14 24-Mar-2015 Dmitry Stogov

Optimized strings concatenation.
ZEND_ADD_STRING/VAR/CHAR are replaced with ZEND_ROPE_INTI, ZEND_ROPE_ADD, ZEND_ROPE_END.
Instead of reallocation and copying string on each ZEND_ADD_STRING/VA

Optimized strings concatenation.
ZEND_ADD_STRING/VAR/CHAR are replaced with ZEND_ROPE_INTI, ZEND_ROPE_ADD, ZEND_ROPE_END.
Instead of reallocation and copying string on each ZEND_ADD_STRING/VAR/CAHR, collect all the strings and then allocate and construct the resulting string once.

show more ...


# 1cfa4db3 20-Mar-2015 Dmitry Stogov

Fixed return type hint handling for constants


# 44669e8f 20-Mar-2015 Dmitry Stogov

Fixed white spaces


1...<<11121314151617181920>>...79