summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Fixed bug #66252 (Problems in AST evaluation invalidating valid parent:: ↵Dmitry Stogov2013-12-101-2/+2
| | | | reference. Constant expessions have to be evaluated in context of defining class).
* Merge branch 'PHP-5.5' into PHP-5.6Dmitry Stogov2013-11-291-0/+8
|\ | | | | | | | | | | | | | | * PHP-5.5: Added validation of class names in the autoload process Conflicts: NEWS
| * Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2013-11-291-0/+8
| |\ | | | | | | | | | | | | * PHP-5.4: Added validation of class names in the autoload process
| | * Added validation of class names in the autoload processDmitry Stogov2013-11-291-0/+8
| | |
* | | Constant expressions refactoringDmitry Stogov2013-11-061-173/+168
| | |
* | | converted several switches to ifs and made more opcache friendlyBob Weinand2013-11-011-4/+3
| | |
* | | Fatal error about self referencing constants fixedBob Weinand2013-10-311-2/+0
| | |
* | | Fixed mem leaks, added tests and ternary operatorBob Weinand2013-10-311-1/+1
| | |
* | | Working commit for constant scalar expressions (with constants).Bob Weinand2013-10-311-157/+177
| | | | | | | | | | | | Tests will follow.
* | | Save a TSRMLS_FETCH() for zval_ptr_dtor in executorNikita Popov2013-09-141-1/+2
| | | | | | | | | | | | This gives me about 9% improvement on Zend/bench.php for a zts build.
* | | Provide more macros for handling of interned stringsNikita Popov2013-09-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * str_erealloc behaves like erealloc for normal strings, but will use emalloc+memcpy for interned strings. * str_estrndup behaves like estrndup for normal strings, but will not copy interned strings. * str_strndup behaves like zend_strndup for normal strings, but will not copy interned strings. * str_efree_rel behaves like efree_rel for normal strings, but will not free interned strings. * str_hash will return INTERNED_HASH for interned strings and compute it using zend_hash_func for normal strings.
* | | Always pass return_value_ptr to internal functionsNikita Popov2013-08-311-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous some places passed return_value_ptr only if the function returned by reference. Now return_value_ptr is always set, even for functions returning by-value. This allows you to return zvals without copying their contents. For this purpose two new macros RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST are added: RETVAL_ZVAL_FAST(zv); /* Analog to RETVAL_ZVAL(zv, 1, 0) */ RETURN_ZVAL_FAST(zv); /* Analog to RETURN_ZVAL(zv, 1, 0) */ These macros behave similarly to the non-FAST versions with copy=1 and dtor=0, with the difference that the FAST versions will try return the zval without copying by utilizing return_value_ptr.
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-1/+1
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-06-051-4/+2
|\ \ | |/
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-06-051-4/+2
| |\
| | * Fixed bug #64960 (Segfault in gc_zval_possible_root)Xinchen Hui2013-06-051-4/+2
| | |
| | * Happy New YearXinchen Hui2013-01-011-1/+1
| | |
| | * Typo when merging from trunkXinchen Hui2012-03-111-1/+1
| | |
| | * Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks ↵Xinchen Hui2012-03-111-1/+1
| | | | | | | | | | | | / crashes)
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator)Dmitry Stogov2011-11-181-4/+5
| | |
| | * Fixed bug #54367 (Use of closure causes problem in ArrayAccess)Dmitry Stogov2011-05-111-9/+11
| | |
| | * Fixed bug #54268 (Double free when destroy_zend_class fails)Dmitry Stogov2011-04-151-0/+2
| | |
| | * - Year++Felipe Pena2011-01-011-1/+1
| | |
| | * Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF)Dmitry Stogov2010-10-131-1/+2
| | |
| | * - Fixed bug #51905 (ReflectionParameter fails if default value is an array ↵Felipe Pena2010-05-261-1/+13
| | | | | | | | | | | | with an access to self::)
| | * fix #51394 - try harder to find script lineno when exception happensStanislav Malyshev2010-04-011-0/+4
| | |
* | | Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2013-03-281-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Fixed bug #64529 (Ran out of opcode space) Conflicts: NEWS Zend/zend_execute_API.c Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h
| * | Fixed bug #64529 (Ran out of opcode space)Dmitry Stogov2013-03-281-1/+1
| | |
| * | Happy New YearXinchen Hui2013-01-011-1/+1
| | |
| * | Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks ↵Xinchen Hui2012-03-111-1/+1
| | | | | | | | | | | | / crashes)
| * | MFH: Fixed bug #60978 (exit code incorrect)Xinchen Hui2012-03-021-1/+7
| | |
| * | Revert -r319102 and -r322922 in 5.4 branch since they introduce #60978Xinchen Hui2012-02-081-6/+2
| | | | | | | | | | | | | | | | | | Fixed #60978 in trunk without reverting previous fix #see http://news.php.net/php.internals/57789
| * | - Reinstated correct return values after David's fix for #60218.Derick Rethans2012-01-291-2/+4
| | |
| * | Improved traits implementation. Now to support __CLASS__ constant in traits ↵Dmitry Stogov2012-01-171-4/+4
| | | | | | | | | | | | php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.
| * | - Year++Felipe Pena2012-01-011-1/+1
| | |
| * | Fix #60218 (instantiating unknown class leads to memory leak in cli)David Soria Parra2011-11-121-1/+3
| | |
| * | Improved ternary operator performance when returning arraysArnaud Le Blanc2011-10-181-0/+1
| | |
| * | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-11/+12
| | |
| * | - fix build when no zend signal supportPierre Joye2011-09-081-0/+2
| | |
| * | Make timeouts work again for shutdown functions.Rasmus Lerdorf2011-09-071-0/+7
| | | | | | | | | | | | | | | Fixes the faling lang/045 test
| * | Since we have fci_cache = &fci_cache_local inside that blockRasmus Lerdorf2011-08-071-1/+1
| | | | | | | | | | | | | | | | | | and fci_cache is then later used outside the block, fci_cache_local can't be block-scoped here
| * | Zend Signal HandlingIlia Alshanetsky2011-06-221-13/+15
| | |
* | | Happy New YearXinchen Hui2013-01-011-1/+1
| | |
* | | Removed unnecessary checksDmitry Stogov2012-12-131-2/+2
| | |
* | | Removed redundand checks from release buildDmitry Stogov2012-12-131-21/+1
| | |
* | | Optimized access to temporary and compiled VM variablesDmitry Stogov2012-12-041-9/+9
| | |
* | | . The VM stacks for passing function arguments and syntaticaly nested calls ↵Dmitry Stogov2012-11-301-8/+6
| | | | | | | | | | | | | | | | | | were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more. . Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.