]> granicus.if.org Git - php/log
php
10 years agoFix array/object cast of refcounted tmp var
Nikita Popov [Mon, 13 Oct 2014 12:51:53 +0000 (14:51 +0200)]
Fix array/object cast of refcounted tmp var

10 years agoDeref right value for compound assign ops
Nikita Popov [Sun, 12 Oct 2014 20:01:09 +0000 (22:01 +0200)]
Deref right value for compound assign ops

Currently we do not support IS_REFERENCE operands for most of our
*_function's (should we?), so we need to deref here.

10 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Mon, 13 Oct 2014 10:10:44 +0000 (14:10 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.

Conflicts:
ext/opcache/Optimizer/pass1_5.c

10 years agoWe can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Dmitry Stogov [Mon, 13 Oct 2014 10:07:37 +0000 (14:07 +0400)]
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.

10 years agoEnsure __LINE__ is always accurate
Nikita Popov [Sun, 12 Oct 2014 18:54:45 +0000 (20:54 +0200)]
Ensure __LINE__ is always accurate

10 years agoFix incdec of referenced properties
Nikita Popov [Sun, 12 Oct 2014 18:39:07 +0000 (20:39 +0200)]
Fix incdec of referenced properties

I thought these SEPARATE_ZVAL_IF_NOT_REF usages were safe at first,
because incdec op supports reference variables. However this
violates the constraint that IS_TMP_VAR variables may not be
references (which is an issue if you use the result of the incdec
op).

Still need to fix the cases where read_property/write_property is
used.

10 years agoFix ::jsonSerialize() failure message
Nikita Popov [Sun, 12 Oct 2014 18:11:57 +0000 (20:11 +0200)]
Fix ::jsonSerialize() failure message

10 years agoFix invalid zend_string_frees in reflection
Nikita Popov [Sun, 12 Oct 2014 17:01:45 +0000 (19:01 +0200)]
Fix invalid zend_string_frees in reflection

zend_lookup_class can share the name

10 years agoRemove retval member in spl_dllist
Nikita Popov [Fri, 10 Oct 2014 13:32:04 +0000 (15:32 +0200)]
Remove retval member in spl_dllist

Seems pretty useless, unless I'm missing something?

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sun, 12 Oct 2014 17:22:40 +0000 (19:22 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  DLL export several APIs needed for phpdbg

10 years agoDLL export several APIs needed for phpdbg
Anatol Belski [Sun, 12 Oct 2014 17:22:03 +0000 (19:22 +0200)]
DLL export several APIs needed for phpdbg

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Sun, 12 Oct 2014 04:55:24 +0000 (12:55 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  More fixes for nodelist array access
  - testing for null property read
  - no zval copying if the type is already long
  - memory fix for master
  - use zend_long for offset

Conflicts:
ext/dom/php_dom.c

10 years agoMore fixes for nodelist array access
Tjerk Meesters [Sun, 12 Oct 2014 04:47:58 +0000 (12:47 +0800)]
More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master

10 years agoint to size_t where the underlaying API supports it
Anatol Belski [Thu, 9 Oct 2014 08:53:28 +0000 (10:53 +0200)]
int to size_t where the underlaying API supports it

10 years agouse php_socket_t instead of int
Anatol Belski [Thu, 9 Oct 2014 08:35:47 +0000 (10:35 +0200)]
use php_socket_t instead of int

10 years agofix signed/unsigned mismatch warning
Anatol Belski [Thu, 9 Oct 2014 07:03:37 +0000 (09:03 +0200)]
fix signed/unsigned mismatch warning

10 years agofix compilation warning
Anatol Belski [Thu, 9 Oct 2014 06:49:55 +0000 (08:49 +0200)]
fix compilation warning

10 years agoImproved specialisation $this variable accessed through IS_UNUSED operand must be...
Dmitry Stogov [Fri, 10 Oct 2014 12:36:12 +0000 (16:36 +0400)]
Improved specialisation $this variable accessed through IS_UNUSED operand must be IS_OBJECT, so we don't have to check for its type or perform dereference.

10 years agoAdd notes about get_class_entry/get_class_name to UPGRADING
Nikita Popov [Fri, 10 Oct 2014 10:28:55 +0000 (12:28 +0200)]
Add notes about get_class_entry/get_class_name to UPGRADING

10 years agoFix casts in GD
Nikita Popov [Fri, 10 Oct 2014 10:23:33 +0000 (12:23 +0200)]
Fix casts in GD

Using convert_to_* after ZVAL_COPY is unsafe.

10 years agoDrop redundant casting code from ext/filter
Nikita Popov [Fri, 10 Oct 2014 10:14:26 +0000 (12:14 +0200)]
Drop redundant casting code from ext/filter

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:58 +0000 (11:45 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoMerge branch 'PHP-5.6'
Ard Biesheuvel [Fri, 10 Oct 2014 09:46:18 +0000 (11:46 +0200)]
Merge branch 'PHP-5.6'

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:24 +0000 (11:45 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:52 +0000 (11:44 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:39 +0000 (11:44 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Fri, 10 Oct 2014 09:41:10 +0000 (11:41 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:40:07 +0000 (11:40 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoAdded note to UPGRADING regarding 64-bit support in pack()/unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:33:06 +0000 (07:33 +0800)]
Added note to UPGRADING regarding 64-bit support in pack()/unpack()

10 years agopack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
Tjerk Meesters [Thu, 9 Oct 2014 23:20:10 +0000 (07:20 +0800)]
pack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 23:05:36 +0000 (07:05 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add 64 bit formats to pack() and unpack()

10 years agoRFC: 64 bit format codes for pack() and unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:00:38 +0000 (07:00 +0800)]
RFC: 64 bit format codes for pack() and unpack()

10 years agoAdd 64 bit formats to pack() and unpack()
Leigh [Mon, 8 Sep 2014 20:59:32 +0000 (21:59 +0100)]
Add 64 bit formats to pack() and unpack()

10 years agoHelp to CPU branch predictor
Dmitry Stogov [Thu, 9 Oct 2014 19:58:41 +0000 (23:58 +0400)]
Help to CPU branch predictor

10 years agoRemoved unused EG(orig_error_reporting)
Dmitry Stogov [Thu, 9 Oct 2014 19:38:39 +0000 (23:38 +0400)]
Removed unused EG(orig_error_reporting)

10 years agoUpdate get_class_name semantics
Nikita Popov [Thu, 9 Oct 2014 17:15:07 +0000 (19:15 +0200)]
Update get_class_name semantics

 * get_class_name is now only used for displaying the class name
   in debugging functions like var_dump, print_r, etc. It is no
   longer used in get_class() etc.
 * As it is no longer used in get_parent_class() the parent
   argument is now gone. This also fixes incorrect parent classes
   being reported in COM.
 * get_class_name is now always required (previously some places
   made it optional and some required it) and is also required
   to return a non-NULL value.
 * Remove zend_get_object_classname. This also fixes a number of
   potential leaks due to incorrect usage of this function.

10 years agoRemove Z_OBJ_CLASS_NAME_P
Nikita Popov [Thu, 9 Oct 2014 15:16:37 +0000 (17:16 +0200)]
Remove Z_OBJ_CLASS_NAME_P

Doesn't make much sense anymore, now that get_class_entry is
gone.

10 years agoImproved VM stack primitives for fast paths. Slow paths are not inlined anymore.
Dmitry Stogov [Thu, 9 Oct 2014 16:29:02 +0000 (20:29 +0400)]
Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 15:32:19 +0000 (23:32 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Refactored DOMNodeList array dereferencing implementation

Conflicts:
ext/dom/nodelist.c
ext/dom/php_dom.c

10 years agoRefactored DOMNodeList array dereferencing implementation
Tjerk Meesters [Thu, 9 Oct 2014 15:07:12 +0000 (23:07 +0800)]
Refactored DOMNodeList array dereferencing implementation

10 years agozval must not be converted in place without duplication
Dmitry Stogov [Thu, 9 Oct 2014 14:34:19 +0000 (18:34 +0400)]
zval must not be converted in place without duplication

10 years agoRemove PDORow get_class_entry handler
Nikita Popov [Thu, 9 Oct 2014 13:23:14 +0000 (15:23 +0200)]
Remove PDORow get_class_entry handler

10 years agoRemove get_class_entry handlers in COM
Nikita Popov [Thu, 9 Oct 2014 12:42:56 +0000 (14:42 +0200)]
Remove get_class_entry handlers in COM

10 years agoRemove zend_get_class_entry function
Nikita Popov [Thu, 9 Oct 2014 12:17:30 +0000 (14:17 +0200)]
Remove zend_get_class_entry function

10 years agoRemove get_class_entry object handler
Nikita Popov [Thu, 9 Oct 2014 12:08:10 +0000 (14:08 +0200)]
Remove get_class_entry object handler

10 years agoRemove proxy object implementation
Nikita Popov [Thu, 9 Oct 2014 12:01:08 +0000 (14:01 +0200)]
Remove proxy object implementation

10 years agoRemove support for classes without class entries
Nikita Popov [Thu, 9 Oct 2014 11:58:14 +0000 (13:58 +0200)]
Remove support for classes without class entries

get_class_entry must be non-NULL and return non-NULL.

10 years agoReview a few more SEPARATE_ZVAL_IF_NOT_REF usages
Nikita Popov [Thu, 9 Oct 2014 10:51:05 +0000 (12:51 +0200)]
Review a few more SEPARATE_ZVAL_IF_NOT_REF usages

10 years agoFix bug #68191: Broken reference across objects
Nikita Popov [Thu, 9 Oct 2014 10:02:42 +0000 (12:02 +0200)]
Fix bug #68191: Broken reference across objects

10 years agoDirectly use zend_string for php_implode/php_explode
Nikita Popov [Tue, 7 Oct 2014 14:43:50 +0000 (16:43 +0200)]
Directly use zend_string for php_implode/php_explode

Also drop some unnecessary zval separations and copies

10 years agoCopy all the arena allocated data from SHM to process memory at once
Dmitry Stogov [Thu, 9 Oct 2014 10:01:19 +0000 (14:01 +0400)]
Copy all the arena allocated data from SHM to process memory at once

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 08:55:15 +0000 (16:55 +0800)]
Merge branch 'PHP-5.6'

Conflicts:
ext/dom/dom_properties.h
ext/dom/nodelist.c
ext/dom/php_dom.c

10 years agoUpdated NEWS for #67949
Tjerk Meesters [Thu, 9 Oct 2014 08:18:14 +0000 (16:18 +0800)]
Updated NEWS for #67949

10 years agoMerge branch 'pr/846' into PHP-5.6
Tjerk Meesters [Thu, 9 Oct 2014 07:55:10 +0000 (15:55 +0800)]
Merge branch 'pr/846' into PHP-5.6

* pr/846:
  DOMNodeList elements are accessible through array notation

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 00:24:58 +0000 (08:24 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS for #68129
  Updated NEWS for #68129
  Fixed bug #68129

10 years agoUpdated NEWS for #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:24:30 +0000 (08:24 +0800)]
Updated NEWS for #68129

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Thu, 9 Oct 2014 00:24:05 +0000 (08:24 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS for #68129
  Fixed bug #68129

10 years agoUpdated NEWS for #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:23:42 +0000 (08:23 +0800)]
Updated NEWS for #68129

10 years agoFixed bug #68129
Tjerk Meesters [Sun, 5 Oct 2014 23:27:05 +0000 (07:27 +0800)]
Fixed bug #68129

Empty usernames and passwords are now treated differently from no username or password

For example, empty password:

    ftp://user:@example.org

Empty username:

    ftp://:password@example.org

Empty username and empty password

    ftp://:@example.org

10 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Wed, 8 Oct 2014 17:54:05 +0000 (21:54 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Added info about ext/opcache

Conflicts:
EXTENSIONS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Wed, 8 Oct 2014 17:49:53 +0000 (21:49 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Added info about ext/opcache

10 years agoAdded info about ext/opcache
Dmitry Stogov [Wed, 8 Oct 2014 17:48:44 +0000 (21:48 +0400)]
Added info about ext/opcache

10 years agoExposed zend_clean_and_cache_symbol_table() and fixed incorrect efree()
Dmitry Stogov [Wed, 8 Oct 2014 12:08:26 +0000 (16:08 +0400)]
Exposed zend_clean_and_cache_symbol_table() and fixed incorrect efree()

10 years agolet phpize profit from /mp as well
Anatol Belski [Wed, 8 Oct 2014 09:14:23 +0000 (11:14 +0200)]
let phpize profit from /mp as well

10 years agofix phpize for /mp and more
Anatol Belski [Wed, 8 Oct 2014 09:01:15 +0000 (11:01 +0200)]
fix phpize for /mp and more

10 years agofix /mp usage for VC++
Anatol Belski [Wed, 8 Oct 2014 08:59:15 +0000 (10:59 +0200)]
fix /mp usage for VC++

10 years agofix wording
Anatol Belski [Wed, 8 Oct 2014 07:01:46 +0000 (09:01 +0200)]
fix wording

10 years agoMerge branch 'PHP-5.6'
Keyur Govande [Tue, 7 Oct 2014 21:23:04 +0000 (21:23 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add to NEWS
  Add to NEWS
  Fix for bug #68087 (ODBC not reading DATE columns correctly)

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:22:54 +0000 (21:22 +0000)]
Add to NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Keyur Govande [Tue, 7 Oct 2014 21:22:07 +0000 (21:22 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add to NEWS
  Fix for bug #68087 (ODBC not reading DATE columns correctly)

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:21:23 +0000 (21:21 +0000)]
Add to NEWS

10 years agoFix for bug #68087 (ODBC not reading DATE columns correctly)
Keyur Govande [Tue, 7 Oct 2014 21:17:36 +0000 (21:17 +0000)]
Fix for bug #68087 (ODBC not reading DATE columns correctly)

Temporary variable indicating column field type ID should be
reset to default for loop iteration (i.e. every column in the
record set. The old buggy code made it persist across all columns
leading to invalid reads from the buffer, if for example a DATE
column was preceded by a VARCHAR column.

10 years agoMerge branch 'PHP-5.6'
Keyur Govande [Tue, 7 Oct 2014 21:09:57 +0000 (21:09 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add to NEWS

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:09:47 +0000 (21:09 +0000)]
Add to NEWS

10 years agoMerge branch 'PHP-5.6'
Keyur Govande [Tue, 7 Oct 2014 21:08:33 +0000 (21:08 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add to NEWS
  Fix for bug #68114 (Build fails on OS X due to undefined symbols)

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Keyur Govande [Tue, 7 Oct 2014 21:08:18 +0000 (21:08 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add to NEWS
  Fix for bug #68114 (Build fails on OS X due to undefined symbols)

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:07:19 +0000 (21:07 +0000)]
Add to NEWS

10 years agoFix for bug #68114 (Build fails on OS X due to undefined symbols)
Keyur Govande [Tue, 7 Oct 2014 20:58:43 +0000 (20:58 +0000)]
Fix for bug #68114 (Build fails on OS X due to undefined symbols)

gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width
decimals and fails with undefined symbols errors like ___extendsddf.
If configure used gcc for compiling it would notice and mark the
feature HAVE_DECIMAL_FP_SUPPORT as unsupported.
But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2)
instead, which doesn't support fixed-width decimals either, but the
code compiles and links just fine. I suspect it may have something
to do with the llvm backend printed in the version.
Lacking the time to debug this further, the patch fixes the issue by
checking the expected output when fixed-width decimal support is
present and correctly implemented.

10 years agoMicro optimization
Dmitry Stogov [Tue, 7 Oct 2014 19:48:55 +0000 (23:48 +0400)]
Micro optimization

10 years agoImproved return by reference handling
Dmitry Stogov [Tue, 7 Oct 2014 18:38:37 +0000 (22:38 +0400)]
Improved return by reference handling

10 years agoReorder fields for better alignment on both 32-bit and 64-bit systems
Dmitry Stogov [Tue, 7 Oct 2014 14:12:09 +0000 (18:12 +0400)]
Reorder fields for better alignment on both 32-bit and 64-bit systems

10 years agoRemove useless parts of EX(old_error_reporting)
Dmitry Stogov [Tue, 7 Oct 2014 13:54:24 +0000 (17:54 +0400)]
Remove useless parts of EX(old_error_reporting)

10 years agoMerged EX(frame_kind) and EX(flags) into single word
Dmitry Stogov [Tue, 7 Oct 2014 13:12:12 +0000 (17:12 +0400)]
Merged EX(frame_kind) and EX(flags) into single word

10 years agoFix bug #68162: isset($$varname) always true
Nikita Popov [Mon, 6 Oct 2014 18:38:05 +0000 (20:38 +0200)]
Fix bug #68162: isset($$varname) always true

10 years agoDrop convert_to usage in zend_exceptions
Nikita Popov [Mon, 6 Oct 2014 18:14:30 +0000 (20:14 +0200)]
Drop convert_to usage in zend_exceptions

To make everything work correctly with refs.

I'm unsure whether the GET_PROPERTY_SILENT distinction is really
necessary, because the choice seemed pretty random, but kept it
around.

10 years agoFix isset/unset on by-ref names as well
Nikita Popov [Mon, 6 Oct 2014 16:56:23 +0000 (18:56 +0200)]
Fix isset/unset on by-ref names as well

10 years agoFix bug #68163
Nikita Popov [Mon, 6 Oct 2014 16:45:08 +0000 (18:45 +0200)]
Fix bug #68163

10 years agobring back the correct php_version.h
Anatol Belski [Mon, 6 Oct 2014 13:51:57 +0000 (15:51 +0200)]
bring back the correct php_version.h

10 years agofix the empty_strings SAPI shutdown leak in TS build
Anatol Belski [Mon, 6 Oct 2014 13:44:43 +0000 (15:44 +0200)]
fix the empty_strings SAPI shutdown leak in TS build

still the NTS variant is somewhat different as it needs
zend_new_interned_string_int because the normal callbacks might
be not initialized, but at least no leaks anymore and some more
structure

10 years agoUse fastcall calling convention for heap functions
Dmitry Stogov [Mon, 6 Oct 2014 12:32:15 +0000 (16:32 +0400)]
Use fastcall calling convention for heap functions

10 years agofix leaking the empty_string in TS builds
Anatol Belski [Mon, 6 Oct 2014 11:38:13 +0000 (13:38 +0200)]
fix leaking the empty_string in TS builds

10 years agoremove successive assignment
Anatol Belski [Mon, 6 Oct 2014 09:45:23 +0000 (11:45 +0200)]
remove successive assignment

10 years agoAdd tests verifying calls work inside echo, concatenation and array access
Timm Friebe [Sun, 5 Oct 2014 12:27:21 +0000 (14:27 +0200)]
Add tests verifying calls work inside echo, concatenation and array access

10 years agoUpdated NEWS and UPGRADING
Tjerk Meesters [Sun, 5 Oct 2014 21:54:32 +0000 (05:54 +0800)]
Updated NEWS and UPGRADING

PHP RFC: Catchable "call to a member function of a non-object"

10 years agoMerge branch 'pr/647'
Tjerk Meesters [Sun, 5 Oct 2014 21:52:43 +0000 (05:52 +0800)]
Merge branch 'pr/647'

* pr/647: (33 commits)
  zend_uint -> uint32_t
  Fix nesting for *non*-compile-time-resolveable functions See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414223
  Add tests for calls to nested, *non*-compile-time-resolveable functions See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414362
  Make list of opcodes used for nesting calculation consistent   with `zend_do_convert_call_user_func()` in Zend/zend_compile.c
  Rewrite code to use ZEND_VM_JMP() instead of repeated ZEND_VM_INC_OPCODE() calls
  QA: Simplify code to find matching ZEND_DO_FCALL_BY_NAME CG(context).nested_calls is stored inside the initializer's result.num and inside the finalizer's op2.num, by comparing these we don't need to count manually, and are thus safer from future expansion with specialized opcodes e.g.
  Fix expected fatal error, now is catchable fatal
  Adjust expected fatal error message Now also includes "on [TYPE]" after merge from master
  Check for memory leaks when not using return value
  Adjust expected fatal error message Now also includes "on [TYPE]" after merge from master
  Add tests with arrays as parameters
  Handle ZEND_NEW nesting
  Also verify nesting with dynamically called static methods
  Handle ZEND_INIT_NS_FCALL_BY_NAME nesting
  QA: Refactor: Split tests a bit to make them more comprehendable
  Support nested static calls
  Handle ZEND_EXT_FCALL_END, skipping if necessary Verified with running tests with new "-e" run-tests arg: $ make test TESTS=Zend/tests/*-on-non-objects-*phpt TEST_PHP_ARGS=-e # Tests passed    :   11 (100.0%)
  Add support for PHP's 'extended information for debugger/profiler' mode
  Verify non-CV-operands also work See discussion https://github.com/php/php-src/pull/647#issuecomment-48050551
  Only allocate NULL return value if it's actually used
  ...

Conflicts:
ext/date/tests/bug67118.phpt

10 years agoFix $this CV init for include/eval
Nikita Popov [Sun, 5 Oct 2014 21:38:59 +0000 (23:38 +0200)]
Fix $this CV init for include/eval

Fixes bug #68148

10 years agoFix dynamic calls to static methods with fci->object
Nikita Popov [Sun, 5 Oct 2014 21:11:17 +0000 (23:11 +0200)]
Fix dynamic calls to static methods with fci->object

func may already be freed at the time the static flag was checked.

10 years agoFix $arr =& $arr[0]
Nikita Popov [Sun, 5 Oct 2014 20:58:40 +0000 (22:58 +0200)]
Fix $arr =& $arr[0]

value_ptr can be invalidated by the ptr_dtor, so backup the
zend_reference in an extra variable.

10 years agoAdd UPGRADING stubs for a number of recent changes
Nikita Popov [Sun, 5 Oct 2014 20:06:34 +0000 (22:06 +0200)]
Add UPGRADING stubs for a number of recent changes

10 years agoRegenerate tokenizer data
Nikita Popov [Sun, 5 Oct 2014 19:59:46 +0000 (21:59 +0200)]
Regenerate tokenizer data

Also fix the tokenizer_data_gen.sh script after 64bit changes.