Skip to content

sync master #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2,499 commits into from
Sep 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2499 commits
Select commit Hold shift + click to select a range
3877172
Merge branch 'PHP-7.3' into PHP-7.4
mbeccati Aug 18, 2020
cf3fb14
Merge branch 'PHP-7.4'
mbeccati Aug 18, 2020
bf9ef51
Promote warnings to exceptions in ext/pspell
kocsismate Aug 18, 2020
f2d8488
Fixed register allocation for CASE instruction. CASE don't destroy fi…
dstogov Aug 18, 2020
f559c78
Check for exception after $this destruction
dstogov Aug 18, 2020
9883fec
Fix more basic function stubs
TysonAndre Aug 18, 2020
736c5dc
Fixed memory leak (ext/hash/tests/mhash_001.phpt failure)
dstogov Aug 19, 2020
9f6820f
Fix #79968: Manipulation on unattached DOMChildNode should throw DOME…
beberlei Aug 15, 2020
a34fd4d
Update NEWS w.r.t to bugfix #79968
beberlei Aug 19, 2020
c6c1682
Fixed tracing JIT crash in case SSA for op_array is not provided
dstogov Aug 19, 2020
bcadf9d
Shrink live intervals of IS_VAR/IS_TMP_VAR
dstogov Aug 19, 2020
22982ee
Load zval type into register to eliminate double load
dstogov Aug 19, 2020
4e6fbb0
Promote warnings to exceptions in ext/gd
kocsismate Aug 19, 2020
aed1f78
micro-optimization
dstogov Aug 20, 2020
dd29a6e
efree() doesn't use line number arguments (pass zeros)
dstogov Aug 20, 2020
c64cb19
cleanup unused parameters
dstogov Aug 20, 2020
35a3e45
Better registers usage
dstogov Aug 20, 2020
8095a0e
Better register usage for ASSIGN_DIM_OP
dstogov Aug 21, 2020
ff66e49
OCI8 classes were already renamed in 8; this now follows the new-new …
cjbj Aug 21, 2020
8c57474
ensure installed ini don't interfere
remicollet Aug 21, 2020
46d62e5
Fix wrong datatype
manuelm Aug 21, 2020
8f9f308
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 21, 2020
13419be
Merge branch 'PHP-7.4' into master
cmb69 Aug 21, 2020
1b21b56
sqlite3 linkage issue on some systems/package combination fix.
devnexen Aug 15, 2020
3c5412f
Merge branch 'PHP-7.4' into master
cmb69 Aug 21, 2020
f32653a
fileinfo build fix proposal for haiku.
devnexen Aug 13, 2020
47c787f
Squash a Linux compile warning
cjbj Aug 22, 2020
b2a33ab
Fix #80007: Potential type confusion in unixtojd() parameter parsing
andypost Aug 21, 2020
81fffa8
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 22, 2020
969a432
Merge branch 'PHP-7.4' into master
cmb69 Aug 22, 2020
e6044d4
Fix #55847: DOTNET .NET 4.0 GAC new location
cmb69 Aug 6, 2020
4bba59d
Update PHP-Parser from 4.3.0 to 4.9.0
TysonAndre Aug 23, 2020
118406a
Remove custom hacks from gen_stub.php after PHP-Parser upgrade
kocsismate Aug 23, 2020
5c18ee5
Fixed use-after-free introduced by aed1f785159e7c9e81da8f2e2e06df9a6e…
dstogov Aug 24, 2020
2c2bb50
sapi/fpm/config.m4: check for libapparmor's aa_change_profile()
kees Aug 23, 2020
9395e01
Check variadic parameter for type and duplicate name
nikic Aug 24, 2020
fcd26ff
Fix #80002: calc free space for new interned string is wrong
cmb69 Aug 20, 2020
10df94d
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 24, 2020
08d2e51
Merge branch 'PHP-7.4' into master
cmb69 Aug 24, 2020
844a2dd
Fix #79986: str_ireplace bug with diacritics characters
cmb69 Aug 18, 2020
5ab7b30
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 24, 2020
c925028
Merge branch 'PHP-7.4' into master
cmb69 Aug 24, 2020
32c6a0b
further network libraries detection for Haiku system.
devnexen Aug 16, 2020
bfeb2f6
Fix: Gracefully handle empty user input in run-tests.php
Berbe Aug 19, 2020
6b6c2c0
Fix #79979: passing value to by-ref param via CUFA crashes
cmb69 Aug 24, 2020
5643f34
Merge branch 'PHP-7.4' into master
cmb69 Aug 24, 2020
e056e2d
Check for duplicate names in gen_stub.php
TysonAndre Aug 23, 2020
bb54694
Fix refcounting
nikic Aug 24, 2020
779e904
Merge branch 'PHP-7.4'
nikic Aug 24, 2020
7a6ae9b
Fix refcounting for the named params case as well
nikic Aug 24, 2020
8c3574b
Remove php_my_setlocale workaround
nikic Aug 24, 2020
9feb988
Clean up setlocale implementation
nikic Aug 24, 2020
c557c41
Drop a spurious zend_string_release
nikic Aug 24, 2020
cc35cfd
Promote warnings to exceptions in ext/filter
kocsismate Aug 10, 2020
ffff237
Promote warning to exception in ext/posix
kocsismate Aug 18, 2020
74de17f
Fix potential integer overflow detected by oss-fuzz
cmb69 Aug 24, 2020
5dd1877
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 24, 2020
1fb66b8
Promote warning to exception in ext/enchant
kocsismate Aug 19, 2020
ecf4e70
Merge branch 'PHP-7.4' into master
cmb69 Aug 24, 2020
ef7904b
JIT for MATCH and CASE_STRICT instructions
dstogov Aug 24, 2020
54fd1fc
Support for CASE_STRICT
dstogov Aug 24, 2020
d384537
Move AVOID_REFCOUNTING type info flag into a separate bit
dstogov Aug 25, 2020
afde6dc
Simplify change_node_zval implementation
nikic Aug 25, 2020
f4e9d0e
Don't return temporary from SXE write_property handler
nikic Aug 25, 2020
f068fbc
Promote warnings to exceptions in ext/xmlreader
kocsismate Aug 19, 2020
be5ba20
Promote warnings to exceptions in ext/phar
kocsismate Aug 18, 2020
9f05c32
Remove useless same_zval function
twose Aug 25, 2020
0630820
Remove bogus REGISTER_LONG_CONSTANT
nikic Aug 25, 2020
86e7aa2
Merge branch 'PHP-7.3' into PHP-7.4
nikic Aug 25, 2020
4a98b64
Merge branch 'PHP-7.4'
nikic Aug 25, 2020
3df306d
Promote warnings to exceptions in ext/pcntl
kocsismate Aug 17, 2020
d54bc29
Promote warnings to exceptions in ext/shmop
kocsismate Aug 13, 2020
3324bb8
Avoid double-free
cmb69 Aug 25, 2020
5ecefd0
Fix XMLWriter::writeDtdEntity() stub
nikic Aug 25, 2020
259d050
Clean up BreakIterator create_object handler
nikic Aug 14, 2020
923a146
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 25, 2020
7e5ed81
Merge branch 'PHP-7.4' into master
cmb69 Aug 25, 2020
f77200f
Fixed JIT failure on "$a = []; $a[1] += 2;"
dstogov Aug 25, 2020
6c8fb12
Promote warnings to exceptions in ext/simplexml
kocsismate Aug 18, 2020
647fb38
Ensure RuleBasedBreakIterator constructor throws on failure
nikic Aug 25, 2020
2369f48
Infer information about packed/hash arrays and use it for JIT
dstogov Aug 25, 2020
ea87d04
Promote warnings to exceptions in ext/pcre
kocsismate Aug 25, 2020
e86b5c8
Record information about packed arrays
dstogov Aug 25, 2020
571f6a5
Don't enable --with-mm in CI
nikic Aug 25, 2020
c2c90cf
Merge branch 'PHP-7.4'
nikic Aug 25, 2020
e999544
Avoid priniting "array [long, string] of"
dstogov Aug 25, 2020
145aba5
Merge branch 'jit_match'
dstogov Aug 25, 2020
5948a66
Prevent negative array index access
dstogov Aug 25, 2020
d4383be
Use guard to check if array is packed or hash
dstogov Aug 25, 2020
f6e5cc3
Prevent double-construction of IntlRuleBasedBreakIterator
nikic Aug 26, 2020
72eaf50
Prevent double-construction of IntlGregorianCalendar
nikic Aug 26, 2020
6b55425
Prevent double-construction of NumberFormatter
nikic Aug 26, 2020
f593019
Prevent ResourceBundle double-construction
nikic Aug 26, 2020
1954aed
Fix over-eager named params optimization
nikic Aug 26, 2020
d179e34
Fix memory leak when yielding from non-iterable
nikic Aug 26, 2020
bf3e772
Merge branch 'PHP-7.3' into PHP-7.4
nikic Aug 26, 2020
d7d2b06
Merge branch 'PHP-7.4'
nikic Aug 26, 2020
492621f
Fix memory leak on unknown named param
nikic Aug 26, 2020
1003ae2
Fix passing of undef var to named arg
nikic Aug 26, 2020
083f5f2
Improved JIT for FETCH_DIM_R/IS and ISSET_DIM_OBJ
dstogov Aug 26, 2020
0487bcf
Avoid socket path clash in test
nikic Aug 26, 2020
eb17f99
Merge branch 'PHP-7.4'
nikic Aug 26, 2020
795ad1e
Fix memory leak on unknown named param in iterator unpack
nikic Aug 26, 2020
358721b
Fix file name clash in test
nikic Aug 26, 2020
ebbe333
Merge branch 'PHP-7.4'
nikic Aug 26, 2020
1b2ec73
Drop various unused macros/APIs
Girgias Aug 26, 2020
5ff15e2
Fix #64130: COM obj parameters passed by reference are not updated
cmb69 Aug 26, 2020
1ff981d
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 26, 2020
fc4a6cd
Merge branch 'PHP-7.4' into master
cmb69 Aug 26, 2020
75ac3f1
Separate COM::__construct()s $server_name array
cmb69 Aug 25, 2020
b087bd2
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 26, 2020
2f9e9d4
Merge branch 'PHP-7.4' into master
cmb69 Aug 26, 2020
86cd009
Fix pass by ref error for named params
nikic Aug 26, 2020
55798e0
Lowercase method name in zend_call_method()
nikic Aug 26, 2020
1b7ee6d
Fix com_safearray_proxy related memory management issues
cmb69 Aug 26, 2020
8e2f219
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Aug 26, 2020
00edc3f
Merge branch 'PHP-7.4' into master
cmb69 Aug 26, 2020
247105a
Property handle read_property exception in fetch_property_address
nikic Aug 26, 2020
e069032
Merge branch 'PHP-7.4'
nikic Aug 26, 2020
c1f14b8
Fixed reference-counting
dstogov Aug 26, 2020
b9e3de0
Use "movaps" instead of "movsd" to copy the whole %xmm register.
dstogov Aug 26, 2020
16b3b33
Check reference guard once
dstogov Aug 26, 2020
c4fc453
Rename zend_jit_var_may_be_modified_indirectly() into zend_jit_var_ma…
dstogov Aug 27, 2020
3ead24e
Check interrupt only if the link is a part of the loop.
dstogov Aug 27, 2020
bd6feb7
Enforce memory limit in tracked allocation mode
nikic Aug 26, 2020
2960301
Catch potential exceptions during to string conversion
cmb69 Aug 25, 2020
f956434
Merge branch 'PHP-7.4' into master
cmb69 Aug 27, 2020
9d409f2
Eliminate ZSTR_IS_INTERNED() check
dstogov Aug 27, 2020
0026d8a
Fix use-after-free is WeakMap key and value are the same
nikic Aug 27, 2020
ce83ec8
Clean up strtok implementation
nikic Aug 27, 2020
614c0b8
Allow removing non-existing key from WeakMap
nikic Aug 27, 2020
988fc94
Fix leak on failed DatePeriod initialization
nikic Aug 27, 2020
c29838c
Add experimental "execute" fuzzer
nikic Oct 9, 2019
e701146
Update operands range information accoring to the taken branches and …
dstogov Aug 27, 2020
a2bbd8f
Fix leak in typed reference assignment
nikic Aug 27, 2020
a3d0d94
Use zend_dval_to_lval() in spl_offset_convert_to_long()
nikic Aug 27, 2020
62dce97
Require non-negative length in stream_get_contents()
nikic Aug 27, 2020
8daf792
Merge branch 'PHP-7.3' into PHP-7.4
nikic Aug 27, 2020
e083cfa
Merge branch 'PHP-7.4'
nikic Aug 27, 2020
5ae657b
Don't assert when comparing uninit DateTimeZone objects
nikic Aug 27, 2020
ac98ac7
Merge branch 'PHP-7.4'
nikic Aug 27, 2020
a88226d
Generate execute corpus in generate_all.php
nikic Aug 27, 2020
bb1d031
Fix typo
nikic Aug 27, 2020
972041d
Replace "mov %eax, %ecx; shl $1, $ecx" by "lea (%eax,%eax), %ecx"
dstogov Aug 27, 2020
0866208
Remove useless register allocations
dstogov Aug 27, 2020
1c1165f
Avoid useless IP load
dstogov Aug 27, 2020
1d0f553
Store incomplete_class entry as normal global
nikic Aug 28, 2020
c47011b
Use zend_string when storing incomplete class name
nikic Aug 28, 2020
df5011f
Export and reuse zend_is_valid_class_name API
nikic Aug 28, 2020
4ce3830
Remove unused BG(str_ebuf) global
nikic Aug 28, 2020
99c5e08
Throw Error instead of E_ERROR when calling method on incomplete class
nikic Aug 28, 2020
f965e20
Promote ArrayObject modification during sorting to Error exception
nikic Aug 28, 2020
32315c2
Promote incomplete class to modification to Error
nikic Aug 28, 2020
5db44e3
Fix tracked_realloc
nikic Aug 28, 2020
7690439
Don't load IP when entering inlined function
dstogov Aug 28, 2020
fa8d9b1
Improve type declarations for Zend APIs
Girgias Aug 28, 2020
138f141
Don't mark variadic functions as ZEND_FASTCALL
nikic Aug 28, 2020
2c15c9c
Rehash function table after disabling functions
nikic Aug 28, 2020
f0dfdca
Fix execute fuzzer on i386
nikic Aug 28, 2020
b2bc2c6
Remove unnecessary cache_slot arguments
nikic Aug 28, 2020
9277713
Fix unused variable warning
nikic Aug 28, 2020
8636401
Avoid ubsan warning with dummy cache slot addr
nikic Aug 28, 2020
a1a4c03
Fix call to type error functions from jit
nikic Aug 28, 2020
1902f73
Support cli_server.color on Windows
cmb69 Aug 16, 2020
c3eeab0
fileinfo: Upgrade to libmagic 5.39
weltling Jul 4, 2020
bf93f1d
fileinfo: Followup fixes
weltling Jul 5, 2020
f8f2881
libmagic: Remove unneeded includes
weltling Aug 29, 2020
c676e8f
libmagic: Fix VS compat
weltling Aug 29, 2020
66f15e7
NEWS: Add libmagic note [ci skip]
weltling Aug 29, 2020
9ddf8e5
EXTENSIONS: Update fileinfo maintainership info [ci skip]
weltling Aug 29, 2020
486866c
libmagic: Update patch [ci skip]
weltling Aug 29, 2020
e948188
Improve error_handing replacement functions
twose Aug 27, 2020
45ed9b4
Merge branch 'PHP-7.3' into PHP-7.4
twose Aug 30, 2020
f982038
Merge branch 'PHP-7.4'
twose Aug 25, 2020
376bbbd
Make MAX_IFD_NESTING_LEVEL an actual nesting level
nikic Aug 12, 2020
c45985d
Merge branch 'PHP-7.3' into PHP-7.4
nikic Aug 31, 2020
5f4b169
Merge branch 'PHP-7.4'
nikic Aug 31, 2020
c8093fe
Fix bug #80018: Tolerate var_dump() printing floats in exponential no…
nixprime Aug 25, 2020
e81becc
Fix trampoline leak in array_map
nikic Aug 31, 2020
061c708
Correctly report failure in zend_handle_undef_args()
nikic Aug 31, 2020
ad750c3
Fix handling of exception if valid() during yield from
nikic Aug 31, 2020
b396fb3
Merge branch 'PHP-7.3' into PHP-7.4
nikic Aug 31, 2020
ad97739
Merge branch 'PHP-7.4'
nikic Aug 31, 2020
ee2506c
Fix #80027 Terrible performance using $query->fetch on queries with m…
mbeccati Aug 31, 2020
44ade0e
Fix #80027 Terrible performance using $query->fetch on queries with m…
mbeccati Aug 31, 2020
42b6b8a
Merge branch 'PHP-7.3' into PHP-7.4
mbeccati Aug 31, 2020
dc4d554
Merge branch 'PHP-7.4'
mbeccati Aug 31, 2020
8f7c529
Add test for bug #80039
nikic Aug 31, 2020
0e9d76e
Merge branch 'PHP-7.4'
nikic Aug 31, 2020
dfaa476
Fix bug #80037
nikic Aug 31, 2020
570f463
Merge branch 'PHP-7.4'
nikic Aug 31, 2020
5097564
Fixed bug #80030
nikic Aug 31, 2020
778902d
Update timelib to 2018.04
derickr Aug 31, 2020
932b735
Merge branch 'PHP-7.3' into PHP-7.4
derickr Aug 31, 2020
4a84aca
Merge branch 'PHP-7.4' into master
derickr Aug 31, 2020
1410cd6
Promote warnings to exceptions in ext/ftp
kocsismate Aug 30, 2020
0bc8785
Update timelib to 2020.01
derickr Aug 31, 2020
c9b5a29
Merge branch 'master' of git.php.net:php-src into master
derickr Aug 31, 2020
8ec9065
Update timelib to 2020.02
derickr Aug 31, 2020
488e53c
Fixed test case
derickr Aug 31, 2020
41e11a8
Merge branch 'PHP-7.3' into PHP-7.4
derickr Aug 31, 2020
bef20d4
Merge branch 'PHP-7.4' into master
derickr Aug 31, 2020
b4196ae
Fix fetching default value of internal function with userland arginfo
nikic Aug 31, 2020
5828d54
Perform type guard checks before IS_UNDEF checks (check IS_UNDEF duri…
dstogov Aug 31, 2020
ecd986c
Fix build warnings after timelib update
nikic Aug 31, 2020
8bb2f40
Check update constant failure in ReflectionClassConstant::__toString()
nikic Aug 31, 2020
1036fd2
Merge branch 'PHP-7.4'
nikic Aug 31, 2020
1f6f9c7
Fix leak on consteval exception in ReflectionClass::__toString()
nikic Aug 31, 2020
53a8754
Merge branch 'PHP-7.4'
nikic Aug 31, 2020
4163923
More agressive "packed array" guards insertion
dstogov Aug 31, 2020
70300f6
Add tests for nullsafe operator on delayed oplines
iluuu1994 Aug 15, 2020
2022f2e
Fix nullsafe operator with delayed oplines
nikic Aug 31, 2020
cd2afd9
Fix leak on assign concat of array and empty string
nikic Aug 31, 2020
9560e3b
Merge branch 'PHP-7.3' into PHP-7.4
nikic Aug 31, 2020
4acac9b
Merge branch 'PHP-7.4'
nikic Aug 31, 2020
d4d52ba
Prevent com::__construct() to modify the $server_name array
cmb69 Aug 26, 2020
dc98c13
Additional tests for mbstring extension
alexdowad Jul 15, 2020
d4ef7ef
Inline unneeded indirection for mbstring memory management
alexdowad Jun 27, 2020
29b02bf
Use new-style argument parsing macros in mbstring.c
alexdowad Jun 26, 2020
8d13348
Separate implementation of mb_{en,de}code_numericentity
alexdowad Jul 3, 2020
a64241b
Remove unused functions from mbstring
alexdowad Jun 27, 2020
ddc76e5
Fix typos in comments in mb_send_mail
alexdowad Jun 29, 2020
ea3f0ee
Optimize php_unicode_convert_case (cuts mbstring case conversion time…
alexdowad Jun 27, 2020
b7808d0
Remove useless definition of NULL in mbfl_string.h
alexdowad Jul 3, 2020
62317d5
Remove redundant includes from mbstring (and make sure correct config…
alexdowad Jul 4, 2020
7eddcab
Don't guard mbstring code with #ifdef HAVE_MBSTRING
alexdowad Jul 5, 2020
3a100cd
Add comment on mbstring East Asian Width table
alexdowad Jul 11, 2020
cdc6640
Comment constants in mbfl_consts.h, remove unused ones
alexdowad Jul 11, 2020
b03fd37
Code cleanup in mbstring.c
alexdowad Jul 11, 2020
91d7e87
Fixed nested init fcall guards.
dstogov Sep 1, 2020
3761293
Fix pi node removal when removing predecessor
nikic Sep 1, 2020
682823b
Add explicit double cast
nikic Sep 1, 2020
c088a93
Merge branch 'PHP-7.4'
nikic Sep 1, 2020
a99d08b
Fix type inference for FE_RESET on invalid type
nikic Sep 1, 2020
7476d2c
Promote warnings to exceptions in ext/tidy
kocsismate Aug 28, 2020
47d9446
Promote warnings to exceptions in ext/soap and ext/xmlwriter
kocsismate Aug 17, 2020
6ff5b3d
Avoid null pointer UB in accel blacklist
nikic Sep 1, 2020
48e31be
Fix FE_FETCH_R_SIMPLE specialization
nikic Sep 1, 2020
5c1cf76
Prepend compiler warning flags to CFLAG instead to append them
Girgias Sep 1, 2020
f92a036
Check for null EX(func) in write_property
nikic Sep 1, 2020
88a8ebc
Merge branch 'PHP-7.4'
nikic Sep 1, 2020
1c56b40
Eliminate some EX_CALL_INFO() checks
dstogov Sep 1, 2020
f7fbc63
Add more precise type info for stubs
kocsismate Aug 14, 2020
bd8e0a9
Eliminate useless EG(exception) checks aftr FE_RESET/FE_FETCH
dstogov Sep 1, 2020
66c3e90
Add zend_observer API
morrisonlevi Sep 1, 2020
ea14de7
Update NEWS for PHP 8.0.0beta3
carusogabriel Sep 1, 2020
1e8e8ab
Update NEWS for 8.0.0rc1
carusogabriel Sep 1, 2020
c6ea0e9
Assert there are children in zend_generator_get_child()
nikic Sep 1, 2020
a868780
Disable ifunc resolvers under dataflow sanitizer
nikic Sep 1, 2020
7484b8f
Preallocate zval for unused result of internal function on CPU stack
dstogov Sep 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 2 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,25 +80,15 @@ include/
libs/
modules/

# Used by scripts/dev/gen_stub.php
scripts/dev/PHP-Parser-*
# Used by build/gen_stub.php
build/PHP-Parser-*

# ------------------------------------------------------------------------------
# Configuration headers generated by the PHP build system
# ------------------------------------------------------------------------------
config.h
config.h.in
/ext/date/lib/timelib_config.h
/ext/iconv/php_have_bsd_iconv.h
/ext/iconv/php_have_glibc_iconv.h
/ext/iconv/php_have_ibm_iconv.h
/ext/iconv/php_have_iconv.h
/ext/iconv/php_have_libiconv.h
/ext/iconv/php_iconv_aliased_libiconv.h
/ext/iconv/php_iconv_broken_ignore.h
/ext/iconv/php_iconv_supports_errno.h
/ext/iconv/php_php_iconv_h_path.h
/ext/iconv/php_php_iconv_impl.h
/main/build-defs.h
/main/php_config.h.in
/main/php_config.h
Expand Down
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
arch: amd64
- env: ENABLE_ZTS=1 ENABLE_DEBUG=1 SKIP_IO_CAPTURE_TESTS=1 ARM64=1
arch: arm64
#- env: ENABLE_ZTS=1 ENABLE_DEBUG=1 SKIP_IO_CAPTURE_TESTS=1 S390X=1
# arch: s390x

before_script:
- ccache --version
Expand All @@ -89,7 +91,9 @@ before_script:

# Run PHPs run-tests.php
script:
- ./sapi/cli/php run-tests.php -P -d extension=`pwd`/modules/zend_test.so $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120 -j$(nproc)
# ARM64 CI reports nproc=32, which is excessive.
- if [ -z "$ARM64" ]; then export JOBS=$(nproc); else export JOBS=16; fi
- ./sapi/cli/php run-tests.php -P -d extension=`pwd`/modules/zend_test.so $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120 -j$JOBS
- sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");'

after_success:
Expand Down
38 changes: 8 additions & 30 deletions CODING_STANDARDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,44 +272,23 @@ use these rules.
1. Extensions should be well tested using `*.phpt` tests. Read about that at
[qa.php.net](https://qa.php.net/write-test.php) documentation.

## Documentation and folding hooks
## Folding hooks

In order to make sure that the online documentation stays in line with the code,
each user-level function should have its user-level function prototype before it
along with a brief one-line description of what the function does. It would look
like this:
Use `{{{` symbols for the folding mode in Emacs and vim (`set fdm=marker`).
Folding is very useful when dealing with large files because you can scroll
through the file quickly and just unfold the function you wish to work on.
The `}}}` at the end of each function marks the end of the fold, and should
be on a separate line.

```c
/* {{{ proto int abs(int number)
Returns the absolute value of the number */
/* {{{ Returns the absolute value of the number */
PHP_FUNCTION(abs)
{
...
}
/* }}} */
```

The `{{{` symbols are the default folding symbols for the folding mode in Emacs
and vim (`set fdm=marker`). Folding is very useful when dealing with large files
because you can scroll through the file quickly and just unfold the function you
wish to work on. The `}}}` at the end of each function marks the end of the
fold, and should be on a separate line.

The `proto` keyword there is just a helper for the `doc/genfuncsummary` script
which generates a full function summary. Having this keyword in front of the
function prototypes allows us to put folds elsewhere in the code without
messing up the function summary.

Optional arguments are written like this:

```c
/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
Returns a header object with the defined parameters */
```

And yes, please keep the prototype on a single line, even if that line is
massive.

## New and experimental functions

To reduce the problems normally associated with the first public implementation
Expand All @@ -334,8 +313,7 @@ purposes, these will only be documented by the most current name, with the
aliases listed in the documentation for the parent function. For ease of
reference, user-functions with completely different names, that alias to the
same function (such as `highlight_file` and `show_source`), will be separately
documented. The proto should still be included, describing which function is
aliased.
documented.

Backwards compatible functions and names should be maintained as long as the
code can be reasonably be kept as part of the codebase. See the `README` in the
Expand Down
3 changes: 0 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,6 @@ locations.
└─ tokenizer/
├─ tokenizer_data.c # Generated by `ext/tokenizer/tokenizer_data_gen.sh`
└─ ...
└─ xmlrpc/
├─ libxmlrpc/ # Forked and maintained in php-src
└─ ...
└─ zend_test # For testing internal APIs. Not needed for regular builds.
└─ ...
└─ zip/ # Bundled https://github.com/pierrejoye/php_zip
Expand Down
7 changes: 1 addition & 6 deletions EXTENSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,6 @@ PRIMARY MAINTAINER: Rob Richards <rrichards@php.net> (2004 - 2010)
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xmlrpc
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Orphaned
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: xmlwriter
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net> (2004 - 2010)
Pierre-Alain Joye <pajoye@php.net> (2005-2009)
Expand Down Expand Up @@ -298,7 +293,7 @@ SINCE: 7.4.0
-------------------------------------------------------------------------------
EXTENSION: fileinfo
PRIMARY MAINTAINER: Derick Rethans <derick@php.net> (2004 - 2008)
Anatol Belski <ab@php.net> (2012 - 2019)
Anatol Belski <ab@php.net> (2012 - 2020)
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3
Expand Down
Loading