Skip to content

Commit d34cddc

Browse files
committed
Merge branch 'master' into typed_ref_properties
2 parents d274d58 + d57cd36 commit d34cddc

File tree

8,940 files changed

+27994
-260528
lines changed

Some content is hidden

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

8,940 files changed

+27994
-260528
lines changed

.appveyor.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
version: "{branch}.build.{build}"
32

43
image: Visual Studio 2017
@@ -14,7 +13,7 @@ cache:
1413
- c:\build-cache
1514

1615
environment:
17-
PHP_BUILD_CACHE_BASE_DIR: c:\build-cache
16+
PHP_BUILD_CACHE_BASE_DIR: c:\build-cache
1817
PHP_BUILD_OBJ_DIR: c:\obj
1918
PHP_BUILD_CACHE_SDK_DIR: c:\build-cache\sdk
2019
PHP_BUILD_SDK_BRANCH: php-sdk-2.1.9beta1
@@ -50,4 +49,3 @@ build_script:
5049

5150
test_script:
5251
- appveyor\test.bat
53-

.gdbinit

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ end
55
document set_ts
66
set the ts resource, it is impossible for gdb to
77
call ts_resource_ex while no process is running,
8-
but we could get the resource from the argument
8+
but we could get the resource from the argument
99
of frame info.
1010
end
1111

@@ -153,7 +153,7 @@ end
153153

154154
define printzv
155155
set $ind = 1
156-
____printzv $arg0 0
156+
____printzv $arg0 0
157157
end
158158

159159
document printzv
@@ -190,7 +190,7 @@ define ____printzv_contents
190190
if $type == 6
191191
printf "string: %s", $zvalue->value.str->val
192192
end
193-
if $type == 7
193+
if $type == 7
194194
printf "array: "
195195
if ! $arg1
196196
set $ind = $ind + 1
@@ -287,7 +287,7 @@ define ____printzv
287287
if $arg1
288288
____printzv_contents $zcontents $arg1
289289
else
290-
____printzv_contents $zcontents 0
290+
____printzv_contents $zcontents 0
291291
end
292292
end
293293

@@ -340,7 +340,7 @@ define ____print_ht
340340
set $n = $n - 1
341341
end
342342
printf "[%d] ", $i
343-
if $p->key
343+
if $p->key
344344
printf "%s => ", $p->key->val
345345
else
346346
printf "%d => ", $p->h
@@ -389,7 +389,7 @@ document print_htptr
389389
end
390390

391391
define print_htstr
392-
set $ind = 0
392+
set $ind = 0
393393
____print_ht $arg0 2
394394
end
395395

@@ -543,10 +543,10 @@ define printzn
543543
if $znode->op_type == 1
544544
set $optype = "IS_CONST"
545545
end
546-
if $znode->op_type == 2
546+
if $znode->op_type == 2
547547
set $optype = "IS_TMP_VAR"
548548
end
549-
if $znode->op_type == 4
549+
if $znode->op_type == 4
550550
set $optype = "IS_VAR"
551551
end
552552
if $znode->op_type == 8
@@ -576,11 +576,11 @@ end
576576

577577
document printzn
578578
print type and content of znode.
579-
usage: printzn &opline->op1
579+
usage: printzn &opline->op1
580580
end
581581

582582
define printzops
583-
printf "op1 => "
583+
printf "op1 => "
584584
printzn &execute_data->opline.op1
585585
printf "op2 => "
586586
printzn &execute_data->opline.op2

.gitignore

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ _libs
3838
acconfig.h
3939
aclocal.m4
4040
autom4te.cache
41-
bsd_converted
42-
buildconf.stamp
4341
buildmk.stamp
4442
confdefs.h
4543
config.h
@@ -48,11 +46,6 @@ config.h.in
4846
config.log
4947
config.nice
5048
config.status
51-
config_vars.mk
52-
configuration-parser.c
53-
configuration-parser.h
54-
configuration-parser.output
55-
configuration-scanner.c
5649
configure
5750
conftest
5851
conftest.c
@@ -172,8 +165,6 @@ ext/phar/phar.phar
172165
ext/phar/phar.1
173166
ext/phar/phar.phar.1
174167
ext/phar/phar.php
175-
ext/spl/examples/.htaccess
176-
ext/spl/examples/*.phps
177168
ext/sqlite3/tests/phpsql*
178169

179170
# ------------------------------------------------------------------------------ Windows
@@ -205,5 +196,6 @@ ext/sqlite3/tests/phpsql*
205196

206197
# Special cases to invert previous ignore rules
207198
!ext/fileinfo/libmagic.patch
199+
!ext/fileinfo/magicdata.patch
208200
!ext/mbstring/oniguruma.patch
209201
!ext/pcre/pcre2lib/config.h

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ addons:
1717
- libsasl2-dev
1818
- libxpm-dev
1919
- libzip-dev
20+
- libsqlite3-dev
2021

2122

2223
services:
2324
- mysql
2425
- postgresql
2526

2627
notifications:
27-
email:
28+
email:
2829
on_failure: change
2930
irc:
3031
template:
@@ -66,7 +67,7 @@ before_script:
6667
- . ./travis/ext/pgsql/setup.sh
6768
- . ./travis/ext/pdo_pgsql/setup.sh
6869

69-
# Run PHPs run-tests.php
70+
# Run PHPs run-tests.php
7071
script:
7172
- ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120
7273

CODING_STANDARDS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ User Functions/Methods Naming Conventions
112112
of ``parent_*``::
113113

114114
A family of 'foo' functions, for example:
115-
115+
116116
Good:
117117
'foo_select_bar'
118118
'foo_insert_baz'

CONTRIBUTING.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ locations.
154154
└─ ...
155155
└─ skeleton/ # Skeleton for developing new extensions with `ext/ext_skel.php`
156156
└─ ...
157-
└─ sqlite3/
158-
├─ libsqlite/ # https://www.sqlite.org mirror: https://github.com/mackyle/sqlite
159-
└─ ...
160157
└─ standard/
161158
└─ html_tables/
162159
├─ mappings/ # https://www.unicode.org/Public/MAPPINGS/

EXTENSIONS

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ MAINTENANCE: Unknown
3636
STATUS: Working
3737
-------------------------------------------------------------------------------
3838
EXTENSION: cli
39-
MAINTENANCE: Marcus Börger <helly@php.net>, Edin Kadribasic <edink@php.net>
39+
PRIMARY MAINTAINER: Marcus Börger <helly@php.net>, Edin Kadribasic <edink@php.net>
40+
MAINTENANCE: Unknown
4041
STATUS: Working
4142
SINCE: 4.3.0
4243
-------------------------------------------------------------------------------
@@ -58,7 +59,8 @@ STATUS: Working
5859
SINCE: 5.3
5960
-------------------------------------------------------------------------------
6061
EXTENSION: phpdbg
61-
MAINTENANCE: Joe Watkins <krakjoe@php.net>, Bob Weinand <bwoebi@php.net>
62+
PRIMARY MAINTAINER: Joe Watkins <krakjoe@php.net>, Bob Weinand <bwoebi@php.net>
63+
MAINTENANCE: Unkown
6264
STATUS: 5.6
6365
-------------------------------------------------------------------------------
6466

@@ -244,7 +246,8 @@ SINCE: 5.0
244246

245247
-------------------------------------------------------------------------------
246248
EXTENSION: bcmath
247-
MAINTENANCE: Andi Gutmans <andi@zend.com> (2000 - 2004)
249+
PRIMARY MAINTAINER: Andi Gutmans <andi@zend.com> (2000 - 2004)
250+
MAINTENANCE: Unknown
248251
STATUS: Working
249252
-------------------------------------------------------------------------------
250253
EXTENSION: bz2
@@ -321,6 +324,7 @@ MAINTENANCE: Maintained
321324
STATUS: Working
322325
-------------------------------------------------------------------------------
323326
EXTENSION: gettext
327+
PRIMARY MAINTAINER: Unknown
324328
MAINTENANCE: Unknown
325329
STATUS: Working
326330
-------------------------------------------------------------------------------
@@ -422,6 +426,7 @@ STATUS: Working
422426
SINCE: 4.0.2
423427
-------------------------------------------------------------------------------
424428
EXTENSION: readline
429+
PRIMARY MAINTAINER: Unkown
425430
MAINTENANCE: Unknown
426431
STATUS: Working
427432
-------------------------------------------------------------------------------
@@ -475,14 +480,17 @@ STATUS: Working
475480
SINCE: 5.0.0
476481
-------------------------------------------------------------------------------
477482
EXTENSION: sysvmsg
483+
PRIMARY MAINTAINER: Unkown
478484
MAINTENANCE: Unknown
479485
STATUS: Working
480486
-------------------------------------------------------------------------------
481487
EXTENSION: sysvsem
488+
PRIMARY MAINTAINER: Unkown
482489
MAINTENANCE: Unknown
483490
STATUS: Working
484491
-------------------------------------------------------------------------------
485492
EXTENSION: sysvshm
493+
PRIMARY MAINTAINER: Unkown
486494
MAINTENANCE: Unknown
487495
STATUS: Working
488496
-------------------------------------------------------------------------------

LICENSE

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
--------------------------------------------------------------------
1+
--------------------------------------------------------------------
22
The PHP License, version 3.01
33
Copyright (c) 1999 - 2018 The PHP Group. All rights reserved.
4-
--------------------------------------------------------------------
4+
--------------------------------------------------------------------
55

66
Redistribution and use in source and binary forms, with or without
77
modification, is permitted provided that the following conditions
88
are met:
99

1010
1. Redistributions of source code must retain the above copyright
1111
notice, this list of conditions and the following disclaimer.
12-
12+
1313
2. Redistributions in binary form must reproduce the above copyright
1414
notice, this list of conditions and the following disclaimer in
1515
the documentation and/or other materials provided with the
1616
distribution.
17-
17+
1818
3. The name "PHP" must not be used to endorse or promote products
1919
derived from this software without prior written permission. For
2020
written permission, please contact group@php.net.
21-
21+
2222
4. Products derived from this software may not be called "PHP", nor
2323
may "PHP" appear in their name, without prior written permission
2424
from group@php.net. You may indicate that your software works in
2525
conjunction with PHP by saying "Foo for PHP" instead of calling
2626
it "PHP Foo" or "phpfoo"
27-
27+
2828
5. The PHP Group may publish revised and/or new versions of the
2929
license from time to time. Each version will be given a
3030
distinguishing version number.
@@ -41,27 +41,27 @@ are met:
4141
"This product includes PHP software, freely available from
4242
<http://www.php.net/software/>".
4343

44-
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
44+
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
4545
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
46-
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
46+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
4747
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
48-
DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
49-
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
50-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
48+
DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
49+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
50+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
5151
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5252
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
5353
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
5454
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
5555
OF THE POSSIBILITY OF SUCH DAMAGE.
5656

57-
--------------------------------------------------------------------
57+
--------------------------------------------------------------------
5858

5959
This software consists of voluntary contributions made by many
6060
individuals on behalf of the PHP Group.
6161

6262
The PHP Group can be contacted via Email at group@php.net.
6363

64-
For more information on the PHP Group and the PHP project,
64+
For more information on the PHP Group and the PHP project,
6565
please see <http://www.php.net>.
6666

6767
PHP includes the Zend Engine, freely available at

Makefile.frag

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#
32
# Zend
43
#

Makefile.gcov

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#
32
# LCOV
43
#
@@ -57,12 +56,12 @@ php_lcov.info: lcov-test
5756
cp $$x.bbg lcov_data/$$y.bbg ; \
5857
fi; \
5958
done; \
60-
for dir in ext/bcmath/libbcmath ext/date/lib ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmbfl ext/mbstring/oniguruma ext/pcre/pcre2lib ext/sqlite3/libsqlite ext/xmlrpc/libxmlrpc ext/zip/lib; do \
59+
for dir in ext/bcmath/libbcmath ext/date/lib ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmbfl ext/mbstring/oniguruma ext/pcre/pcre2lib ext/xmlrpc/libxmlrpc ext/zip/lib; do \
6160
if test -d lcov_data/$$dir; then \
6261
rm -rf lcov_data/$$dir ; \
6362
fi; \
6463
done
65-
@echo
64+
@echo
6665
@echo "Generating $@"
6766
@$(LTP) --directory lcov_data/ --capture --base-directory=lcov_data --output-file $@
6867

0 commit comments

Comments
 (0)