Skip to content

Commit 2e0ba2f

Browse files
committed
Merge branch 'master' into jit-dynasm
* master: (78 commits) bump versions for next in dev removed additional ";" from run-tests.php Remove zend_version() checks from tests Remove ZEND_CHANGES and README.namespaces update NEWS update NEWS Securely zero the hash context key Fixed bug #73983 crash on finish work with phar in cli + opcache fix BC break introduced by php#2346 (sebastianbergmann/phpunit#2454) move id initialization into ctor fix system id initialization for multiple threads Try fpm path for testing in sbin as it is default target FTP: implement MLSD for structured listing of directories, decribed at https://tools.ietf.org/html/rfc3659 fixed bug #50989 (DOM support for LIBXML_NOXMLDECL) [ci skip] news entry for Fixed bug #73987 [ci skip] news entry for Fixed bug #73987 Added tests demonstrating the same effect with abstracts Inheritance checks should not ignore parents if these implement an interface NEWS Add test coverage for bug #72969 ...
2 parents c1b60d8 + fba9eb8 commit 2e0ba2f

File tree

300 files changed

+2635
-2745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+2635
-2745
lines changed

.gdbinit

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -610,79 +610,6 @@ document zbacktrace
610610
> (gdb) dump_bt $eg.current_execute_data
611611
end
612612

613-
define zmemcheck
614-
set $p = alloc_globals.head
615-
set $stat = "?"
616-
set $total_size = 0
617-
if $arg0 != 0
618-
set $not_found = 1
619-
else
620-
set $not_found = 0
621-
end
622-
printf " block size status file:line\n"
623-
printf "-------------------------------------------------------------------------------\n"
624-
while $p
625-
set $aptr = $p + sizeof(struct _zend_mem_header) + sizeof(align_test)
626-
if $arg0 == 0 || (void *)$aptr == (void *)$arg0
627-
if $p->magic == 0x7312f8dc
628-
set $stat = "OK"
629-
end
630-
if $p->magic == 0x99954317
631-
set $stat = "FREED"
632-
end
633-
if $p->magic == 0xfb8277dc
634-
set $stat = "CACHED"
635-
end
636-
set $filename = strrchr($p->filename->val, '/')
637-
if !$filename
638-
set $filename = $p->filename->val
639-
else
640-
set $filename = $filename + 1
641-
end
642-
printf " %p ", $aptr
643-
if $p->size == sizeof(struct _zval_struct) && ((struct _zval_struct *)$aptr)->type >= 0 && ((struct _zval_struct *)$aptr)->type < 10
644-
printf "ZVAL?(%-2d) ", $p->size
645-
else
646-
printf "%-9d ", $p->size
647-
end
648-
set $total_size = $total_size + $p->size
649-
printf "%-06s %s:%d", $stat, $filename, $p->lineno
650-
if $p->orig_filename
651-
set $orig_filename = strrchr($p->orig_filename, '/')
652-
if !$orig_filename
653-
set $orig_filename = $p->orig_filename
654-
else
655-
set $orig_filename = $orig_filename + 1
656-
end
657-
printf " <= %s:%d\n", $orig_filename, $p->orig_lineno
658-
else
659-
printf "\n"
660-
end
661-
if $arg0 != 0
662-
set $p = 0
663-
set $not_found = 0
664-
else
665-
set $p = $p->pNext
666-
end
667-
else
668-
set $p = $p->pNext
669-
end
670-
end
671-
if $not_found
672-
printf "no such block that begins at %p.\n", $aptr
673-
end
674-
if $arg0 == 0
675-
printf "-------------------------------------------------------------------------------\n"
676-
printf " total: %d bytes\n", $total_size
677-
end
678-
end
679-
680-
document zmemcheck
681-
show status of a memory block.
682-
usage: zmemcheck [ptr].
683-
if ptr is 0, all blocks will be listed.
684-
end
685-
686613
define lookup_root
687614
set $found = 0
688615
if gc_globals->roots

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ tests/*/*/*.sh
173173

174174
# Extension specifc ignores
175175
ext/*/configure.in
176+
ext/*/configure.ac
176177
ext/*/ltmain.sh
177178
ext/*/libs.mk
178179
ext/*/build
@@ -213,6 +214,7 @@ ext/mssql/Makefile.global
213214
ext/mssql/acinclude.m4
214215
ext/mssql/config.sub
215216
ext/mssql/configure.in
217+
ext/mssql/configure.ac
216218
ext/mssql/ltmain.sh
217219
ext/mysql/weztest.sqlite
218220
ext/oci8/tests/*.tmp

EXTENSIONS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ MAINTENANCE: Odd fixes
292292
STATUS: Working
293293
-------------------------------------------------------------------------------
294294
EXTENSION: gd
295-
PRIMARY MAINTAINER: Pierre-Alain Joye <pajoye@php.net>
295+
PRIMARY MAINTAINER: Pierre-Alain Joye <pajoye@php.net>, Christoph M. Becker <cmb@php.net>
296296
MAINTENANCE: Maintained
297297
STATUS: Working
298298
-------------------------------------------------------------------------------

NEWS

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ PHP NEWS
2222
bugs #53838, #61655, #66173, #70925, #72254, etc. (Andrea)
2323
. Raised minimum supported Windows versions to Windows 7/Server 2008 R2.
2424
(Anatol)
25+
. Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester)
26+
. Added PHP_OS_FAMILY constant to determine on which OS we are. (Jan Altensen)
27+
. Fixed bug #73994 (arginfo incorrect for unpack). (krakjoe)
28+
. Fixed bug #73973 (assertion error in debug_zval_dump). (andrewnester)
29+
. Fixed bug #73987 (Method compatibility check looks to original
30+
definition and not parent). (pmmaga)
2531

2632
- BCMath:
2733
. Fixed bug #46564 (bcmod truncates fractionals). (liborm85)
@@ -34,6 +40,9 @@ PHP NEWS
3440

3541
- DOM:
3642
. Fixed bug #67474 (getElementsByTagNameNS filter on default ns). (aboks)
43+
. Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes).
44+
(aboks)
45+
. Fixed bug #50989 (support for LIBXML_NOXMLDECL). (jhdxr)
3746

3847
- EXIF:
3948
. Added support for vendor specific tags for the following formats:
@@ -51,13 +60,22 @@ PHP NEWS
5160

5261
- FPM:
5362
. Configuration to limit fpm slow log trace callers. (Sannis)
63+
. Fixed bug #69865 (php-fpm does not close stderr when using syslog).
64+
(Mike)
65+
66+
- FTP:
67+
. Implement MLSD for structured listing of directories. (blar)
5468

5569
- GD:
5670
. Implemented imageresolution as getter and setter (Christoph)
5771

5872
- GMP:
5973
. Fixed bug #70896 (gmp_fact() silently ignores non-integer input). (Sara)
6074

75+
- hash:
76+
. Fixed bug #73961 (environmental build dependency in hash sha3 source).
77+
(krakjoe)
78+
6179
- Mbstring:
6280
. Implemented request #66024 (mb_chr() and mb_ord()). (Masakielastic, Yasuo)
6381
. Implemented request #65081 (mb_scrub()). (Masakielastic, Yasuo)
@@ -70,6 +88,9 @@ PHP NEWS
7088
- Mcrypt:
7189
. The deprecated mcrypt extension has been moved to PECL. (leigh)
7290

91+
- MySQLi:
92+
. Fixed bug #73949 (leak in mysqli_fetch_object). (krakjoe)
93+
7394
- mysqlnd:
7495
. Fixed bug #73800 (sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE).
7596
(vanviegen)
@@ -87,6 +108,16 @@ PHP NEWS
87108
. Fixed bug #73234 (Emulated statements let value dictate parameter type).
88109
(Adam Baratz)
89110
. Fixed bug #73396 (bigint columns are returned as strings). (Adam Baratz)
111+
. Expose DB-Library version as \PDO::DBLIB_ATTR_VERSION attribute on \PDO
112+
instance. (Adam Baratz)
113+
. Add test coverage for bug #72969. (Jeff Farr)
114+
115+
- PDO_PgSQL:
116+
. Fixed bug #73959 (lastInsertId fails to throw an exception for wrong
117+
sequence name). (andrewnester)
118+
119+
- PDO_Sqlite
120+
. Switch to sqlite3_prepare_v2() and sqlite3_close_v2() functions (rasmus)
90121

91122
- posix:
92123
. Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh)

README.RELEASE_PROCESS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ credits files in ext/standard.
6565

6666
4. Checkout the release branch for this release (e.g., PHP-5.4.2) from the main branch.
6767

68-
5. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
68+
5. Bump the version numbers in ``main/php_version.h``, ``configure.ac`` and possibly ``NEWS``.
6969
Do not use abbreviations for alpha and beta. Do not use dashes, you should
7070
``#define PHP_VERSION "5.4.22RC1"`` and not ``#define PHP_VERSION "5.4.22-RC1"``
7171

@@ -79,7 +79,7 @@ Do not use abbreviations for alpha and beta. Do not use dashes, you should
7979
9. Tag the repository release branch with the version, e.g.:
8080
``git tag -u YOURKEYID php-5.4.2RC2``
8181

82-
10. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and ``NEWS``
82+
10. Bump the version numbers in ``main/php_version.h``, ``configure.ac`` and ``NEWS``
8383
in the *main* branch (PHP-5.4 for example) to prepare for the **next** version.
8484
F.e. if the RC is "5.4.1RC1" then the new one should be "5.4.2-dev" - regardless if we get
8585
a new RC or not. This is to make sure ``version_compare()`` can correctly work.
@@ -152,7 +152,7 @@ Rolling a stable release
152152
------------------------
153153

154154
1. Checkout your release branch, you should have created when releasing previous RC
155-
and bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
155+
and bump the version numbers in ``main/php_version.h``, ``configure.ac`` and possibly ``NEWS``.
156156

157157
2. If a CVE commit needs to be merged to the release, then have it committed to
158158
the base branches and merged upwards as usual (f.e commit the CVE fix to 5.3,

README.namespaces

Lines changed: 0 additions & 174 deletions
This file was deleted.

TSRM/build.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ $(LT_TARGETS):
3030
$(makefile_in_files): $(makefile_am_files)
3131
automake -a -i $(AMFLAGS) $(makefile_files)
3232

33-
aclocal.m4: configure.in acinclude.m4
33+
aclocal.m4: configure.ac acinclude.m4
3434
aclocal
3535

36-
$(config_h_in): configure.in
36+
$(config_h_in): configure.ac
3737
# explicitly remove target since autoheader does not seem to work
3838
# correctly otherwise (timestamps are not updated)
3939
@rm -f $@
4040
autoheader
4141

42-
configure: aclocal.m4 configure.in
42+
configure: aclocal.m4 configure.ac
4343
autoconf

0 commit comments

Comments
 (0)