History log of /PHP-8.0/Zend/zend_compile.h (Results 326 – 350 of 882)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE
# 32314f6b 14-Aug-2014 Keyur Govande

Fix destruction order in zend_shutdown (bug #65463, #66036)

If Apache or a similar SAPI receives a signal during PHP processing
it calls zend_shutdown() without calling shutdown_executor

Fix destruction order in zend_shutdown (bug #65463, #66036)

If Apache or a similar SAPI receives a signal during PHP processing
it calls zend_shutdown() without calling shutdown_executor().
#65463: If a module like Gearman or Memcached is loaded,
in the unfixed version it is unloaded by zend_destroy_modules() before the
CG(CLASS_TABLE) is destructed. When CG(CLASS_TABLE) is destructed,
any pointers to methods (specifically around destruction) in the unloaded
module's .so are now dangling and the process segfaults.
#66036: Any subclasses of an internal class like ArrayObject need
to be destructed in order: subclass first and then the internal class. In the
unfixed version zend_shutdown() clears the CG(CLASS_TABLE) from the head
of the list onwards, so internal classes are destructed first and user-defined
classes last. Internal classes are alloc/deallocated with malloc/free while
user-defined classes with emalloc/efree. If there's shared data between them
then efree() could be called instead of free() leading to a seg-fault.

show more ...


Revision tags: php-5.6.0RC4, php-5.3.29
# 4a3e501f 08-Aug-2014 Dmitry Stogov

cleanup


Revision tags: php-5.5.16RC1, php-5.4.32RC1
# ce1af1e4 05-Aug-2014 Dmitry Stogov

Fixed bug #67725 (now we create immutable arrays only in SHM)


Revision tags: php-5.3.29RC1
# 6cf89612 30-Jul-2014 Nikita Popov

Support doc comments for propreties


# 0cd9cffb 30-Jul-2014 Nikita Popov

Rename _tmp_compile_const_expr

Also remove recursive immutization of arrays there, because this
is already handled when the array is created.


Revision tags: php-5.6.0RC3
# 85bf8b4f 30-Jul-2014 Andrea Faulds

Fixed unbound scoped closure edge cases and added tests for them


# e403b27a 28-Jul-2014 Nikita Popov

Remove old macro/function


# 4c05bec5 28-Jul-2014 Nikita Popov

Remove some unused compiler globals


# 31a886c3 28-Jul-2014 Nikita Popov

More dead code


# 55f53e29 28-Jul-2014 Nikita Popov

zend_get_class_fetch_type works on zend_string


# 50aefcf0 28-Jul-2014 Nikita Popov

Remove duplicate code


# 38c4125c 28-Jul-2014 Nikita Popov

Cleanup dead/duplicate code


# 1d79fb30 28-Jul-2014 Nikita Popov

Add zend_ast_list* variant to parser stack element


# bea85f58 27-Jul-2014 Nikita Popov

Use more specific parser stack nodes


# 1ea9a2d9 27-Jul-2014 Nikita Popov

Cleanup member modifier code


# df42793c 26-Jul-2014 Nikita Popov

Create namespace_name via AST


# c0790712 26-Jul-2014 Nikita Popov

zend_do_return -> zend_emit_final_return


# 9344a95a 26-Jul-2014 Nikita Popov

Remove dead code


Revision tags: php-5.5.15, php-5.4.31
# a7fc995f 22-Jul-2014 Nikita Popov

Dead code


# 2653b8b5 22-Jul-2014 Nikita Popov

Handle __halt_compiler()


# de2f132f 22-Jul-2014 Nikita Popov

Add NS error checks

Those can probably be implemented in a better way now...


# 776800b0 22-Jul-2014 Nikita Popov

Discard NS doc comments


# 130b6340 22-Jul-2014 Nikita Popov

Code cleanup


# cc0bef66 22-Jul-2014 Nikita Popov

Fix namespace\, maybe


# 9c69c41a 22-Jul-2014 Nikita Popov

Port top level stmt

Problem: namespace\foo no longer works :/


1...<<11121314151617181920>>...36