]> granicus.if.org Git - php/log
php
10 years agoFix allocator for 64bit zend_long with 32bit long
Nikita Popov [Thu, 16 Oct 2014 10:38:44 +0000 (12:38 +0200)]
Fix allocator for 64bit zend_long with 32bit long

10 years agoUse intptr_t for zend_intptr_t typedef
Nikita Popov [Thu, 16 Oct 2014 10:17:20 +0000 (12:17 +0200)]
Use intptr_t for zend_intptr_t typedef

Current code doesn't work for 64bit zend_long with 32bit pointers.

If intptr_t isn't defined on some platform, we should add it to
our php_stdint.h header.

10 years agoFix format strings in zend_alloc
Nikita Popov [Thu, 16 Oct 2014 10:14:37 +0000 (12:14 +0200)]
Fix format strings in zend_alloc

10 years agoDrop zend_long64 in favor of int64_t
Nikita Popov [Thu, 16 Oct 2014 10:10:24 +0000 (12:10 +0200)]
Drop zend_long64 in favor of int64_t

Also drop ZEND_HAVE_LONG64, because we already require the
presence of a int64_t type.

10 years agoRemoved deprecated fields
Dmitry Stogov [Thu, 16 Oct 2014 09:41:27 +0000 (13:41 +0400)]
Removed deprecated fields

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Wed, 15 Oct 2014 17:49:41 +0000 (19:49 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  cleanup NEWS

10 years agoNEWS
Remi Collet [Wed, 15 Oct 2014 17:49:22 +0000 (19:49 +0200)]
NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Wed, 15 Oct 2014 17:48:25 +0000 (19:48 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  cleanup NEWS

10 years agocleanup NEWS
Remi Collet [Wed, 15 Oct 2014 17:47:55 +0000 (19:47 +0200)]
cleanup NEWS

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 15 Oct 2014 17:43:30 +0000 (19:43 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  Fixed Bug #65171 imagescale() fails
  Revert "Bug #41631: Observe socket read timeouts in SSL streams"

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Wed, 15 Oct 2014 17:42:51 +0000 (19:42 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fixed Bug #65171 imagescale() fails
  Revert "Bug #41631: Observe socket read timeouts in SSL streams"

Conflicts:
ext/openssl/xp_ssl.c

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 15 Oct 2014 17:41:27 +0000 (19:41 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  removing the NEWS entry as we had to revert this fix for now
  Revert "Merge branch 'PHP-5.5' into PHP-5.6"
  Revert "fix TS build"
  Revert "Merge branch 'PHP-5.4' into PHP-5.5"
  Revert "Bug #67965: Fix blocking behavior in non-blocking crypto streams"
  Revert "Bug #41631: Fix regression from first attempt (6569db8)"

10 years agoremoving the NEWS entry as we had to revert this fix for now
Ferenc Kovacs [Wed, 24 Sep 2014 08:27:42 +0000 (10:27 +0200)]
removing the NEWS entry as we had to revert this fix for now

10 years agoRevert "Merge branch 'PHP-5.5' into PHP-5.6"
Ferenc Kovacs [Wed, 15 Oct 2014 17:34:07 +0000 (19:34 +0200)]
Revert "Merge branch 'PHP-5.5' into PHP-5.6"

This reverts commit 98e67add15a6b889efe152c23ed15a61f022a63a, reversing
changes made to 2cdc1a2b7473eff27c224c66dcb85118b553a147.

10 years agoRevert "fix TS build"
Ferenc Kovacs [Wed, 15 Oct 2014 17:33:47 +0000 (19:33 +0200)]
Revert "fix TS build"

This reverts commit 84a4041ba47e92e7a0ba03938d0ebf88b5fcf6cf.

10 years agoRevert "Merge branch 'PHP-5.4' into PHP-5.5"
Ferenc Kovacs [Wed, 15 Oct 2014 17:33:31 +0000 (19:33 +0200)]
Revert "Merge branch 'PHP-5.4' into PHP-5.5"

This reverts commit 30a73658c63a91c413305a4c4d49882fda4dab3e, reversing
changes made to 7fac56e0729385bbd2bb040f06a20a697d9de5fd.

10 years agoRevert "Bug #67965: Fix blocking behavior in non-blocking crypto streams"
Ferenc Kovacs [Wed, 15 Oct 2014 17:32:46 +0000 (19:32 +0200)]
Revert "Bug #67965: Fix blocking behavior in non-blocking crypto streams"

This reverts commit f86b2193a483f56b0bd056570a0cdb57ebe66e2f.

10 years agoRevert "Bug #41631: Fix regression from first attempt (6569db8)"
Ferenc Kovacs [Wed, 15 Oct 2014 17:32:14 +0000 (19:32 +0200)]
Revert "Bug #41631: Fix regression from first attempt (6569db8)"

This reverts commit 372844918a318ad712e16f9ec636682424a65403.

10 years agoNEWS
Remi Collet [Wed, 15 Oct 2014 17:16:45 +0000 (19:16 +0200)]
NEWS

10 years agoFixed Bug #65171 imagescale() fails
Remi Collet [Wed, 15 Oct 2014 17:13:25 +0000 (19:13 +0200)]
Fixed Bug #65171 imagescale() fails

Third param (height) is set as optional,
but default value = -1 is incorrect

Compute correct height to preserve ratio.

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Wed, 15 Oct 2014 13:13:13 +0000 (21:13 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #68234

10 years agoFixed bug #68234
Tjerk Meesters [Wed, 15 Oct 2014 13:12:13 +0000 (21:12 +0800)]
Fixed bug #68234

Certificate will now expire in 2034

10 years agoFixed bug #68215 (Behavior of foreach has changed)
Dmitry Stogov [Wed, 15 Oct 2014 13:02:54 +0000 (17:02 +0400)]
Fixed bug #68215 (Behavior of foreach has changed)

10 years agoRevert "Bug #41631: Observe socket read timeouts in SSL streams"
Julien Pauli [Wed, 15 Oct 2014 12:38:12 +0000 (14:38 +0200)]
Revert "Bug #41631: Observe socket read timeouts in SSL streams"

This reverts commit 6569db88081562f68a4f79e52cba83482bdf05fc.

Conflicts:
ext/openssl/xp_ssl.c

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 15 Oct 2014 12:10:38 +0000 (14:10 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  PHP-5.6.3 is next
  update NEWS, 5.6.2 will be a security-only release

Conflicts:
configure.in
main/php_version.h

10 years agoPHP-5.6.3 is next
Ferenc Kovacs [Wed, 15 Oct 2014 12:08:32 +0000 (14:08 +0200)]
PHP-5.6.3 is next

10 years agoupdate NEWS, 5.6.2 will be a security-only release
Ferenc Kovacs [Wed, 15 Oct 2014 12:07:40 +0000 (14:07 +0200)]
update NEWS, 5.6.2 will be a security-only release

10 years agoFixed ext/standard/tests/strings/pack64_32.phpt failure (In PHP7, we must not free...
Dmitry Stogov [Wed, 15 Oct 2014 08:38:04 +0000 (12:38 +0400)]
Fixed ext/standard/tests/strings/pack64_32.phpt failure (In PHP7, we must not free array of arguments recieved using "+")

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 14 Oct 2014 18:45:01 +0000 (11:45 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix return code (merges are hard :( )

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 14 Oct 2014 18:43:34 +0000 (11:43 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix return code (merges are hard :( )

10 years agoFix return code (merges are hard :( )
Stanislav Malyshev [Tue, 14 Oct 2014 18:42:33 +0000 (11:42 -0700)]
Fix return code (merges are hard :( )

10 years agofix bad merge
Stanislav Malyshev [Tue, 14 Oct 2014 18:17:48 +0000 (11:17 -0700)]
fix bad merge

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 14 Oct 2014 17:53:05 +0000 (10:53 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib

Conflicts:
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re

10 years agoFix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())

10 years agoFix bug #68089 - do not accept options with embedded \0
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
ext/curl/interface.c

10 years agoFixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)

10 years agoFix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 14 Oct 2014 17:45:47 +0000 (10:45 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoFix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())

10 years agoFix bug #68089 - do not accept options with embedded \0
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
ext/curl/interface.c

10 years agoFixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)

10 years agoFix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoFix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())

10 years agoFix bug #68089 - do not accept options with embedded \0
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
ext/curl/interface.c

10 years agoFixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)

10 years agoFix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Tue, 14 Oct 2014 15:00:17 +0000 (23:00 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #68128

Conflicts:
ext/spl/spl_iterators.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Tue, 14 Oct 2014 14:50:07 +0000 (22:50 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #68128

10 years agoFixed bug #68128
Tjerk Meesters [Mon, 6 Oct 2014 01:40:39 +0000 (09:40 +0800)]
Fixed bug #68128

Three issues are addressed:

- RecursiveRegexIterator::accept() should accept non-empty arrays without
  applying any regular expression and RegexIterator::accept() should not accept
  an array.
- RegexIterator::accept() should not accept an atom that fails to match
  anything, even when PREG_PATTERN_ORDER is used (which would return an array
  of empty arrays).
- RecursiveRegexIterator::getChildren() should pass all constructor arguments
  to its child iterator instead of just the regular expression.

10 years agoAdded API function to retrive current custom heap handlers
Dmitry Stogov [Tue, 14 Oct 2014 10:20:25 +0000 (14:20 +0400)]
Added API function to retrive current custom heap handlers

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 14 Oct 2014 07:43:15 +0000 (00:43 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS and UPGRADING
  Upated NEWS
  Address issues raised by @nikic
  Make sure min < max
  Mersenne Twister was added in GMP 4.2
  Add test files
  Add gmp_random_bits(bits) and gmp_random_range(min, max)
  Change GMPs default PRNG to Mersenne Twister

Conflicts:
ext/gmp/gmp.c

10 years agoupdate NEWS and UPGRADING
Stanislav Malyshev [Tue, 14 Oct 2014 07:36:36 +0000 (00:36 -0700)]
update NEWS and UPGRADING

10 years agoMerge branch 'pull-request/839' into PHP-5.6
Stanislav Malyshev [Tue, 14 Oct 2014 07:33:16 +0000 (00:33 -0700)]
Merge branch 'pull-request/839' into PHP-5.6

* pull-request/839:
  Upated NEWS
  Address issues raised by @nikic
  Make sure min < max
  Mersenne Twister was added in GMP 4.2
  Add test files
  Add gmp_random_bits(bits) and gmp_random_range(min, max)
  Change GMPs default PRNG to Mersenne Twister

10 years agoAllow to substitute storage layer in memory manager.
Dmitry Stogov [Tue, 14 Oct 2014 05:41:16 +0000 (09:41 +0400)]
Allow to substitute storage layer in memory manager.

10 years agofix several datatype mismatch warnings
Anatol Belski [Mon, 13 Oct 2014 16:42:30 +0000 (18:42 +0200)]
fix several datatype mismatch warnings

10 years agofix signed/unsigned mismatch warning
Anatol Belski [Mon, 13 Oct 2014 09:49:10 +0000 (11:49 +0200)]
fix signed/unsigned mismatch warning

10 years agomore signed/unsigned mismatch fix
Anatol Belski [Mon, 13 Oct 2014 09:40:22 +0000 (11:40 +0200)]
more signed/unsigned mismatch fix

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

10 years agofix signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 09:32:13 +0000 (11:32 +0200)]
fix signed/unsigned mismatch

10 years agofix some signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 07:12:15 +0000 (09:12 +0200)]
fix some signed/unsigned mismatch

10 years agomissing include for strlen proto
Anatol Belski [Mon, 13 Oct 2014 06:16:22 +0000 (08:16 +0200)]
missing include for strlen proto

10 years agoMore fixes for array/object casts with temporary variables
Nikita Popov [Mon, 13 Oct 2014 13:19:23 +0000 (15:19 +0200)]
More fixes for array/object casts with temporary variables

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.