summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-05-121-2/+1
|\ | | | | | | | | | | | | | | | | * PHP-5.3: Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object) fix stack overflow in php_intlog10abs() Conflicts: Zend/zend_execute.c
| * Fixed Bug #62005 (unexpected behavior when incrementally assigning to a ↵Xinchen Hui2012-05-121-2/+1
| | | | | | | | member of a null object)
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Fixed bug #54265 (crash when variable gets reassigned in error handler)Johannes Schlüter2011-03-171-2/+14
| | | | | | | | | | (re-apply 309308, dmitry)
| * - Revert r309308 temporarily to get 5.3.6 outJohannes Schlüter2011-03-171-14/+2
| |
| * Fixed bug #54265 (crash when variable gets reassigned in error handler)Dmitry Stogov2011-03-161-2/+14
| |
| * Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime error)Dmitry Stogov2011-02-141-1/+1
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * Prevented crash in GC because of incorrect reference countingDmitry Stogov2010-09-301-1/+1
| |
| * Fixed bug #48781 (Cyclical garbage collector memory leak)Dmitry Stogov2010-04-201-0/+1
| |
* | Added ability to reset user opcode handlers (Yoram)Dmitry Stogov2012-02-141-1/+6
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | implement the solution for isset/string offsets, fix bug #60362Stanislav Malyshev2011-12-191-2/+20
| |
* | - Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault)Felipe Pena2011-09-171-0/+3
| | | | | | | | | | patch by: laruence@php
* | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-2/+2
| |
* | - Fixed ZTS buildFelipe Pena2011-08-161-1/+1
| |
* | Callable typehint following the rules of is_callable($arg, false);Hannes Magnusson2011-08-161-6/+19
| |
* | Fixed bug #54265 (crash when variable gets reassigned in error handler)Dmitry Stogov2011-03-161-2/+14
| |
* | fix UMR when setting forward string offsetStanislav Malyshev2011-03-161-6/+6
| |
* | Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime error)Dmitry Stogov2011-02-141-1/+3
| |
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | Silently casting an empty string, null or false into an object by adding a ↵Scott MacVicar2010-12-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | property is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts. Since we can't break BC completely (yet) lets bump this from E_STRICT. Also added a new section to UPGRADING for engine changes. <?php $x = ''; // $x = null; // $x = false; $x->baz = 1; var_dump($x); $y = 1; $y->baz = 1; var_dump($y);
* | - Removed unused variableFelipe Pena2010-11-241-1/+0
| |
* | Removed support for break/continue $var syntaxDmitry Stogov2010-11-241-11/+2
| |
* | reduced size of temp_variariableDmitry Stogov2010-10-221-2/+1
| |
* | Simplified foreach() handling, we don't have to inctrement/decrement ↵Dmitry Stogov2010-10-221-16/+1
| | | | | | | | refcount twice
* | - Strip out the typehint *checks* only. They are still parsed, and they areDerick Rethans2010-10-191-30/+11
| | | | | | | | | | still accessible through the reflection API.
* | marked char pointer arguments as const in lots ofHartmut Holzgraefe2010-10-141-1/+1
| | | | | | | | | | | | places where strings pointed to are not modified to prevent compiler warnings about discarded qualifiers ...
* | Fixed bug #51008 (Zend/tests/bug45877.phpt fails)Dmitry Stogov2010-10-051-8/+7
| |
* | Prevented crash in GC because of incorrect reference countingDmitry Stogov2010-09-301-1/+1
| |
* | - Improved memory usageDmitry Stogov2010-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . zend_function.pass_rest_by_reference is replaced by ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags . zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE in zend_function.fn_flags . zend_arg_info.required_num_args removed. it was needed only for internal functions. Now the first arg_info for internal function (which has special meaning) is represented by zend_internal_function_info structure. . zend_op_array.size, size_var, size_literal, current_brk_cont, backpatch_count moved into CG(context), because they are used only during compilation. . zend_op_array.start_op is moved into EG(start_op), because it's used only for 'interactive' execution of single top-level op-array. . zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in zend_op_array.fn_flags. . op_array.vars array is trimmed (reallocated) during pass_two. . zend_class_entry.constants_updated is replaced by ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags . the size of zend_class_entry is reduced by sharing the same memory space by different information for internal and user classes. See zend_class_inttry.info union.
* | Optimization of ASSIGN instructionDmitry Stogov2010-08-111-29/+70
| |
* | OptimizationDmitry Stogov2010-08-101-13/+10
| |
* | ZEND_FETCH_*_R operations simplified and can't be used with EXT_TYPE_UNUSED ↵Dmitry Stogov2010-07-161-42/+24
| | | | | | | | flag any more. Thit is very rare and useless case. ZEND_FREE might be required after them instead.
* | Simplified string offset readingDmitry Stogov2010-07-161-38/+17
| |
* | Removed redundant codeDmitry Stogov2010-06-221-8/+0
| |
* | Added support for numeric & scalar type hint as defined within Ilia Alshanetsky2010-05-241-0/+12
| | | | | | | | | | http://wiki.php.net/rfc/typecheckingstrictandweak RFC
* | - Added scalar typehinting.Derick Rethans2010-05-201-4/+12
| |
* | Add DTrace probesDavid Soria Parra2010-04-241-0/+1
| |
* | Removed unused functionDmitry Stogov2010-04-221-5/+0
| |
* | WSJohannes Schlüter2010-04-201-2/+2
| |
* | Fixed bug #48781 (Cyclical garbage collector memory leak)Dmitry Stogov2010-04-201-0/+2
| |
* | Added a number of small performance tweaks and optimizationsDmitry Stogov2010-04-201-124/+320
| | | | | | | | | | | | | | . ZEND_RECV now always has IS_CV as its result . ZEND_CATCH now has to be used only with constant class names . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
* | Added concept of interned strings. All strings constants known at compile ↵Dmitry Stogov2010-04-201-2/+18
| | | | | | | | time are allocated in a single copy and never changed.
* | Changed the structure of op_array.opcodes. The constant values are moved ↵Dmitry Stogov2010-04-201-83/+88
|/ | | | from opcode operands into a separate literal table
* - Ensure that stderr output are not buffered, portability for testsPierre Joye2010-01-251-0/+4
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* MFH:Matt Wilmas2009-06-041-3/+2
| | | | | | | | | | | | | | | | | | 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
* Fixed bug #48004 (Error handler prevents creation of default object)Dmitry Stogov2009-04-211-4/+2
|
* Fixed bug #48004 (Error handler prevents creation of default object)Dmitry Stogov2009-04-211-10/+10
|