Kalle Sommer Nielsen
89227fba99
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
2019-09-12 06:33:40 +03:00
Kalle Sommer Nielsen
6f0e5a45ff
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
2019-09-12 06:31:52 +03:00
Kalle Sommer Nielsen
2823e938d4
Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
2019-09-12 06:21:39 +03:00
Nikita Popov
d88b212ea6
Improve "already declared" error message
...
If this error is missing because the rtd_key was renamed to lcname,
fetch the class based on lcname and use the class type and cased
name from there.
2019-09-11 17:04:13 +02:00
Nikita Popov
fbe287a677
Fix typo in unlinked_instanceof assertion
2019-09-11 16:50:16 +02:00
Nikita Popov
270e5e3c5b
Only allow "nearly linked" classes for parent/interface
...
The requirements for parent/interface are difference than for the
variance checks in type declarations. The latter can work on fully
unlinked classes, but the former need inheritance to be essentially
finished, only variance checks may still be outstanding.
Adding a new flag for this because we have lots of space, but we
could also represent these "inheritance states" more compactly in
the future.
2019-09-11 16:27:28 +02:00
Nikita Popov
b7c353c8d0
Specify -fsanitize-no-recover
...
To make it more obvious when there are ubsan failures.
2019-09-11 11:59:33 +02:00
Nicolas Grekas
aee31dd7e4
Improve Symfony test setup
...
Perform PHPUnit installation under php7.3 -- which will also make
it work on master.
Also properly resolve the tty issue by specifying excluded groups
during the test run.
2019-09-11 11:15:23 +02:00
Nikita Popov
f945c82ec6
Free history_get_history_state() result
...
It's not documented, but per https://bugs.python.org/issue8065
the result is freshly malloc'd and needs to be freed.
2019-09-11 10:59:04 +02:00
Nikita Popov
1ce830a4aa
Fix another pointer indexing UB in http_fopen_wrapper
...
Only compute the gep after checking whether the pointer is NULL.
2019-09-11 10:31:03 +02:00
Nikita Popov
11f3e24190
Fixed bug #78506
2019-09-11 10:27:32 +02:00
Nikita Popov
0a24cd4e7c
Preloading: Fix handling of static vars in inherited methods
...
Part of bug #78512 .
2019-09-11 09:53:10 +02:00
Dmitry Stogov
5f555fb19e
Fixed bad format string
2019-09-11 00:52:54 +03:00
Sara Golemon
e9cb68d4f3
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Bump for 7.2.24
2019-09-10 13:05:38 -04:00
Sara Golemon
e2bdd7b4ab
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Bump for 7.2.24
2019-09-10 13:05:17 -04:00
Sara Golemon
a270eb1911
Bump for 7.2.24
2019-09-10 13:04:01 -04:00
Remi Collet
d78ffd54ef
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
2019-09-10 16:29:44 +02:00
Remi Collet
664b1a3f57
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
2019-09-10 16:29:30 +02:00
Remi Collet
c43fc204b1
Raise minimal GCC version,
...
Test with 4.8 is OK
With 4.4: error: #pragma GCC diagnostic not allowed inside functions
2019-09-10 16:28:35 +02:00
Christoph M. Becker
abc564462f
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
PHP 7.3.10RC1 has been tagged
2019-09-10 15:13:11 +02:00
Christoph M. Becker
cf31210f29
PHP 7.3.10RC1 has been tagged
2019-09-10 15:11:54 +02:00
Dmitry Stogov
21c3cdf668
NEWS entry, test and minor cleanup for FFI::isNull()
2019-09-10 11:23:12 +03:00
Dmitry Stogov
825dac1445
Merge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4
...
* 'PHP-7.4' of git.php.net:php-src:
Drop regression test
2019-09-10 11:22:05 +03:00
Christoph M. Becker
280e40fadd
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Drop regression test
2019-09-10 10:08:42 +02:00
Christoph M. Becker
318b92dc12
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Drop regression test
2019-09-10 10:08:07 +02:00
Christoph M. Becker
bca66002f1
Drop regression test
...
The state returned by `sodium_crypto_generichash_init()` has to be
regarded as opaque byte string; neither its size nor its exact
structure are fixed, and actually vary for diffent libsodium versions.
Therefore we drop the test altogether.
2019-09-10 10:07:39 +02:00
Philip Hofstetter
f6ff7eb335
add FFI::isNull() to check whether a FFI\CData is a null pointer
2019-09-10 11:03:51 +03:00
Dmitry Stogov
ea92b9b655
Stop after exceptions
2019-09-10 11:01:36 +03:00
Simonov Denis
481f89551e
Request #77863 : PDO firebird support type Boolean in input parameters
2019-09-10 09:22:26 +02:00
Christoph M. Becker
bcf9d1e995
new_variable '{' expr '}' is deprecated as well
...
Curly brace syntax for accessing array elements and string offsets is
deprecated [1]; this should also be the case for respective `new`
expressions.
This issue has been reported by brzuchal@php.net .
[1] <https://wiki.php.net/rfc/deprecate_curly_braces_array_access >
2019-09-09 19:05:23 +02:00
Nikita Popov
51fd8bd3ee
Merge branch 'PHP-7.3' into PHP-7.4
2019-09-09 17:29:49 +02:00
Nikita Popov
3f2d5c612e
Merge branch 'PHP-7.2' into PHP-7.3
2019-09-09 17:29:39 +02:00
CHU Zhaowei
1ac6b0251b
Fix bug #72884 isCloneable() on SplFileObject should return false
2019-09-09 17:27:17 +02:00
Tyson Andre
3e89e9a636
Add opcache return type for random_int()
...
random_int() will throw for incorrect argument counts, types (e.g. float
that can't cast to int), or having min > max.
See ext/standard/random.c
2019-09-09 17:19:04 +02:00
Tyson Andre
45e529d673
Fix opcache zend_func_info for microtime/gettimeofday
...
microtime() doesn't return an array,
and gettimeofday() doesn't return a string.
See _php_gettimeofday in microtime.c (mode is non-zero for gettimeofday)
2019-09-09 17:13:19 +02:00
Nikita Popov
974e77b345
Clarify that our usage of gettimeofday() is infallible
...
And that false can't be returned for this reason.
2019-09-09 17:11:22 +02:00
Christoph M. Becker
d9c0aa038b
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix version
2019-09-09 15:44:36 +02:00
Christoph M. Becker
73ede6911d
Fix version
...
7.3.10 is next, not 7.3.11.
2019-09-09 15:44:06 +02:00
Christoph M. Becker
167ea6307b
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78510 : Partially uninitialized buffer returned by sodium_crypto_generichash_init()
2019-09-09 15:33:02 +02:00
Christoph M. Becker
af2033b1cd
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #78510 : Partially uninitialized buffer returned by sodium_crypto_generichash_init()
2019-09-09 15:31:15 +02:00
Christoph M. Becker
8ead77936e
Fix #78510 : Partially uninitialized buffer returned by sodium_crypto_generichash_init()
...
Backport jedisct1/libsodium.php@28d13bf437 .
2019-09-09 15:30:28 +02:00
Nikita Popov
7807319b7c
Fix typo
2019-09-09 14:24:26 +02:00
Remi Collet
a7b00f8787
zip edxtension is now 1.15.5
2019-09-09 14:22:12 +02:00
Remi Collet
766d5ff32f
fix type consistency after
...
8f897f1040
2019-09-09 14:20:57 +02:00
Nikita Popov
36a8cf5182
Fixed bug #78514
...
The property class may have already been translated as part of
some other class. Only translate if xlat returns non-null.
2019-09-09 11:36:50 +02:00
Nikita Popov
66caca53ce
Fix PDO pgsql memory leak with scrollable cursors
2019-09-09 10:50:10 +02:00
Nikita Popov
645b0372e3
Fix double free of DSN credentials
2019-09-09 10:10:41 +02:00
Peter Kokot
f5dfea60a2
Update NEWS
2019-09-08 21:49:42 +02:00
Peter Kokot
a8c97f0531
Fix #78349 : Bundled pcre2 library missing LICENCE file
...
Most bundled libraries in PHP code already include license information
in the dedicated README.REDIST.BINS file. Instead of complicating
documentation files more this patch only updates the PCRE license info
in the readme file.
2019-09-08 21:46:48 +02:00
Nikita Popov
279f745a60
Fix reporting of redirect test failures in junit
...
These were being reported under the wrong name ... which means that
they don't show up as failures on azure :(
2019-09-07 22:47:50 +02:00