Skip to content

Commit fe5ce5c

Browse files
committed
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2 parents 9bda6a2 + ecf0cbd commit fe5ce5c

File tree

6 files changed

+41
-7
lines changed

6 files changed

+41
-7
lines changed

NEWS

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3+
?? ??? 2012, PHP 5.4.14
4+
35
?? ??? 2012, PHP 5.4.13
46

57
- Core:
@@ -23,17 +25,27 @@ PHP NEWS
2325
. Fixed bug #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs).
2426
(Johannes)
2527

28+
- Phar:
29+
. Fixed timestamp update on Phar contents modification. (Dmitry)
30+
31+
- SOAP
32+
. Added check that soap.wsdl_cache_dir conforms to open_basedir
33+
(CVE-2013-1635). (Dmitry)
34+
. Disabled external entities loading (CVE-2013-1643). (Dmitry)
35+
2636
- SPL:
2737
. Fixed bug #64264 (SPLFixedArray toArray problem). (Laruence)
2838
. Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS).
2939
(patch by kriss@krizalys.com, Laruence)
3040
. Fixed bug #64106 (Segfault on SplFixedArray[][x] = y when extended).
3141
(Nikita Popov)
42+
. Fixed bug #52861 (unset fails with ArrayObject and deep arrays).
43+
(Mike Willbanks)
3244

3345
- SNMP:
3446
. Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)
3547

36-
?? ??? 2012, PHP 5.4.12
48+
21 Feb 2012, PHP 5.4.12
3749

3850
- Core:
3951
. Fixed bug #64099 (Wrong TSRM usage in zend_Register_class alias). (Johannes)

config.sub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ case $basic_machine in
897897
;;
898898
ppc64) basic_machine=powerpc64-unknown
899899
;;
900-
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
900+
ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
901901
;;
902902
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
903903
basic_machine=powerpc64le-unknown

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
119119

120120
PHP_MAJOR_VERSION=5
121121
PHP_MINOR_VERSION=4
122-
PHP_RELEASE_VERSION=13
122+
PHP_RELEASE_VERSION=14
123123
PHP_EXTRA_VERSION="-dev"
124124
PHP_VERSION="$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION"
125125
PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 10000 + [$]PHP_MINOR_VERSION \* 100 + [$]PHP_RELEASE_VERSION`

ext/spl/spl_array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ static zval *spl_array_read_dimension_ex(int check_inherited, zval *object, zval
402402
/* When in a write context,
403403
* ZE has to be fooled into thinking this is in a reference set
404404
* by separating (if necessary) and returning as an is_ref=1 zval (even if refcount == 1) */
405-
if ((type == BP_VAR_W || type == BP_VAR_RW) && !Z_ISREF_PP(ret)) {
405+
if ((type == BP_VAR_W || type == BP_VAR_RW || type == BP_VAR_UNSET) && !Z_ISREF_PP(ret)) {
406406
if (Z_REFCOUNT_PP(ret) > 1) {
407407
zval *newval;
408408

ext/spl/tests/bug52861.phpt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
--TEST--
2+
Bug #52861 (unset failes with ArrayObject and deep arrays)
3+
--FILE--
4+
<?php
5+
$arrayObject = new ArrayObject(array('foo' => array('bar' => array('baz' => 'boo'))));
6+
7+
unset($arrayObject['foo']['bar']['baz']);
8+
print_r($arrayObject->getArrayCopy());
9+
?>
10+
--EXPECT--
11+
Array
12+
(
13+
[foo] => Array
14+
(
15+
[bar] => Array
16+
(
17+
)
18+
19+
)
20+
21+
)
22+

main/php_version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* edit configure.in to change version number */
33
#define PHP_MAJOR_VERSION 5
44
#define PHP_MINOR_VERSION 4
5-
#define PHP_RELEASE_VERSION 13
5+
#define PHP_RELEASE_VERSION 14
66
#define PHP_EXTRA_VERSION "-dev"
7-
#define PHP_VERSION "5.4.13-dev"
8-
#define PHP_VERSION_ID 50413
7+
#define PHP_VERSION "5.4.14-dev"
8+
#define PHP_VERSION_ID 50414

0 commit comments

Comments
 (0)