Skip to content

Another string comparison #4

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

Closed
wants to merge 3,483 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3483 commits
Select commit Hold shift + click to select a range
225117a
Upgrade to PCRE2 10.34
cmb69 Apr 6, 2020
a1a044d
Add additional preg_match test case
GrahamCampbell Apr 7, 2020
ccca2c4
Fix #79503: Memory leak on duplicate metadata
cmb69 Apr 22, 2020
c705079
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Apr 22, 2020
73d02c3
Fix bug #79447
nicolas-grekas Apr 15, 2020
51fb839
Add additional preg_match test case
GrahamCampbell Apr 7, 2020
cf22af2
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Apr 23, 2020
b962d2e
Updated to version 2020.1 (2020a)
derickr Apr 24, 2020
d6eab50
Empty merge
derickr Apr 24, 2020
3676418
Updated to version 2020.1 (2020a)
derickr Apr 24, 2020
3151676
Fix #79514: Memory leaks while including unexistent file
cmb69 Apr 24, 2020
29968d8
Fix #79470: PHP incompatible with 3rd party file system on demand
cmb69 Apr 24, 2020
a2ed731
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Apr 27, 2020
6bc8f7e
Fix #79065: DOM classes do not expose properties to Reflection
cmb69 Apr 21, 2020
6998cc5
Bump version
cmb69 Apr 28, 2020
817e100
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Apr 28, 2020
75470bc
Revert "Fix #79065: DOM classes do not expose properties to Reflection"
nikic Apr 28, 2020
b1b98e0
Make 045.phpt busy wait
nikic Apr 29, 2020
67f9b0b
Fix #79532: sizeof off_t can be wrong
cmb69 Apr 28, 2020
8555c2b
Fixed bug #79536 (zend_clear_exception prevent exception's destructor…
laruence Apr 29, 2020
5d3b7ac
Merge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4
laruence Apr 29, 2020
9a98569
Pass worker ID to clean scripts
cmb69 Apr 29, 2020
7e14e03
Reduce test parallelism on ARM64 CI
nikic Apr 21, 2020
54148fd
Fix #79528: Different object of the same xml between 7.4.5 and 7.4.4
cmb69 May 1, 2020
9b9252c
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 1, 2020
d950969
Add basic sapi_windows_cp_conv() test
cmb69 May 4, 2020
ef54899
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 4, 2020
9c5d9b4
Fix i386 build on Azure
nikic May 4, 2020
7c1316e
Fixed bug #79535
nikic May 4, 2020
733d84d
Merge branch 'PHP-7.3' into PHP-7.4
nikic May 4, 2020
21a9ad9
Fixed bug #79548
nikic May 4, 2020
c40a494
Fix #79561: dns_get_record() fails with DNS_ALL
cmb69 May 4, 2020
ed6bf0b
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 4, 2020
f33cf52
Fix #79566: Private SHM is not private on Windows
cmb69 May 5, 2020
80b5006
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 5, 2020
1e3196a
Don't check directory atime in lstat_stat_variation10.phpt test
alexdowad May 10, 2020
5174318
Fix default sendmail path when not found during build
Ingramz May 9, 2020
d050d74
Merge branch 'PHP-7.3' into PHP-7.4
nikic May 11, 2020
d530087
Fix #79571: FFI: var_dumping unions may segfault
cmb69 May 11, 2020
1c9bd51
Fix #78875: Long filenames cause OOM and temp files are not cleaned
cmb69 Mar 18, 2020
3c8582c
Fix #78876: Long variables cause OOM and temp files are not cleaned
cmb69 Mar 18, 2020
f430412
Merge branch 'PHP-7.2' into PHP-7.3
smalyshev May 11, 2020
355e36e
Merge branch 'PHP-7.3' into PHP-7.4
smalyshev May 11, 2020
b4afd21
Update NEWS
smalyshev May 11, 2020
4cf8be7
bump version to 7.2.32-dev
remicollet May 12, 2020
8f8f32c
Merge branch 'PHP-7.2' into PHP-7.3
remicollet May 12, 2020
43f6f26
Merge branch 'PHP-7.3' into PHP-7.4
remicollet May 12, 2020
85e241c
[ci skip] Update NEWS
cmb69 May 12, 2020
6cb3d5e
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 12, 2020
bdba0cd
Fix #79489: .user.ini does not inherit
cmb69 May 5, 2020
4b0d5e0
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 12, 2020
8623a85
Skip test on big-endian architectures
cmb69 May 12, 2020
5bdb4ab
Fix #79588: Boolean opcache settings ignore on/off values
cmb69 May 12, 2020
129fd64
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 12, 2020
1892e3a
Fix brittle shmop test
cmb69 May 13, 2020
d4bebc8
Properly detect CRC32 APIs on aarch64 from configure
oerdnj May 13, 2020
ae1d4a8
Fix lcov genhtml: ERROR: cannot read [file]
gerardroche May 13, 2020
3978d3a
Canonicalize bison error during ini parsing
nikic May 14, 2020
bfcee2c
Check compatibility with proper runtime DLL
cmb69 May 14, 2020
f4c9f8b
[ci skip] Fix NEWS
cmb69 May 15, 2020
d1cd489
Fix #79596: MySQL FLOAT truncates to int some locales
cmb69 May 15, 2020
844a124
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 15, 2020
8c6d006
Fix #79557: extension_dir = ./ext now use current directory for base
cmb69 May 4, 2020
ccd41e0
Fixed bug #97599 (coredump in set_error_handler)
laruence May 15, 2020
446d189
Merge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4
laruence May 15, 2020
3a3241c
fixed typo of bug id (#79599)
laruence May 15, 2020
d87b068
Fixed bug #79600
nikic May 15, 2020
74a4a5a
Put Xdebug 3 into 'off' mode for run-tests.php
derickr May 18, 2020
8e7d94e
Merge branch 'PHP-7.3' into PHP-7.4
derickr May 18, 2020
d279750
Put Xdebug 3 into 'off' mode for run-tests.php
derickr May 18, 2020
85ac564
Fix INI setting member name
cmb69 May 18, 2020
6a9db95
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 19, 2020
c4badcb
Bump version
cmb69 May 19, 2020
8819d24
Don't require rc=1 for function static variables
nikic May 20, 2020
db0cdcb
Fix static property indirections in file cache
nikic May 20, 2020
4f47ba9
Fix bug #79603, by retrying on RTD key collision
nikic May 19, 2020
405bea4
Update msan symbolizer path
nikic May 15, 2020
d4bd6fb
Fix #79615: Wrong GIF header written in GD GIFEncode
cmb69 May 22, 2020
da801ba
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 22, 2020
88dfc47
Fix #79595: zend_init_fpu() alters FPU precision
cmb69 May 20, 2020
6ad7464
Show diffs for failed tests on Azure CI
alexdowad May 22, 2020
10eb842
Revert "Fix #79595: zend_init_fpu() alters FPU precision"
nikic May 22, 2020
c249f59
7.3.20 will be next
cmb69 May 26, 2020
ee36478
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 26, 2020
fb370ec
Fixed historical dates in NEWS
derickr May 26, 2020
314ab47
Fix zend_assign_to_typed_ref() implementation
nikic May 26, 2020
4a08ca1
Respect typed references in catch assignment
nikic May 26, 2020
46d88a4
This bug fix was cherry picked into 7.4.6
derickr May 26, 2020
c6fc400
Add (expected) release date, and new header for 7.4.8
derickr May 26, 2020
879004d
Fix #79595: zend_init_fpu() alters FPU precision
cmb69 May 26, 2020
e483761
Fix #73926: phpdbg will not accept input on restart execution
cmb69 May 19, 2020
8483a21
Fix several mostly Windows related phpdbg bugs
cmb69 May 25, 2020
9d5dafe
Make phpdbg test portable
cmb69 May 25, 2020
9fad9ad
Enable phpdbg tests on AppVeyor
cmb69 May 25, 2020
1f521a0
Fixed possible usage of uninitialized value
dstogov May 27, 2020
886a34b
Merge branch 'PHP-7.3' into PHP-7.4
dstogov May 27, 2020
490ca05
Use automatic port assignment in socket_import/export test
nikic May 28, 2020
744f901
Fix PVS-Studio integration
cmb69 May 28, 2020
8068fad
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 May 28, 2020
923c45b
Fix #79650: php-win.exe 100% cpu lockup
cmb69 May 31, 2020
b26ad33
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 1, 2020
63bd8f3
Fix #79664: PDOStatement::getColumnMeta fails on empty result set
cmb69 Jun 2, 2020
4611350
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 2, 2020
af4a9bf
Fix #73927: phpdbg fails with windows error prompt at "watch array"
cmb69 May 27, 2020
2a7d628
Skip new watch point test under asan
nikic Jun 3, 2020
3911158
Report len as -1 instead of INT_MAX
nikic Jun 3, 2020
b8e7b30
Fix #79668: get_defined_functions(true) may miss functions
cmb69 Jun 3, 2020
5e38a1b
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 4, 2020
a230717
mysqlnd: Remove unnecessary check for HAVE_ZLIB
talyz Jun 3, 2020
ceae816
Fix #73527: Invalid memory access in php_filter_strip
cmb69 Jun 4, 2020
d65c853
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 4, 2020
ca7dcb8
Respect --program-prefix/suffix when installing phar
n8man May 30, 2020
46d2a98
Update intl test suite for ICU 67.1
cmb69 Apr 24, 2020
4902b1c
Remove unnecessary "poo" rmdirs
nikic Jun 5, 2020
d21b1c5
Allow defining of uname value for reproducible builds
jelly Jun 5, 2020
9b39ddb
Disable mysqlnd compression on msan build
nikic Jun 8, 2020
df2db7f
Fixed bug #79657
nikic Jun 8, 2020
12c59f6
Fix #74267: segfault with streams and invalid data
cmb69 Jun 8, 2020
ee4683c
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 8, 2020
2447fd9
Fixed bug #79683
nikic Jun 9, 2020
eac700b
[ci skip] Update NEWS
cmb69 Jun 9, 2020
5d3da2e
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 9, 2020
eadd980
Fix #62890: default_socket_timeout=-1 causes connection to timeout
cmb69 Jun 9, 2020
85657b4
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 9, 2020
7ac0fb5
Fix possibly unsupported timercmp() usage
cmb69 Jun 9, 2020
3c12c41
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 9, 2020
a297c09
Partial fixed bug #79649 (Altering disable_functions from module init…
laruence Jun 10, 2020
c5bafc3
Also support absolute Windows filenames
cmb69 Jun 10, 2020
1905cf0
Explicitly start postgres on azure
nikic Jun 10, 2020
6747068
Fix #79681: mime_content_type/finfo returning incorrect mimetype
cmb69 Jun 9, 2020
2a6f2d8
Update NEWS wrt. bug 79681
cmb69 Jun 10, 2020
2fd278b
sqlite3: Fix possible use after free
weltling Jun 11, 2020
09532a1
Suppress deprecation warning in sockets.c
nikic Jun 12, 2020
86e1f0e
Fix #79676: imagescale adds black border with IMG_BICUBIC
cmb69 Jun 5, 2020
ff7fd3d
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 12, 2020
e0d2070
Use shared setup.yml on azure
nikic Jun 12, 2020
8641d76
Drop freetype from i386
nikic Jun 12, 2020
5621c5f
Fix #79687: Sony picture - PHP Warning - Make, Model, MakerNotes
cmb69 Jun 13, 2020
59e343c
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 13, 2020
3f2f36d
Fix non-default syntax in mb_ereg_search()
nikic Jun 16, 2020
3d6199d
Add mbregex skipif
nikic Jun 17, 2020
9b3e579
Suppress zend signals check in two readline tests
nikic Jun 17, 2020
52c2f11
Use sha256 as digest algorithm in certificate generator
nikic Jun 17, 2020
4c899fb
Remove bug48187.phpt
nikic Jun 18, 2020
3dfa258
Don't use ternary in ini default
nikic Jun 18, 2020
6b702ee
Migrate some tests to certificate generator
nikic Jun 18, 2020
b281493
Fix tests regarding OpenSSL security_level
cmb69 Jun 18, 2020
51e3cb3
Don't generate spurious warning is security_level not supported
nikic Jun 18, 2020
2c0d47c
Revert "Fix tests regarding OpenSSL security_level"
nikic Jun 18, 2020
dd7d161
Generate certificate for bug65729.pem
nikic Jun 18, 2020
58ca47a
Generate certificate for bug68920.phpt
nikic Jun 18, 2020
72b3987
Generate certificates for bug69215.phpt
nikic Jun 18, 2020
acdd6e5
Add missing NEWS entry
cmb69 Jun 18, 2020
c7fe71c
Add SubjectAltName support to certificate generator
nikic Jun 18, 2020
8ba0624
Downgrade server security level in security level test
nikic Jun 18, 2020
76ca6bf
Un-XFAIL FPM tests
nikic Jun 18, 2020
ea3a317
Fix race condition in FPM tests
nikic Jun 18, 2020
090bddb
Update libzip on macos
nikic Jun 18, 2020
f3e6b12
check for broken libzip versions
remicollet Jun 18, 2020
21a2da2
Generate temporary config file when generating certificates
nikic Jun 19, 2020
32f377b
Fixed bug #79710
nikic Jun 19, 2020
2f56b00
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jun 19, 2020
6aff9a5
Fixed bug #79570
Jun 19, 2020
525d8a8
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jun 19, 2020
afe1423
SplHeap: Avoid memcpy on overlapping pointer
weltling Jun 21, 2020
13f9f87
PHP-7.4 is now 7.4.9-dev
derickr Jun 23, 2020
91982ba
7.3 is now 7.3.21-dev
cmb69 Jun 23, 2020
36d3c4d
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 23, 2020
c4639a2
Restore XFAIL on fpm test
nikic Jun 23, 2020
e94126a
Fix #55857: ftp_size on large files
cmb69 Jun 23, 2020
e7bbac9
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 23, 2020
a895bb6
Fix #79487: ::getStaticProperties() ignores property modifications
cmb69 Jun 23, 2020
f3cccfd
Revert "Fix #79487: ::getStaticProperties() ignores property modifica…
cmb69 Jun 23, 2020
ef2130d
Fix #79487: ::getStaticProperties() ignores property modifications
cmb69 Jun 24, 2020
26aefb7
Fix #69804: ::getStaticPropertyValue() throws on protected props
cmb69 Apr 15, 2020
32257ac
Fix potential environment variable deadlock
cmb69 Jun 24, 2020
565baf0
Handle *0 / *1 more consistently
nikic Jun 24, 2020
4a26628
Fixed bug #79030 Use usec from apache request time
herbert256 Jun 24, 2020
5435a4a
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jun 24, 2020
c5caa05
Fixed bug #79740
nikic Jun 26, 2020
43cd3f6
Fixed bug #79741
nikic Jun 26, 2020
978cdb7
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jun 26, 2020
fabcd9f
Don't inline static call to instance method
nikic Jun 29, 2020
816b4c1
Fix #79756: finfo_file crash (FILEINFO_MIME)
cmb69 Jun 29, 2020
dfac28f
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 29, 2020
a385cfa
Fix #63208: BSTR to PHP string conversion not binary safe
cmb69 Jun 29, 2020
4af69b8
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 29, 2020
7f3bc64
Fix #70362: Can't copy() large 'data://' with open_basedir
cmb69 Mar 5, 2020
993b19a
Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jun 30, 2020
fc6f53d
Fix leak when setting cyclic previous exception in finally
nikic Jun 30, 2020
0fa70b3
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jun 30, 2020
187a72d
Remove bogus generator iterator dtor
nikic Jun 30, 2020
d1be10d
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jun 30, 2020
0a216f5
Allow different error message for errno 58
nikic Jul 1, 2020
f1bf058
Handle SO_ options only at SOL_SOCKET level
nikic Jul 2, 2020
c49fb83
Extract test helper function for SeCreateSymbolicLinkPrivilege check
cmb69 Jul 2, 2020
2ecb468
Update php_version.h
cmb69 Jul 2, 2020
1973ca2
Enable most lstat_stat_* tests on Windows
cmb69 Jul 2, 2020
6f0b733
Enable readlink_realpath_* tests on Windows
cmb69 Jul 2, 2020
1b961c0
Skip test if SeCreateSymbolicLinkPrivilege is not given
cmb69 Jul 3, 2020
a58d865
Fix tests for x86 Windows
cmb69 Jul 3, 2020
971e5c5
Fixed bug #79783
nikic Jul 7, 2020
b765f96
Fixed bug #79778
nikic Jul 7, 2020
d9b4974
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jul 7, 2020
6a9d934
Fixed bug #79779
nikic Jul 7, 2020
64931fd
Fixed bug #79792
nikic Jul 7, 2020
48a2471
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jul 7, 2020
220880a
Fixed bug #78598
nikic Feb 4, 2020
7ec3aa1
Don't use deprecated curly brace offset syntax
cmb69 Jul 7, 2020
f23bd48
Don't use deprecated curly brace offset syntax
cmb69 Jul 7, 2020
b0014ad
[ci skip] Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jul 7, 2020
62bec0e
Fixed bug #79784
nikic Jul 7, 2020
77acc8a
Fixed bug #79793
nikic Jul 7, 2020
9588c84
Prep NEWS for 7.2.32 release
sgolemon Jul 7, 2020
c68d48d
Prep for 7.2.33
sgolemon Jul 7, 2020
e54f18a
Merge branch 'PHP-7.2' into PHP-7.3
sgolemon Jul 7, 2020
fef2636
Merge branch 'PHP-7.3' into PHP-7.4
sgolemon Jul 7, 2020
e6160e9
Report len as -1 instead of INT_MAX
nikic Jun 3, 2020
776e872
[ci skip] Merge branch 'PHP-7.3' into PHP-7.4
cmb69 Jul 8, 2020
3d5de7d
Fix bug #79787
x-xiang Jul 4, 2020
77a8a70
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jul 8, 2020
972383f
Revert "Partial fixed bug #79649 (Altering disable_functions from mod…
derickr Jul 9, 2020
a3cb612
Revert "Fixed bug #97599 (coredump in set_error_handler)"
nikic Jul 9, 2020
5795dfd
Fix bug #79599 in a different way
nikic Jul 9, 2020
8318379
Switch back to FREE_UNFETCHED_OP_DATA
nikic Jul 9, 2020
db484b6
Prevent parallel test conflicts
cmb69 Jul 9, 2020
23ef0a1
Fix some memory bugs in ldap.c
ptomulik Jul 3, 2020
2235286
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jul 10, 2020
c6ab308
fix some ext/ldap/tests
ptomulik Jul 3, 2020
b291c92
enable ext/ldap/tests on azure
ptomulik Jul 3, 2020
68293b1
Enable symlink_link_linkinfo_is_link_* tests on Windows
cmb69 Jul 9, 2020
7edc5e5
Fix skip reasons
cmb69 Jul 10, 2020
99aa548
Enable further ext/standard/tests/file tests on Windows
cmb69 Jul 10, 2020
a72c53a
Fixed bug #79817
nikic Jul 10, 2020
3f8d71d
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jul 10, 2020
150504e
Fixed bug #79821
twose Jul 10, 2020
8db2ae8
Merge branch 'PHP-7.3' into PHP-7.4
twose Jul 10, 2020
56dec3c
Fixed bug #79830 introduced by fixing bug #79821
twose Jul 11, 2020
6ef08b1
Merge branch 'PHP-7.3' into PHP-7.4
twose Jul 11, 2020
f0b2c2c
Fixed BC break of php_debug_zval_dump
twose Jul 11, 2020
7a39e17
Merge branch 'PHP-7.3' into PHP-7.4
twose Jul 11, 2020
e2c17ce
Fix test for x86 Windows
cmb69 Jul 13, 2020
ce149b0
Fixed bug #79849
bolknote Jul 13, 2020
162776a
Merge branch 'PHP-7.3' into PHP-7.4
nikic Jul 14, 2020
f855b59
Merge remote-tracking branch 'upstream/PHP-7.4' into PHP-7.4
nikic Jul 14, 2020
ee7c7a8
Fixed bug #79820
Jul 15, 2020
148d797
Print warning if comparison result will change
nikic Mar 4, 2019
b2350cc
Don't throw a warning for 1/-1 flips on equality comparisons
nikic Mar 4, 2019
e008767
fix: else logic fix maybe
snmatsui Apr 24, 2024
3298f6a
fix: switch eqluatity only
snmatsui Apr 24, 2024
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
  •  
  •  
  •  
11 changes: 9 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,21 @@ branches:

clone_depth: 64

skip_commits:
files:
- docs/*
- NEWS
- UPGRADING
- UPGRADING.INTERNALS

cache:
- c:\build-cache

environment:
PHP_BUILD_CACHE_BASE_DIR: c:\build-cache
PHP_BUILD_OBJ_DIR: c:\obj
PHP_BUILD_CACHE_SDK_DIR: c:\build-cache\sdk
PHP_BUILD_SDK_BRANCH: php-sdk-2.2.0beta3
PHP_BUILD_SDK_BRANCH: php-sdk-2.2.0
PHP_BUILD_CRT: vc15
# ext and env setup for tests
#MYSQL_TEST_PASSWD: Password12!
Expand All @@ -33,7 +40,7 @@ environment:
PARALLEL: -j2
- THREAD_SAFE: 1
OPCACHE: 1
PARALLEL:
PARALLEL: -j2
INTRINSICS: AVX

services:
Expand Down
33 changes: 10 additions & 23 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,32 @@
root = true

[*]
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
charset = utf-8
tab_width = 4

[*.{c,h,y,awk,w32,bat,mk,frag,cpp}]
charset = utf-8
end_of_line = lf
[{*.{awk,bat,c,cpp,d,h,l,re,skl,w32,y},Makefile*}]
indent_size = 4
indent_style = tab
trim_trailing_whitespace = true
insert_final_newline = true

[*.{php,phpt,inc}]
charset = utf-8
end_of_line = lf
[*.{dtd,html,inc,php,phpt,rng,wsdl,xml,xsd,xsl}]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml,m4,sh}]
charset = utf-8
end_of_line = lf
[*.{ac,m4,sh,yml}]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
charset = utf-8
end_of_line = lf
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80

[COMMIT_EDITMSG]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80

[*.patch]
trim_trailing_whitespace = false
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Replace $Id$ strings with 40-character hexadecimal blob object name.
/ext/mysqlnd/mysqlnd.h ident
/ext/ext_skel.php ident
/ext/phar/phar/pharcommand.inc ident
/ext/dba/libinifile/inifile.c ident
Expand Down
29 changes: 7 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
# Swap files created by editors and tools to indicate a locked file
*.swp

# Various temporary generated files
*.tmp

# ------------------------------------------------------------------------------
# Generated by the PHP build system
# ------------------------------------------------------------------------------
Expand All @@ -38,15 +41,9 @@
# Standard object files generated during build process
*.o

# Generated by `./buildconf` or `phpize`
aclocal.m4

# Cache directories generated by Autoconf tools - autoconf, autoreconf...
# Cache directories created by Autoconf tools
autom4te.cache/

# Stamp file generated by `./buildconf` to run `./build/buildcheck.sh`
/buildmk.stamp

# Cache file(s) generated by Autoconf's configure when run as `configure -C`
config.cache

Expand All @@ -66,9 +63,6 @@ configure
confdefs.h
conftest*

# Generated by `./buildconf` script as a helper for further build/build2.mk file
/generated_lists

# Generated by configure scripts on all systems
/main/internal_functions.c
/main/internal_functions_cli.c
Expand All @@ -81,9 +75,6 @@ Makefile
Makefile.fragments
Makefile.objects

# RPM specification file generated by `./configure`
/php7.spec

# Directories for shared object files and headers generated by `./configure`
include/
libs/
Expand All @@ -108,7 +99,6 @@ config.h.in
/main/build-defs.h
/main/php_config.h.in
/main/php_config.h
/TSRM/tsrm_config.h
/Zend/zend_config.h

# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -180,13 +170,8 @@ php
# ------------------------------------------------------------------------------
# Extensions files additionally generated by `cd ext/name && phpize && ./configure`
# ------------------------------------------------------------------------------
/ext/*/acinclude.m4
/ext/*/build/
/ext/*/config.guess
/ext/*/config.sub
/ext/*/configure.ac
/ext/*/ltmain.sh
/ext/*/Makefile.global
/ext/*/run-tests.php

# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -223,7 +208,7 @@ php
/win32/*.positions
/win32/*.suo
/win32/ext
/win32/phpts.def
/win32/syslog.reg
/win32/wsyslog.h

# Standard object files generated by Visual Studio
Expand All @@ -243,7 +228,6 @@ php

# Generated by some test cases
**/tests/**/*.db
**/tests/**/*.tmp

# Microsoft Access database created for passing to tests
/ext/pdo_odbc/tests/*.mdb
Expand All @@ -265,7 +249,8 @@ tmp-php.ini
# ------------------------------------------------------------------------------
*.gcda
*.gcno
/lcov_data/
/gcovr.xml
/gcovr_html/
/lcov_html/
/php_lcov.info

Expand Down
52 changes: 35 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,30 @@ addons:
- locales
- language-pack-de
- re2c
- ccache
- mysql-server
- libaspell-dev
- libbz2-dev
- libcurl4-gnutls-dev
- libenchant-dev
- libfreetype6-dev
- libgmp-dev
- libicu-dev
- libtidy-dev
- libenchant-dev
- libaspell-dev
- libjpeg-dev
- libkrb5-dev
- libonig-dev
- libpng-dev
- libpq-dev
- libpspell-dev
- librecode-dev
- libsasl2-dev
- libxpm-dev
- libzip-dev
- libsqlite3-dev
- libsodium-dev
- libtidy-dev
- libwebp-dev
- libonig-dev
- libxml2-dev
- libxpm-dev
- libxslt1-dev
- libzip-dev


services:
Expand Down Expand Up @@ -52,10 +63,17 @@ env:
- PDO_MYSQL_TEST_USER=travis
- PDO_MYSQL_TEST_PASS=
- PDO_MYSQL_TEST_HOST=127.0.0.1
- PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test user=postgres password="
- REPORT_EXIT_STATUS=1
matrix:
- ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=0
- ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1

jobs:
include:
- env: ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=0
arch: amd64
- env: ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1
arch: amd64
- env: ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1 SKIP_IO_CAPTURE_TESTS=1 ARM64=1
arch: arm64

before_script:
- ccache --version
Expand All @@ -64,17 +82,17 @@ before_script:
# Enable IPv6
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
# Compile PHP
- ./travis/compile.sh
- travis_wait ./travis/compile.sh
# Setup Extensions
- . ./travis/ext/mysql/setup.sh
- . ./travis/ext/mysqli/setup.sh
- . ./travis/ext/pdo_mysql/setup.sh
- . ./travis/ext/pgsql/setup.sh
- . ./travis/ext/pdo_pgsql/setup.sh
- ./travis/setup-mysql.sh
- ./travis/setup-pgsql.sh

# Run PHPs run-tests.php
script:
- ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d opcache.protect_memory=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 -j2
# 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 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:
- ccache --show-stats
Loading