summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
Commit message (Collapse)AuthorAgeFilesLines
* MFH: Added zend_eval_stringl and made create_function(), etc. binary-safeMatt Wilmas2009-06-051-7/+18
|
* MFH:Matt Wilmas2009-06-041-1/+1
| | | | | | | | | | | | | | | | | | Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior: * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit) * See bug #42868 (presumably-rare platform with different results in 5.2) * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added, otherwise it's the same as 5.2 * Use this conversion method everywhere instead of some plain (long) casts Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit: * Essentially what 5.3's new conversion was doing in most cases * Functions with "limit" or "length" type params could be updated to use this, and prevent confusing overflow behavior with huge numbers (*also* in 5.2) - See bug #47854, for example; or even #42868 again # Test updates coming
* Calculate hash value onceDmitry Stogov2009-04-081-4/+7
|
* MFH: Removed extra space from eval stringMatt Wilmas2009-03-191-2/+1
|
* Forgotten includeDmitry Stogov2009-03-181-0/+1
|
* Fixed floating point mathematic speed degradation (Christian)Dmitry Stogov2009-03-181-0/+5
|
* - Fixed typoFelipe Pena2009-03-051-3/+3
|
* - MFH: Fixed bug #47572 (zval_update_constant_ex: Segmentation fault)Felipe Pena2009-03-051-3/+5
|
* Fixed bug #47320 ($php_errormsg out of scope in functions)Dmitry Stogov2009-02-091-8/+8
|
* - MFH Catch exceptions in cli -aMarcus Boerger2009-01-021-2/+2
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Fixed bug #46409 (__invoke method called outside of object context when ↵Dmitry Stogov2008-11-271-13/+13
| | | | using array_map)
* - Fixed bug #46665 (Triggering autoload with a variable classname causes ↵Felipe Pena2008-11-251-6/+7
| | | | truncated autoload param)
* MFH: Fix #46241 (stacked error_handlers, error_handling in general)Etienne Kneuss2008-11-191-6/+0
|
* make sure the slash is actually thre before reading past itAntony Dovgal2008-11-121-3/+3
|
* Namespace resolution streamlining patchStanislav Malyshev2008-11-111-29/+6
| | | | | [DOC] new resolution rules should be documented soon
* - Fixed Windows buildFelipe Pena2008-11-051-2/+2
|
* - Next step in namespaces, using / as namespace separator.Marcus Boerger2008-11-041-33/+77
|
* MFH: Use enum alternative instead of explicit valueEtienne Kneuss2008-10-021-1/+1
|
* MFH: initialize variableAntony Dovgal2008-10-011-0/+1
|
* Fixed bug #46106 (Memory leaks when using global statement)Dmitry Stogov2008-09-171-13/+25
|
* MFH: Fix #45656 (new Class silenting exceptions in autoloaders)Etienne Kneuss2008-09-151-14/+6
|
* Fixed bug #45910 (Cannot declare self-referencing constant)Dmitry Stogov2008-08-261-5/+11
|
* - MFH Improve exception linkingMarcus Boerger2008-08-141-5/+5
|
* mark empty_fcall_info and empty_fcall_info_cache as constant. a few less ↵Nuno Lopes2008-08-121-2/+2
| | | | bytes in the dirty page :P
* - MFH Fix shutdown orderMarcus Boerger2008-08-111-1/+2
|
* - MFH error handling, now with save, replace, restoreMarcus Boerger2008-08-081-9/+6
|
* - MFH store error handling mode on stack when executing internalMarcus Boerger2008-08-081-2/+9
| | | | | or overloaded functions and methods. [...]
* Fixed bug #44100 (Inconsistent handling of static array declarations with ↵Dmitry Stogov2008-08-011-4/+4
| | | | duplicate keys).
* *** empty log message ***Dmitry Stogov2008-07-261-4/+4
|
* Added checks for destroied objectsDmitry Stogov2008-07-261-1/+3
|
* Added support for overloaded functions (e.g. COM) in call_user_func().Dmitry Stogov2008-07-261-1/+21
|
* Fixed is_callable/call_user_func mess that had done different things for ↵Dmitry Stogov2008-07-261-291/+35
| | | | very similar arguments e.g. array("A","B") and "A::B"
* Fixed uninitialised dataDmitry Stogov2008-07-251-0/+1
|
* LSB parent/self forwardingDmitry Stogov2008-07-241-14/+37
|
* Added support for lambda functions and closuresDmitry Stogov2008-07-141-1/+8
|
* - Fixed bug #45180 ('class::method' works differently than array('class', ↵Felipe Pena2008-06-051-0/+4
| | | | 'method'))
* - Fixed bug #45089 (__callStatic $name case sensitivity)Felipe Pena2008-06-031-5/+2
|
* Use IS_CV for dirrent access to $this variableDmitry Stogov2008-05-071-6/+7
|
* Use lazy symbol table initialization for op_arrays called from internal php ↵Dmitry Stogov2008-05-061-5/+11
| | | | functions
* GC fixDmitry Stogov2008-05-061-3/+7
|
* Added missing lazy initializationDmitry Stogov2008-04-291-0/+3
|
* Lazy EG(active_symbol_table) initializationDmitry Stogov2008-04-291-1/+38
|
* Optimized ZEND_RETURN opcode to not allocate and copy return value if it is notDmitry Stogov2008-04-111-7/+5
| | | | | used.
* MFH: Implemented "jump label" operator (limited "goto")Felipe Pena2008-03-281-1/+8
| | | | | [DOC]
* On Windows I guess there is no point starting the timeout thread untilRasmus Lerdorf2008-03-191-1/+4
| | | | | we actually have a timeout value.
* Make sure we set the signal handler when reset_signals is true, regardlessRasmus Lerdorf2008-03-191-8/+9
| | | | | of the actual timeout value.
* exit_on_timeout patchRasmus Lerdorf2008-03-181-8/+14
| | | | | | | | | | | | | | | | | | | | | After the sigsetjmp change, this is patch #2 in an effort to get some sanity restored to signal handling in PHP. This patch does two things. First, it makes it possible to reset the timeout without resetting the signal handlers. This is important for cases where an extension may have deferred signals in its MINIT in order to implement critical sections. It also lays the groundwork for cleaning up our signal handling and perhaps eventually implementing our own signal deferring mechanism so we can have true critical sections. The second thing this does is to make it possible to terminate the current child process (only for Apache1 at the moment) on a timeout. There are a number of extensions that are unhappy about being longjmp'ed out of and when this happens on a timeout they are left in an inconsistent state. By turning on exit_on_timeout you can now force the process to terminate on a timeout which will clean up any hanging locks and/or memory left hanging after the longjmp.
* MFH: Dropped zend.ze1_compatibility_modeFelipe Pena2008-03-181-5/+0
| | | | | [DOC]
* Implemented concept of "delayed early binding" that allows opcode caches to ↵Dmitry Stogov2008-03-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. The following pseudo-code explains how it should be used in opcode cache. function cache_compile_file($filename) { if (!is_cached($filename)) { ... orig_compiler_options = CG(compiler_optins); CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES | ZEND_COMPILE_DELAYED_BINDING; $op_array = orig_compile_file($filename); CG(compiler_options) = orig_copiler_options; ... } else { $op_array = restore_from_cache($filename); } zend_do_delayed_early_binding($op_array); }