Remi Collet
316802d8f2
Update versions for PHP 7.2.0beta3
2017-08-15 08:39:24 +00:00
Remi Collet
6c1c49d1b5
Update NEWS for PHP 7.2.0beta3
2017-08-15 08:39:24 +00:00
Anatol Belski
6e3356837d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
move dev to 7.0.24
2017-08-15 09:36:41 +02:00
Anatol Belski
49501f8f41
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move dev to 7.0.24
2017-08-15 09:36:14 +02:00
Anatol Belski
3af6201224
move dev to 7.0.24
2017-08-15 09:33:30 +02:00
Xinchen Hui
6b77792dc2
Update NEWS
2017-08-15 12:35:17 +08:00
Xinchen Hui
05de40a651
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75075 (unpack with X* causes infinity loop)
2017-08-15 12:35:10 +08:00
Xinchen Hui
6275825c68
Update NEWS
2017-08-15 12:34:58 +08:00
Xinchen Hui
4f8e703854
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75075 (unpack with X* causes infinity loop)
2017-08-15 12:34:37 +08:00
Xinchen Hui
d8c80af71e
Fixed bug #75075 (unpack with X* causes infinity loop)
2017-08-15 12:34:13 +08:00
Tianfang Yang
9ec0a2071c
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-14 21:22:17 -04:00
Tianfang Yang
e112d71435
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-14 21:21:11 -04:00
Tianfang Yang
2def85688d
Merge branch 'syncoci8' into PHP-7.0
2017-08-14 21:16:34 -04:00
Tianfang Yang
259477826c
Prepare for PECL release
2017-08-14 21:14:14 -04:00
Anatol Belski
5dc847c53d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Test cleanup improvements, files might be locked in the test process
2017-08-14 14:40:26 +02:00
Anatol Belski
1f3b87dc11
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Test cleanup improvements, files might be locked in the test process
2017-08-14 14:39:58 +02:00
Anatol Belski
ab07265573
Test cleanup improvements, files might be locked in the test process
2017-08-14 13:08:04 +02:00
Anatol Belski
707b2a529e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix test cleanup
2017-08-14 12:56:49 +02:00
Anatol Belski
bd0b0cc8c9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test cleanup
2017-08-14 12:55:58 +02:00
Anatol Belski
71fd58652f
fix test cleanup
2017-08-14 12:55:14 +02:00
Dmitry Stogov
df5104bfc9
Fixed removing dead live ranges
2017-08-14 13:54:52 +03:00
Anatol Belski
112afb9250
[ci skip] update NEWS
2017-08-14 12:24:51 +02:00
Anatol Belski
2492add033
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-08-14 12:24:20 +02:00
Anatol Belski
73d84d4bbd
[ci skip] update NEWS
2017-08-14 12:23:51 +02:00
Dmitry Stogov
18f567a3b4
Fixed test
2017-08-14 12:37:37 +03:00
Dmitry Stogov
a80e462fbd
Order live ranges according to "start" position
2017-08-14 12:21:07 +03:00
Dmitry Stogov
cd6893aed1
Fixed attempt to free invalid structure (result of ROPE_INIT is not a zval)
2017-08-14 12:11:25 +03:00
Dmitry Stogov
d6406bbf5f
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
Revert "Fixed live_range removing (bug can be triggred by JIT)"
2017-08-14 12:00:30 +03:00
Dmitry Stogov
2fab62271a
Revert "Fixed live_range removing (bug can be triggred by JIT)"
...
This reverts commit aecf996510 .
2017-08-14 12:00:02 +03:00
Xinchen Hui
6445b3a68f
Revert "Fixed live_range removing (bug can be triggred by JIT)"
...
This reverts commit aecf996510 .
2017-08-14 16:59:01 +08:00
Tianfang Yang
1135161b4f
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-14 00:36:33 -04:00
Tianfang Yang
4d936c1254
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-14 00:23:41 -04:00
Tianfang Yang
f555224743
Sync OCI8 on PHP 7.x branches
2017-08-13 23:44:24 -04:00
Anatol Belski
0a2a136111
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75063
2017-08-14 00:51:47 +02:00
Anatol Belski
3069ad8dd1
Fixed bug #75063
2017-08-14 00:44:19 +02:00
Christoph M. Becker
36eddfc785
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73793 (WDDX uses wrong decimal seperator)
2017-08-13 21:05:57 +02:00
Christoph M. Becker
207105b1a3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73793 (WDDX uses wrong decimal seperator)
2017-08-13 21:03:45 +02:00
Christoph M. Becker
f64be0b013
Fixed bug #73793 (WDDX uses wrong decimal seperator)
...
The WDDX specification[1] requires to serialize floats with a decimal
point, but `snprintf()` is locale-dependent and may use a decimal
comma. We fix that afterwards by replacing an eventual comma with a
point.
[1] <http://xml.coverpages.org/wddx0090-dtd-19980928.txt >
2017-08-13 20:51:53 +02:00
Christoph M. Becker
bbf39c550f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip this test if ext/session is not available
2017-08-13 18:10:37 +02:00
Christoph M. Becker
de5a5f6fdc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip this test if ext/session is not available
2017-08-13 18:07:42 +02:00
Christoph M. Becker
472b25921e
Skip this test if ext/session is not available
2017-08-13 18:05:45 +02:00
Nikita Popov
b202587e09
Note deprecation of $errcontext
2017-08-12 20:34:44 +02:00
Nikita Popov
a871badf2a
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-12 13:17:24 +02:00
Nikita Popov
4fb7665c09
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-12 13:15:48 +02:00
Nikita Popov
1a23ebc1ff
Fixed bug #74103 and bug #75054
...
Directly fail unserialization when trying to acquire an r/R
reference to an UNDEF HT slot. Previously this left an UNDEF and
later deleted the index/key from the HT.
What actually caused the issue here is a combination of two
factors: First, the key deletion was performed using the hash API,
rather than the symtable API, such that the element was not actually
removed if it used an integral string key. Second, a subsequent
deletion operation, while collecting trailing UNDEF ranges, would
mark the element as available for reuse (leaving a corrupted HT
state with nNumOfElemnts > nNumUsed).
Fix this by failing early and dropping the deletion code.
2017-08-12 13:11:35 +02:00
Andrea Faulds
f877b86604
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-12 01:38:46 +01:00
Andrea Faulds
e88ab74886
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-12 01:37:47 +01:00
Andrea Faulds
b59718bdc4
Fix bug #74725 (html_errors=1 breaks unhandled exceptions)
2017-08-12 01:37:20 +01:00
Xinchen Hui
aecf996510
Fixed live_range removing (bug can be triggred by JIT)
2017-08-11 21:56:30 +08:00
Jakub Zelenka
e53dd027c5
Reset utf8_invalid in json scanner
2017-08-10 19:47:58 +01:00
Jakub Zelenka
f5b4cb7130
Fix possible overflow in json scanner utf8_invalid_count
2017-08-10 19:40:02 +01:00
Xinchen Hui
4375a6c5cd
Fixed type infer for FUNC_GET_ARGS
2017-08-11 00:33:55 +08:00
Xinchen Hui
f7cf839213
Update NEWs
2017-08-09 11:29:54 +08:00
Xinchen Hui
e7dd9c781b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
2017-08-09 11:29:46 +08:00
Xinchen Hui
46ecda76ba
Update NEWS
2017-08-09 11:29:32 +08:00
Xinchen Hui
307acb6618
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
2017-08-09 11:29:13 +08:00
Xinchen Hui
b06f8cb58b
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
2017-08-09 11:28:53 +08:00
Anatol Belski
823ca5c697
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Remove mistakingly added line
2017-08-08 19:40:42 +02:00
Anatol Belski
42608a3401
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove mistakingly added line
2017-08-08 19:40:28 +02:00
Anatol Belski
afb20f4895
Remove mistakingly added line
2017-08-08 19:37:55 +02:00
Anatol Belski
e62db6309c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync makefile options for phpize
2017-08-08 17:59:44 +02:00
Anatol Belski
315d3910fa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Sync makefile options for phpize
2017-08-08 17:59:15 +02:00
Anatol Belski
075986f214
Sync makefile options for phpize
...
- run target
- debugger mode
2017-08-08 17:58:10 +02:00
Frank Denis
ef0bd7b215
sodium ext: Use _ietf_ vs _IETF_ consistently
2017-08-08 17:50:17 +02:00
Frank Denis
03314e3f69
sodium ext: No need for #ifdef crypto_aead_chacha20poly1305_IETF_
...
chacha20poly1305_ietf was implemented in libsodium 1.0.4 which is way earlier
than the minimum version we support.
2017-08-08 17:42:38 +02:00
Frank Denis
596a892c5e
Sodium ext: Isolate a return statement for consistency
2017-08-08 17:38:13 +02:00
Frank Denis
a0d1e0915c
sodium ext: The default password hashing function is not supposed to be Argon2i
2017-08-08 17:37:06 +02:00
Frank Denis
631fc3c9c1
sodium ext: long -> zend_long
2017-08-08 17:36:06 +02:00
Frank Denis
3140d40421
sodium ext: Add missing "return" statements after zend_throw_exception()
2017-08-08 17:34:20 +02:00
Darek Slusarczyk
abd97b8bcb
Merge branch 'PHP-7.1' into PHP-7.2
...
# Conflicts:
# ext/json/config.w32
2017-08-08 16:08:19 +02:00
Darek Slusarczyk
86aa1ca990
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-08 16:05:13 +02:00
Darek Slusarczyk
618dcd6520
JSON: fix config.w32 / Install headers on windows
2017-08-08 15:52:53 +02:00
Andrey Hristov
f589e5c791
Add new enum options defined in MySQL 5.7
2017-08-08 14:57:01 +03:00
Anatol Belski
dcd669b4d9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Unify EOL
2017-08-07 17:04:15 +02:00
Anatol Belski
9ebf813ea4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Unify EOL
2017-08-07 17:03:54 +02:00
Anatol Belski
4c9fe5a490
Unify EOL
2017-08-07 17:03:17 +02:00
Anatol Belski
d36344e888
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix test target for phpize
2017-08-07 16:45:57 +02:00
Anatol Belski
da966a93ac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test target for phpize
2017-08-07 16:45:41 +02:00
Anatol Belski
d058e30917
fix test target for phpize
2017-08-07 16:45:02 +02:00
Jakub Zelenka
41d7621f48
Fix segfault in json ignoring of invalid UTF8
2017-08-06 17:20:31 +01:00
Nikita Popov
6b73b2d6eb
Check for empty string in mb_ord()
2017-08-04 22:20:05 +02:00
Côme Chilliet
aa0e402acf
Added controls parameters to ldap_exop so that control support can be added later
2017-08-04 18:10:49 +02:00
Remi Collet
17bb8d575a
win32 for pdo_sqlite
2017-08-04 13:28:48 +02:00
Remi Collet
bf1c242cf4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
use AC_DEFINE + win32
2017-08-04 13:21:54 +02:00
Remi Collet
aee20e637a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use AC_DEFINE + win32
2017-08-04 13:21:41 +02:00
Remi Collet
159e5c1048
use AC_DEFINE + win32
2017-08-04 13:21:28 +02:00
Nikita Popov
353f7bf461
Also check for invalid codepoints in mb_ord()
...
And return false in that case, instead of returning 0x3f...
2017-08-04 13:01:03 +02:00
Nikita Popov
e53162a32b
Return false on invalid codepoint in mb_chr()
...
Instead of returning the encoding of the current substitution
character. This allows a robust check for the failure case. The
substitution character (especially the default of "?") is also
a valid output of mb_chr() for a valid input (for "?" that would be
0x3f), so it's a bad choice for an error value.
2017-08-03 22:36:42 +02:00
Nikita Popov
41e9ba6333
Always use Unicode codepoints in mb_ord() and mb_chr()
...
Previously mb_chr() had two different encoding-dependent behaviors:
* For "Unicode-encodings" it took a Unicode codepoint and returned
its encoded representation.
* Otherwise it returned a big-endian binary encoding of the passed
integer.
Now the input is always interpreted as a Unicode codepoint. If
a big-endian binary encoding is what you want, you don't need
mbstring to implement that.
2017-08-03 22:14:00 +02:00
Nikita Popov
fb9bf5b64b
Revert/fix substitution character fallback
...
The introduced checks were not correct in two respects:
* It was checked whether the source encoding of the string matches
the internal encoding, while the actually relevant encoding is
the *target* encoding.
* Even if the correct encoding is used, the checks are still too
conservative. Just because something is not a "Unicode-encoding"
does not mean that it does not map any non-ASCII characters.
I've reverted the added checks and instead adjusted mbfl_convert
to first try to use the provided substitution character and if
that fails, perform the fallback to '?' at that point. This means
that any codepoint mapped in the target encoding should now be
correctly supported and anything else should fall back to '?'.
2017-08-03 21:53:59 +02:00
Nikita Popov
a8a9e93e9a
Revert/fix mb_substitute_character() codepoint checks
...
The introduced checks did not treat "non-Unicode" encodings correctly,
because they treated the passed integer as encoded in the internal
encoding in that case, while in actuality the substitute character
is always a Unicode codepoint.
Additionally checking the codepoint against the internal encoding
is not correct in any case, because the substitution character must
be mapped in the *target* encoding of the conversion, which does
not necessarily coincide with the internal encoding (the internal
encoding is the default *source* encoding, not *target* encoding).
This reverts the checks back to simple range checks, but in a way
that still resolves #69079 : Characters outside the Basic
Multilingual Plane are now accepted and Surrogate Codepoints are
rejected. A distinction between UTF-8 and non-UTF-8 encodings is
not made for surrogate checks (as in the original patch), as
surrogates are always illegal on their own. Specifying a surrogate
as substitution character would only make sense if you could
specify a substitution string with more than one character --
however we do not support that.
2017-08-03 21:12:41 +02:00
Anatol Belski
355743600d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Increase expected timing on Travis
2017-08-03 15:08:05 +02:00
Anatol Belski
21c6ba3412
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Increase expected timing on Travis
2017-08-03 15:07:47 +02:00
Anatol Belski
9689796c10
Increase expected timing on Travis
...
If 5ms to read/write 8 bytes still has issue, probably next this test
should skip on Travis to avoid false positive fails.
2017-08-03 15:05:22 +02:00
Anatol Belski
93c2c56a1b
Rework automatic interactive cli activation
...
There are still systems delivering buggy console info. If a file was
passed, obviously no interaction is meant.
2017-08-03 11:23:50 +02:00
Anatol Belski
39f0e810c9
[ci skip] update NEWS
2017-08-02 21:51:35 +02:00
Anatol Belski
fbc8596b68
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
update NEWS
2017-08-02 21:51:01 +02:00
Anatol Belski
54e2224df7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-08-02 21:50:26 +02:00
Anatol Belski
3e5b8c1e89
[ci skip] update NEWS
2017-08-02 21:49:56 +02:00
Anatol Belski
9ba2cfd33e
update NEWS
2017-08-02 21:49:21 +02:00
Andreas Treichel
29e4d4eee6
Add ftp_append to create a new file or append data to an existing file (RFC959)
2017-08-02 20:52:28 +02:00
Nikita Popov
aa925cb0ad
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-02 18:50:18 +02:00
Nikita Popov
4988e83fe9
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-02 18:50:04 +02:00
Andreas Treichel
c2b8066efb
Bug #74975 : Different serialization for classes
2017-08-02 18:49:26 +02:00
Nikita Popov
042ff13ca9
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-02 18:18:23 +02:00
Nikita Popov
9871555090
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-02 18:16:56 +02:00
Nikita Popov
9ca1b2a775
Merge remote-tracking branch 'php-src/PHP-7.0' into PHP-7.0
2017-08-02 18:16:18 +02:00
Nikita Popov
91240073ea
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-02 18:11:12 +02:00
Nikita Popov
63607375f5
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-02 18:09:09 +02:00
Fabien Villepinte
2cc1cbf2f4
Fix Bug #75001 : Wrong reflection on mb_eregi_replace
2017-08-02 18:08:42 +02:00
Fabien Villepinte
15abb2b56e
Fix test transliterator_create_inverse_basic.phpt
2017-08-02 18:04:43 +02:00
George Wang
e78712791d
take care of compile warnings.
2017-08-02 11:59:41 -04:00
Tyson Andre
5097e2ee13
Implement spl_object_id(object $x) : int
...
spl_object_id is a new function returning the object handle,
as a signed integer.
Discussion for this new function is ongoing on php-internals, see
https://marc.info/?t=143835274500003&r=1&w=2
The object id is unique for the lifetime of the object.
When the object is garbage collected,
different objects may & will have the same object id.
- This is also the case for the string generated by spl_object_hash
It is always possible to cast the object handle to a **signed** zend_long
in php 7.2. _zend_object->handle is always of the type `uint32_t`.
(zend_long is 32 bits on 32 bit builds, 64 bits on 64 bit builds)
As of php 7.0, the object id uniquely identifies the object,
there can't be two objects with the same id but different handlers
(See the implementation of spl_object_hash)
Skip the pointless XORing, as discussed in internals.
- It was intended to avoid exposing in-memory addresses.
- The object handle is not a memory address.
- The output of var_dump() includes the object handle(id)
2017-08-02 17:54:07 +02:00
Anatol Belski
b4bce59fe9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
2017-08-02 16:42:20 +02:00
Anatol Belski
1fdc518971
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
2017-08-02 16:41:48 +02:00
Derick Rethans
b112d09013
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
2017-08-02 16:40:48 +02:00
Remi Collet
afdf7519d1
fix build with old system libsqlite (sqlite3_close_v2 may be missing)
2017-08-02 16:09:36 +02:00
Remi Collet
5e5895a464
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:03:23 +02:00
Remi Collet
5f030924c1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:03:02 +02:00
Remi Collet
666cb6c802
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:01:56 +02:00
Joe Watkins
6202c821a9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fixed #endif comments
2017-08-02 08:35:51 +01:00
Joe Watkins
9c6262f39b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fixed #endif comments
2017-08-02 08:35:38 +01:00
clwu
b2934d2612
fixed #endif comments
2017-08-02 08:35:27 +01:00
Christoph M. Becker
43e7656241
Update NEWS
2017-08-02 00:11:11 +02:00
Sara Golemon
6278f6140f
Update NEWS for 7.2.0beta3
2017-08-01 12:50:56 -04:00
Sara Golemon
1b05a2373b
Update NEWS for PHP 7.2.0beta2
2017-08-01 12:50:55 -04:00
Christoph M. Becker
fe107cce45
Update to SQLite 3.20.0
2017-08-01 18:26:14 +02:00
Nikita Popov
6c2c7a023d
Optimize array_unique()
...
In SORT_STRING mode, instead of sorting the array, build a hash of
seen elements.
2017-08-01 18:08:38 +02:00
Julien Pauli
5069d52189
Updated NEWS
2017-08-01 16:03:00 +02:00
Julien Pauli
4f06b62781
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Updated NEWS
Updated NEWS
Fix #75015 . Crash in SPL destructors
2017-08-01 16:02:36 +02:00
Julien Pauli
f0d40286e7
Updated NEWS
2017-08-01 16:02:26 +02:00
Julien Pauli
cd06b5af09
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Updated NEWS
Fix #75015 . Crash in SPL destructors
2017-08-01 16:02:00 +02:00
Julien Pauli
0c0cbb43da
Updated NEWS
2017-08-01 16:01:43 +02:00
Julien Pauli
64e6ddc7f7
Fix #75015 . Crash in SPL destructors
2017-08-01 15:59:54 +02:00
Julien Pauli
ad5222c3a6
Fix use of uninitialised value in uniqid() where more_entropy=0
2017-08-01 14:58:00 +02:00
Anatol Belski
b8da481a2a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Test to cover the change in ce1a0d97
2017-08-01 12:51:20 +02:00
Anatol Belski
d9d152b895
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Test to cover the change in ce1a0d97
2017-08-01 12:50:52 +02:00
Anatol Belski
a8e25fdbf8
Test to cover the change in ce1a0d97
2017-08-01 12:49:45 +02:00
Anatol Belski
2164e3a0b8
fix test
2017-08-01 11:56:23 +02:00
Anatol Belski
ce1a0d971b
fix NULL deref
2017-08-01 11:55:32 +02:00
Xinchen Hui
5856becc2b
Update NEWS
2017-07-31 11:52:23 +08:00
Xinchen Hui
9b87b73fec
Req #74963 (Improved error message on fetching property of non-object)
2017-07-31 11:51:23 +08:00
Kalle Sommer Nielsen
c62e5eb0a9
Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg)
...
The changes in phpts are due to exiftool, I verified that all the images still remain relevant for testing
2017-07-30 21:59:55 +02:00
Kalle Sommer Nielsen
97ff7bbb36
Lowercase the file extension
2017-07-30 21:59:10 +02:00
Anatol Belski
03383119d2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
remove dup of the binary file, rely on a test runtime copy instead
2017-07-30 17:52:36 +02:00
Anatol Belski
eab66f9068
remove dup of the binary file, rely on a test runtime copy instead
2017-07-30 17:51:27 +02:00
Christoph M. Becker
4db1e1adf2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Shrink another large image
2017-07-30 16:35:07 +02:00
Christoph M. Becker
2d6d1ec55b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Shrink another large image
2017-07-30 16:27:38 +02:00
Christoph M. Becker
2d96fdd54f
Shrink another large image
...
This image is only used for testing `BITMAPV5HEADER` support in
`getimagesize()` (see bf9ad4e ). Therefore it is not necessary to have
a big image; a single pixel is sufficient.
2017-07-30 16:26:06 +02:00
Frank Denis
0c21187363
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
Shrink test image
2017-07-30 15:42:24 +02:00
Frank Denis
34df3cdafa
sodium ext: skip scrypt if it is not available
...
scrypt was removed from minimal libsodium builds in version 1.0.13
2017-07-30 15:41:34 +02:00
Frank Denis
650f68c36e
sodium ext: fix tests/pwhash_argon2i description
2017-07-30 15:05:21 +02:00
Christoph M. Becker
d53b78c6ed
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Shrink test image
2017-07-30 15:01:59 +02:00
Frank Denis
74d7f1d04e
sodium ext: check hash length for scrypt
2017-07-30 15:00:03 +02:00
Frank Denis
3f45262aa9
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
It's `--SKIPIF--`, not `--SKIP--`
2017-07-30 14:48:44 +02:00
Frank Denis
85895b2e5b
sodium ext: no need for #ifdef crypto_aead_chacha20poly1305_IETF_NPUBBYTES
...
chacha20poly1305_ietf was implemented in libsodium 1.0.4 which is way earlier
than the minimum version we support.
2017-07-30 14:47:49 +02:00
Frank Denis
1d7e1f845f
sodium ext: check that message sizes are safe, to avoid hitting abort() in libsodium
2017-07-30 14:45:06 +02:00
Christoph M. Becker
82e4ad3983
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Shrink test image
2017-07-30 14:44:52 +02:00
Christoph M. Becker
74a696d53b
Shrink test image
...
The last (`IDAT`) chunk in this file starting at `0x5e265` reports to
have a length of `0x2000` bytes, but there are only `0x1D9B` bytes
left. Simply cutting the first `IDAT` chunk which starts at `0x31` and
also reports a length of `0x2000` at the same offset should produce the
same test results (while reducing the file size to 7.628 bytes).
2017-07-30 14:43:37 +02:00
Frank Denis
ae99959986
sodium ext: use unexpand -t 4 --first-only to convert from spaces to tabs
...
No actual code changes.
Fun fact: macOS' unexpand(1) tool doesn't work as documented, and always
converts everything to tabs, regardless of the -a switch.
2017-07-30 14:34:55 +02:00
Christoph M. Becker
782f45c8e6
It's --SKIPIF--, not --SKIP--
2017-07-30 14:01:51 +02:00
Christoph M. Becker
71e47c5c13
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip this test if ext/gd is not available
2017-07-30 13:37:36 +02:00
Christoph M. Becker
f213ee5952
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip this test if ext/gd is not available
2017-07-30 13:30:18 +02:00
Christoph M. Becker
4d6f808c16
Skip this test if ext/gd is not available
2017-07-30 13:24:10 +02:00
Frank Denis
613c8dd7b0
sodium ext: let crypto_pwhash() accept an optional algorithm identifier
2017-07-29 13:04:54 +02:00
Nikita Popov
5d777e56e2
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-28 13:03:26 +02:00
Nikita Popov
c48c638aeb
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-28 13:03:02 +02:00
Nikita Popov
e3d25e78eb
Fixed bug #62934
2017-07-28 13:02:25 +02:00
Anatol Belski
80d839d25a
add missing makefile fragment for .w32
...
ensure correct dir
2017-07-28 07:26:11 +02:00
Anatol Belski
2ae0dd7f61
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
relax test on travis
2017-07-28 00:28:12 +02:00
Anatol Belski
55e7459cea
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
relax test on travis
2017-07-28 00:27:52 +02:00
Anatol Belski
b01336814d
relax test on travis
2017-07-28 00:27:11 +02:00
Sara Golemon
4a6ef8327a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Simpler fix for #74974
2017-07-27 10:04:59 -04:00
Sara Golemon
b62fb3aa0c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Simpler fix for #74974
2017-07-27 10:04:14 -04:00
Pedro Magalhães
34e5d3a87d
Simpler fix for #74974
2017-07-27 09:25:38 -04:00
Xinchen Hui
262aeb8ae1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed test
2017-07-27 12:50:41 +08:00
Xinchen Hui
0ddda0dcb7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed test
2017-07-27 12:50:28 +08:00
Xinchen Hui
9fcfe52d03
Fixed test
2017-07-27 12:50:17 +08:00
Xinchen Hui
afc2be8fc8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74949 (null pointer dereference in _function_string)
2017-07-27 11:24:53 +08:00
Xinchen Hui
f894bb750c
Update NEWS
2017-07-27 11:24:26 +08:00
Xinchen Hui
efb1be547c
Update NEWS
2017-07-27 11:23:52 +08:00
Xinchen Hui
84a18c4782
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74949 (null pointer dereference in _function_string)
2017-07-27 11:23:27 +08:00
Xinchen Hui
e36c04ef48
Fixed bug #74949 (null pointer dereference in _function_string)
2017-07-27 11:23:06 +08:00
Sara Golemon
08fef4cc23
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
2017-07-26 18:56:06 -04:00
Sara Golemon
80f4297c25
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
2017-07-26 18:55:46 -04:00
Sara Golemon
c7aa8ba0ee
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
2017-07-26 18:55:23 -04:00
Anatol Belski
57c435e5ac
[ci skip] update NEWS
2017-07-26 17:31:57 +02:00
Anatol Belski
2d8fe973b1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-07-26 17:31:10 +02:00
Anatol Belski
4cde48bb73
[ci skip] update NEWS
2017-07-26 17:30:40 +02:00
Anatol Belski
3f9e8e6686
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-07-26 17:30:02 +02:00
Anatol Belski
3306b3aa60
[ci skip] update NEWS
2017-07-26 17:29:37 +02:00
Anatol Belski
9ff4801159
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:21:20 +02:00
Anatol Belski
eaf5c7cdd4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:20:48 +02:00
Anatol Belski
bd00fe81cc
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:19:41 +02:00
Joe Watkins
d3060a00d1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
2017-07-26 10:47:49 +01:00
Joe Watkins
bb9ea4e88b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
2017-07-26 10:47:22 +01:00
Benjamin W. Broersma
6b1fbafdf0
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
2017-07-26 10:46:50 +01:00
Christopher Jones
787ea0dda5
Update NEWS
2017-07-26 15:25:01 +10:00
Christopher Jones
664eca5967
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-26 15:24:26 +10:00
Christopher Jones
747f5b23ae
Update NEWS
2017-07-26 15:23:58 +10:00
Christopher Jones
46a6ae0d45
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-26 15:23:17 +10:00
Christopher Jones
de65a2243f
Expose oci_unregister_taf_callback()
2017-07-26 15:22:44 +10:00
Xinchen Hui
53e59e4b34
Update NEWS
2017-07-26 12:07:20 +08:00
Xinchen Hui
0e61cddeb1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74980 (Narrowing occurred during type inference)
2017-07-26 12:06:55 +08:00
Xinchen Hui
3df47c12f7
Fixed bug #74980 (Narrowing occurred during type inference)
2017-07-26 12:06:33 +08:00
Aleš Rebec
f469edcf59
Remove obsolete function names from CODING_STANDARDS file
...
Deprecated and removed function names used as examples in coding standards file.
- Mcrypt is deprecated and will be removed in 7.2
- Mysql functions are deprecated in 5.4 and removed in 7.0.
According to those changes, CODING_STANDARDS file should be updated.
2017-07-25 07:04:23 +01:00
Joe Watkins
4ddb0630c2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed finding CURL on systems with multiarch support
2017-07-25 06:59:03 +01:00
Joe Watkins
238f837cbc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed finding CURL on systems with multiarch support
2017-07-25 06:58:37 +01:00
Carsten Brandt
3fd7d819b8
Fixed finding CURL on systems with multiarch support
...
fixes https://bugs.php.net/bug.php?id=74125
This commit makes the cURL config script aware of debian/ubuntu
[multiarch support][1] which installs architecture specific
headers in a different location.
It checks whether the `dpkg-architecture` script exists and is
executeable, if that is the case, the multiarch architecture is
detected by calling `dpkg-architecture -qDEB_HOST_MULTIARCH` as
documented in [debian multiarch implementation docs][2]:
> `/usr/include/<triplet>`: used for arch-varying headers
[1]: https://wiki.debian.org/Multiarch
[2]: https://wiki.debian.org/Multiarch/Implementation
2017-07-25 06:58:11 +01:00
Joe Watkins
8d5a5fbf6b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
minor loop optimizations, closes #2633
2017-07-25 06:54:20 +01:00
Joe Watkins
78ad5e8864
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
minor loop optimizations, closes #2633
2017-07-25 06:51:44 +01:00
Joe Watkins
69b48f83df
minor loop optimizations, closes #2633
2017-07-25 06:47:58 +01:00
Joe Watkins
2e8759428b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #74977 - Appending AppendIterator leads to segfault
2017-07-25 06:40:25 +01:00
andrewnester
dbc2ffba82
Fixed #74977 - Appending AppendIterator leads to segfault
2017-07-25 06:39:50 +01:00
Sammy Kaye Powers
66729aeeeb
Fix ext/sodium display in phpinfo()
2017-07-25 06:35:40 +01:00
Anatol Belski
7453d2303b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
switch to binary sdk 2.0.9 for appveyor
2017-07-24 23:09:20 +02:00
Anatol Belski
bedd881da6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to binary sdk 2.0.9 for appveyor
2017-07-24 23:08:07 +02:00
Anatol Belski
cdf9178c43
switch to binary sdk 2.0.9 for appveyor
2017-07-24 23:07:15 +02:00
jrfnl
f901e7e3c5
Fix typo in PHP 7.2 changelog
2017-07-24 16:57:07 -04:00
Joe Watkins
515b396889
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update copyright year to 2017
2017-07-24 17:24:22 +01:00
Joe Watkins
b44484b912
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update copyright year to 2017
2017-07-24 17:24:10 +01:00
Peter Kokot
924ff6164e
Update copyright year to 2017
2017-07-24 17:23:57 +01:00
Anatol Belski
0489e85c18
[ci skip] update NEWS
2017-07-24 17:46:31 +02:00
Anatol Belski
cb7e42da25
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add test for bug #74903
2017-07-24 17:03:24 +02:00
Anatol Belski
2dc81d4a09
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add test for bug #74903
2017-07-24 17:02:55 +02:00
Anatol Belski
a769d873f8
Add test for bug #74903
2017-07-24 17:02:10 +02:00
Anatol Belski
660b829ccc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Followup on 0ec147d3 for another place
Ensure binary mode for OpenSSL I/O
2017-07-24 16:38:05 +02:00
Anatol Belski
e2b61eccb9
Followup on 0ec147d3 for another place
...
which requires also to move the macros into the header
(cherry picked from commit b7eb2c0604 )
2017-07-24 16:33:12 +02:00
Anatol Belski
6918a68d9d
Ensure binary mode for OpenSSL I/O
...
Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.
(cherry picked from commit 0ec147d301 )
2017-07-24 16:31:09 +02:00
Anatol Belski
b7eb2c0604
Followup on 0ec147d3 for another place
...
which requires also to move the macros into the header
2017-07-24 16:24:04 +02:00
Anatol Belski
0ec147d301
Ensure binary mode for OpenSSL I/O
...
Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.
2017-07-24 15:43:48 +02:00
Anatol Belski
8a6afbef3f
Combine conditions for the automatic interactive console activation
...
as with bug #74979 it seems to have regressions which were not
present before.
2017-07-24 14:47:32 +02:00
Frank Denis
742895f60c
sodium ext: don't reinvent sodium_increment() and sodium_add()
2017-07-24 14:26:05 +02:00
Joe Watkins
52964bbfb2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
openssl: Add openssl_pkcs12_export_to_file tests
2017-07-24 10:47:02 +01:00
Joe Watkins
5816ce330c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
openssl: Add openssl_pkcs12_export_to_file tests
2017-07-24 10:46:52 +01:00
Jelle van der Waa
23c124ec75
openssl: Add openssl_pkcs12_export_to_file tests
...
Add basic tests for openssl_pkcs12_export_to_file.
2017-07-24 10:46:42 +01:00
Issei.M
f1d7857969
Fix typo in UPGRADING for 7.2
2017-07-24 10:44:19 +01:00
Joe Watkins
94e6c72e26
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update PHP 5 version to 7 in header comments
2017-07-24 10:42:48 +01:00
Joe Watkins
642fb44d69
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update PHP 5 version to 7 in header comments
2017-07-24 10:42:35 +01:00
Peter Kokot
c4e11c8ef3
Update PHP 5 version to 7 in header comments
2017-07-24 10:42:15 +01:00
Sara Golemon
a6e4a713ea
Add hash_hmac_algos() for filtered is_crypto methods
2017-07-23 15:17:09 -04:00
Nikita Popov
706f0cf8a0
Update Unicode data for Unicode 10
2017-07-23 16:05:39 +02:00
Nikita Popov
24cfbfd56f
Update ucgendat for more bidi properties
...
Handle them the same way as others -- by classifying as Other
Neutral.
2017-07-23 16:03:11 +02:00
Nikita Popov
077e61fad3
Fixed bug #69267 completely
...
ucgendat.c was assuming that a title-case character is a character
that has both lower and upper-case variants. However, there are
title-case characters that only have a lower-case variant. Use the
Lt general character proprety to determine where in the case map
the character should be placed instead.
2017-07-23 15:30:17 +02:00
Nikita Popov
c0bcd301d3
Another fix for bug #69267
...
mb_strtoupper() was converting lowercase characters into
titlecase characters, instead of uppercase characters. Luckily
there are only very few characters with a distinct titlecase
representation, so this mostly worked out okay...
2017-07-23 15:07:02 +02:00
Nikita Popov
0e4af9192f
Partial fix for bug #69267
...
This pulls in 60a25c72ba389f53b0621ca250bc99f3b295d43f from the
OpenLDAP project.
2017-07-23 14:47:21 +02:00
Nikita Popov
88f752a947
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-23 12:21:51 +02:00
Nikita Popov
f116a88592
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-23 12:21:16 +02:00
Christoph M. Becker
418da85f15
Fix #71606 : Segmentation fault mb_strcut with HTML-ENTITIES
...
The HTML decoding filter uses the `opaque` member of mbfl_convert_filter
as buffer, but there was no copy constructor defined, what caused double
frees when the filter is copied (what happens multiple times in mb_strcut(),
for instance).
2017-07-23 12:19:27 +02:00
Nikita Popov
9af5b7f33d
Fix use after free in mb_send_mail
2017-07-23 11:55:26 +02:00
Anatol Belski
47334646db
fix skipif
2017-07-23 11:08:11 +02:00
Sara Golemon
089f4ff885
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use compatability zend_isnan() instead of POSIX isnan()
2017-07-22 21:33:28 -04:00
Sara Golemon
a4e3589966
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use compatability zend_isnan() instead of POSIX isnan()
2017-07-22 21:33:20 -04:00
Sara Golemon
775b4b54d8
Use compatability zend_isnan() instead of POSIX isnan()
...
s/isnan/zend_isnan/g
2017-07-22 21:32:44 -04:00
Sara Golemon
e23c132940
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix compile-time optimization of NAN comparisons
2017-07-22 21:23:29 -04:00
Sara Golemon
1229b0f8cb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix compile-time optimization of NAN comparisons
2017-07-22 21:23:17 -04:00
Sara Golemon
c562d44321
Fix compile-time optimization of NAN comparisons
2017-07-22 21:22:51 -04:00
Frank Denis
401188cbf9
sodium ext: require libsodium >= 1.0.8
...
(but really, 1.0.9 should be the bare minimum)
2017-07-22 22:07:53 +02:00
Frank Denis
c499bd12f7
sodium ext: define crypto_aead_chacha20poly1305_ietf_KEYBYTES if needed
...
Some old libsodium versions didn't had a dedicated constant for the
IETF version of this construction.
2017-07-22 19:57:44 +02:00
Frank Denis
8a2e747a7b
sodium ext: remove redundant and obsolete macros
2017-07-22 17:50:22 +02:00
Nikita Popov
4672411ef5
Fix incorrect propagation of ZEND_BOOL in pass 1
...
BOOL (next to QM_ASSIGN) is one of the opcodes that can assign to
a temporary that is assigned in multiple branches. Pass 1 does
not check for this, so we should not try to handle it at that
point. Block pass and sccp will be able to treat this correctly.
2017-07-22 17:23:50 +02:00
Nikita Popov
96665fbfe0
Fix block removal if there are duplicate successors
2017-07-22 14:53:23 +02:00
Anatol Belski
1e9ad4a307
[ci skip] update NEWS
2017-07-22 14:15:32 +02:00
Anatol Belski
3fc52f1dc4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-07-22 14:14:22 +02:00
Anatol Belski
c068818ff3
[ci skip] update NEWS
2017-07-22 14:13:51 +02:00
Anatol Belski
e0c0007bd2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-07-22 14:13:25 +02:00
Anatol Belski
ad12da4908
[ci skip] update NEWS
2017-07-22 14:12:45 +02:00
Bob Weinand
76ce874422
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-22 11:16:48 +02:00
Bob Weinand
134e713be2
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-22 11:14:54 +02:00
Bob Weinand
bad5d0d6c5
Fixed bug #74954 (null deref and segfault in zend_generator_resume())
2017-07-22 11:14:00 +02:00
Anatol Belski
14e8f9557b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
2017-07-22 10:36:58 +02:00
Anatol Belski
4cb1151fff
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
2017-07-22 10:36:31 +02:00
Anatol Belski
e405ff59f9
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
2017-07-22 10:35:26 +02:00
Nikita Popov
3fa76ac54f
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-21 23:22:56 +02:00
Nikita Popov
69ec51eb02
Fix DFG construction for VERIFY_RETURN
...
`use` only contains uses prior to definition. This was not
honoured for VERIFY_RETURN with a temporary operand.
The test case only breaks on PHP 7.2.
2017-07-21 23:20:56 +02:00
Anatol Belski
7ec8b8d49f
remove casts and ensure no out of bounds access
2017-07-21 22:26:37 +02:00
Frank Denis
f8ffc9622b
sodium ext: delete copypasta from sodium_crypto_kdf_derive_from_key()
...
/via @fredemmott
2017-07-21 18:25:25 +02:00
Frank Denis
0e2a7fc829
sodium ext: use crypto_scalarmult_BYTES for points coordinates
...
Just for consistency.
2017-07-21 14:02:33 +02:00
Frank Denis
557029e8e6
sodium ext: clear the hash state after we're done hashing
2017-07-21 14:02:26 +02:00
Frank Denis
d8a14e2aad
sodium ext: drop unused code
...
/via @remicollet
2017-07-21 14:02:18 +02:00
Xinchen Hui
735b34c016
Update NEWS
2017-07-21 18:17:54 +08:00
Xinchen Hui
01090e6ced
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
2017-07-21 18:17:33 +08:00
Xinchen Hui
a8f98fc7f7
Update NEWS
2017-07-21 18:17:12 +08:00
Xinchen Hui
08177312fb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
2017-07-21 18:16:54 +08:00
Xinchen Hui
256ec5bebb
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Move the define into the header to reduce diff for future upgrade
2017-07-21 18:16:37 +08:00
Xinchen Hui
3a7b0027f3
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
2017-07-21 18:16:11 +08:00
Anatol Belski
96ad72dc29
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move the define into the header to reduce diff for future upgrade
2017-07-21 11:16:38 +02:00
Anatol Belski
4b3ed311aa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move the define into the header to reduce diff for future upgrade
2017-07-21 11:16:15 +02:00
Anatol Belski
9b3c26d4f4
Move the define into the header to reduce diff for future upgrade
2017-07-21 09:12:06 +02:00
Xinchen Hui
6242230219
Update NEWS
2017-07-21 12:03:17 +08:00
Xinchen Hui
463413db53
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74947 (Segfault in scanner on INF number)
Conflicts:
Zend/zend_language_scanner.c
2017-07-21 12:02:54 +08:00
Xinchen Hui
e2b240c164
Update NEWS
2017-07-21 11:58:30 +08:00
Xinchen Hui
84926a0d71
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74947 (Segfault in scanner on INF number)
Conflicts:
Zend/zend_language_scanner.c
2017-07-21 11:58:07 +08:00
Xinchen Hui
95d2908814
Fixed bug #74947 (Segfault in scanner on INF number)
2017-07-21 11:56:49 +08:00
Dmitry Stogov
0b2c456312
fixed comments
2017-07-20 23:29:22 +03:00
Dmitry Stogov
1b9d0c8af3
Fixed wrong edges_count re-calculation.
2017-07-20 23:28:05 +03:00
Anatol Belski
b8eb110cd5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
increment sdk version
2017-07-20 22:08:39 +02:00
Anatol Belski
fa33b065ac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
increment sdk version
2017-07-20 22:07:32 +02:00
Anatol Belski
ce06677069
increment sdk version
2017-07-20 22:06:34 +02:00
Anatol Belski
2ec3c67428
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
remove another cygwin instance in AppVeyor run
2017-07-20 20:40:47 +02:00
Anatol Belski
7c21535fb3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove another cygwin instance in AppVeyor run
2017-07-20 20:39:36 +02:00
Anatol Belski
ecad9a470f
remove another cygwin instance in AppVeyor run
2017-07-20 20:39:04 +02:00
Sergei Morozov
9b9184a45a
Fixed bug #74941 - Session fails to start after having headers sent
2017-07-20 07:52:02 +01:00
Anatol Belski
18595b6fc6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix dir separator in test
2017-07-19 22:42:05 +02:00
Anatol Belski
8ef5a50e2d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix dir separator in test
2017-07-19 22:41:32 +02:00
Anatol Belski
f67a3cc9bd
fix dir separator in test
2017-07-19 22:41:09 +02:00
Sara Golemon
bb02f99e71
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Do not allow using traits/interfaces/abstract classes as stream wrappers
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a
2017-07-19 14:01:18 -04:00
Sara Golemon
a9e8239f45
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Do not allow using traits/interfaces/abstract classes as stream wrappers
2017-07-19 14:01:00 -04:00
Sara Golemon
c9fd093127
Do not allow using traits/interfaces/abstract classes as stream wrappers
...
Fixes https://bugs.php.net/bug.php?id=74951
2017-07-19 14:00:00 -04:00
Emmanuel Dreyfus
d25049cc1b
Fixed bug #74851 : Improve uniqid() performance
...
uniqid() relies on microsecond-precise system clock to produce an
unique identifier. In order to avoid using the same value, the
original implementation calls usleep(1) to wait for the next microsecond.
Unfortunately, usleep() specification says "The suspension time may be
longer than requested due to the scheduling of other activity by the
system." Indeed, the pause may as as long as an entire execution slice,
causing a uniqid() call to last more than 10 ms.
This is fixed by replacing the usleep() call by time polling using
gettimeofday() until the microsecond changes. Since the getttimeoday()
system call lasts around a microsecond, only a small time is wasted
calling multiple gettimeofday. On the benefit side, uniqid() performance
in increased 10000 fold without changing its behavior.
2017-07-19 19:54:19 +02:00
Lior Kaplan
2b36f3d71f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a
2017-07-19 17:26:38 +03:00
Lior Kaplan
2cca43b3ab
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a
2017-07-19 17:23:22 +03:00
Dmitry Stogov
6fcc7134f1
Keep resource of enclosing stream, because it may be referenced from other place(s).
...
This fixes valgrind warnings on Zend/tests/type_declarations/scalar_basic.phpt
2017-07-19 17:16:56 +03:00
Dmitry Stogov
112eda7525
Separate the fast-patch
2017-07-19 15:42:32 +03:00
Dmitry Stogov
3185f8628f
Convert CONCAT into FAST_CONCAT for non-object operands
2017-07-19 15:41:46 +03:00
Dmitry Stogov
95a1f77b5e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Reset globals on startup or restart
2017-07-19 15:36:48 +03:00
Dmitry Stogov
4252f14299
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Reset globals on startup or restart
2017-07-19 15:36:24 +03:00
Dmitry Stogov
e5beb4e828
Reset globals on startup or restart
2017-07-19 15:35:10 +03:00
Dmitry Stogov
8447b86eef
Remove dead live ranges and FREE instructions
2017-07-19 13:07:33 +03:00
Dmitry Stogov
5274cefb4d
Remove live ranges
2017-07-19 13:06:25 +03:00
Nikita Popov
ecb67e59d7
Don't reuse compare_function operands
...
If the same zval is used for the result and one operand, then the
function thinks it is responsible for freeing the value in case of
a type conversion.
2017-07-19 01:04:36 +02:00
Sergei Morozov
5b12b46a19
Fixed bug #74936 - session_*() functions trigger a warning in read mode when the session is active
2017-07-18 22:25:22 +02:00
Nikita Popov
a624ded4d3
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-18 22:16:33 +02:00
Nikita Popov
8e7c99acf4
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-18 22:16:11 +02:00
andrewnester
afc22828ea
Fixed #74699 - Broken ArrayIterator unserializing
2017-07-18 22:14:11 +02:00
Nikita Popov
f9d6cff67e
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-18 21:45:41 +02:00
Nikita Popov
4e9158da76
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-18 21:45:35 +02:00
YaoGuai
51cdd3dc50
Fix check of mysql_commit() return value
...
For mysql_commit() everything non-zero is an error.
2017-07-18 21:45:02 +02:00
Nikita Popov
9cd82df0bb
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-18 21:21:46 +02:00
Andrew Nester
6c32d271d2
Fixed #74892 - Fixed URL rewriting for urls started with #
2017-07-18 21:20:03 +02:00
Dmitry Stogov
0903f6bffb
Remove dead JMP/JMPZ/JMPNZ/JMPZNZ (DCE pass can't remove them)
2017-07-18 20:43:06 +03:00
Dmitry Stogov
582882ae18
Constant evaluation of few more constant functions
2017-07-18 20:42:40 +03:00
Dmitry Stogov
c41d2535b1
Disabled compile-time constant DOUBLE to STRING evaluation (its result depends on run-time 'precision' setting)
2017-07-18 20:41:01 +03:00
Joe Watkins
f4323248ec
bump versions
2017-07-18 17:21:19 +01:00
Sara Golemon
b01448f9a6
Update NEWS for 7.2.0beta2
2017-07-18 16:00:34 +00:00
Sara Golemon
1d184e1851
Update NEWS for PHP 7.2.0beta1
2017-07-18 15:40:26 +00:00
Sara Golemon
05ff0c5180
Bump all API numbers in prep for 7.2 fork
2017-07-18 10:45:02 -04:00
Frank Denis
09b15e4f30
sodium ext: implement sodium_crypto_kdf()
...
Also add zend_parse_parameters_none() statements where appropriate.
2017-07-18 14:42:15 +02:00
Frank Denis
36bd878ec2
Merge remote-tracking branch 'jedisct1/sodium-keygen'
...
* jedisct1/sodium-keygen:
sodium ext: remove unused sodium_randombytes_*() prototypes
sodium ext: add bindings for keygen() functions
sodium ext: sort prototypes
2017-07-18 12:53:18 +02:00
Anatol Belski
3e33d2c2e6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Exclude ext/ftp from AppVeyor test run
2017-07-18 12:11:17 +02:00
Anatol Belski
657609ebae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Exclude ext/ftp from AppVeyor test run
2017-07-18 12:09:58 +02:00
Anatol Belski
0da10134f2
Exclude ext/ftp from AppVeyor test run
...
as the tests depend on fork() and otherwise an extra setup would be
needed anyway.
2017-07-18 12:08:31 +02:00
Anatol Belski
807bc620ac
Merge branch 'PHP-7.1'
...
* PHP-7.1:
move to 7.0.23 for dev
2017-07-18 10:26:51 +02:00
Anatol Belski
735468a0b8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move to 7.0.23 for dev
2017-07-18 10:26:10 +02:00
Anatol Belski
649027b963
move to 7.0.23 for dev
2017-07-18 10:25:40 +02:00
Anatol Belski
a39fd99524
fix regression introduced by 0782a7fc63
2017-07-18 00:35:01 +02:00
Dmitry Stogov
bb743ca62d
Added NEWS entry
2017-07-17 23:21:03 +03:00
Dmitry Stogov
f49ee79e95
gc_check_possible_root() may throw exception.
2017-07-17 23:17:16 +03:00
Dmitry Stogov
cc04d42055
Merge branch 'master' into unset_cv
...
* master:
Constant evaluation of in_array() (support for more cases).
fix missing var for phpize
Add support for OpenSSL security level
2017-07-17 23:09:13 +03:00
Dmitry Stogov
ff83560ec6
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fix missing var for phpize
Add support for OpenSSL security level
2017-07-17 23:08:42 +03:00
Dmitry Stogov
3754272818
Constant evaluation of in_array() (support for more cases).
2017-07-17 23:08:10 +03:00
Anatol Belski
bdfc84239b
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix missing var for phpize
2017-07-17 19:41:21 +02:00
Anatol Belski
65d5e025a7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix missing var for phpize
2017-07-17 19:40:31 +02:00
Anatol Belski
4ef9f536ba
fix missing var for phpize
...
(cherry picked from commit 36c3d71407 )
2017-07-17 19:38:50 +02:00
Jakub Zelenka
26982e36d5
Add support for OpenSSL security level
2017-07-17 17:40:51 +01:00
Dmitry Stogov
eb6c7471cb
Constant evaluation of in_array() (support for more cases).
2017-07-17 17:27:21 +03:00
Dmitry Stogov
1180d8c801
Separate ISSET_ISEMPTY_CV/UNSET_CV from ISSET_ISEMPTY_VAR/UNSET_VAR
2017-07-17 14:11:50 +03:00
Dmitry Stogov
d9d3b2c206
Fixed CFG/SSA construction (avoid multiple identical predecessors)
2017-07-17 13:35:47 +03:00
Dmitry Stogov
5b0e6248e6
Removed vim mode lines. zend_vm_opcodes.h loses these lines after regeneration. Lines in zend_vm_def.h lead to insertion inthe middle of zend_vm_execute.h.
2017-07-17 11:00:46 +03:00
Dmitry Stogov
b31e77dbea
Allocate additional slot for third argument
2017-07-17 09:11:14 +03:00
Anatol Belski
6e4f3d1967
fix new password related pieces wrt failing tests
2017-07-17 08:01:26 +02:00
Peter Kokot
9780d16376
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:56:59 +01:00
Joe Watkins
876941cae2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:55:28 +01:00
Joe Watkins
e0282c3b58
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:55:02 +01:00
Peter Kokot
4d08b9dac0
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:54:27 +01:00
Joe Watkins
8c238c15bc
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
2017-07-17 06:52:43 +01:00
Joe Watkins
2e82ed9b73
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
2017-07-17 06:51:47 +01:00
Peter Kokot
0db20a7cb1
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
2017-07-17 06:50:59 +01:00
Anatol Belski
ea51bcd1fa
fix typo
2017-07-17 07:01:07 +02:00
Anatol Belski
36c3d71407
fix missing var for phpize
2017-07-17 06:54:47 +02:00
Sara Golemon
e93f089d6a
Refactor password_hash()
...
Pull salt generation out to a helper.
Merge options/hash into single switch.
Restore php_error->php_error_docref from last diff. (Error messages matter)
2017-07-16 17:37:45 -04:00
Sara Golemon
7165e28738
Refactor password.c
...
Use zend_string instread of char*/size_t
Clean up use of scope vars
Get rid of some temporaries/overstacked expressions.
2017-07-16 17:02:39 -04:00
Sara Golemon
3de82a0349
Provide zend_string wrappers for php_base64_(en|de)code
...
Also pull existing php_base64_decode() proxy out to an inline.
Bump PHP_API_VERSION for ABI change.
2017-07-16 17:01:20 -04:00
Jakub Zelenka
90ae2aec8c
Make functions in openssl.c more consistent
...
Improve naming, CS and add some static defs
2017-07-16 18:38:17 +01:00
Jakub Zelenka
5381ff757d
Make consitent naming and improve CS in xp_ssl
2017-07-16 17:57:43 +01:00
Jakub Zelenka
c08dba3431
Allow setting SNI cert and pk in separate files
2017-07-16 16:15:43 +01:00
Jakub Zelenka
18180bb161
Bump PHP_JSON_VERSION to 1.6.0
2017-07-16 15:53:02 +01:00
Jakub Zelenka
0f047f60f0
[ci skip] Remove CSV leftovers from json code - $Id$
2017-07-16 15:51:39 +01:00
Jakub Zelenka
9c58822653
Introduce internal php_json_encode_ex to allow extensions setting depth
2017-07-16 15:47:23 +01:00
Jakub Zelenka
0d0f7cde8c
Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNORE
...
It implements request #65082 and adds options for replacing resp.
ignoring invalid UTF-8 sequences for json_encode and json_decode.
2017-07-16 12:35:24 +01:00
Anatol Belski
f6a4491662
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Add test for bug #74923
2017-07-15 11:31:45 +02:00
Anatol Belski
6cd140fdf8
Add test for bug #74923
2017-07-15 11:30:56 +02:00
Anatol Belski
d6bcfcd9eb
update NEWS
2017-07-14 21:08:36 +02:00
Anatol Belski
705c151cd8
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update NEWS
2017-07-14 21:08:16 +02:00
Anatol Belski
0b5683e480
update NEWS
2017-07-14 21:07:48 +02:00
Sebastian Bergmann
674b11d10e
Tweak
2017-07-14 13:43:21 +02:00
Dmitry Stogov
2a286ad599
Added goblal optimisation passes based on data flow analyses using SSA form:
...
SCCP - Sparse Conditional Constant Propagation, DCE - Dead Code Elimination
and removing of unused local variablesi.
Squashed commit of the following:
commit bf5ac05fc0f5f6ab9c7f2e4eaa83a11c84f471d3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 14:26:40 2017 +0300
Added news entry
commit 4cfa6984b1f3cd8008a0c0dc82ee3de2da02bf7c
Merge: 1cdaaac 1f261d7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 13:30:50 2017 +0300
Merge branch 'sccp' into dce
* sccp:
Bump OCI8 version for recent patch
WS
Fix test title
Ensure that the stream position is kept between reads
Turn off EXIF_DEBUG so Travis don't complain at me
Don't add a new line to undefined tags in EXIF_DEBUG mode
Fix compile error with EXIF_DEBUG
update NEWS
disable --with-pcre-valgrind on travis
fix default args for --with-pcre-valgrind
Enable valgrind support for PCRE by default in debug builds
add oniguruma.patch to ease future upgrades
SIZEOF_SIZE_T doesn't exist on AIX and POWER8 (ppc64le), keep using SIZEOF_LONG
commit 1f261d77cb1cb966335097f364ace9349269c704
Merge: a32a3fb b280ba8
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 13:30:39 2017 +0300
Merge branch 'master' into sccp
* master:
Bump OCI8 version for recent patch
WS
Fix test title
Ensure that the stream position is kept between reads
Turn off EXIF_DEBUG so Travis don't complain at me
Don't add a new line to undefined tags in EXIF_DEBUG mode
Fix compile error with EXIF_DEBUG
update NEWS
disable --with-pcre-valgrind on travis
fix default args for --with-pcre-valgrind
Enable valgrind support for PCRE by default in debug builds
add oniguruma.patch to ease future upgrades
SIZEOF_SIZE_T doesn't exist on AIX and POWER8 (ppc64le), keep using SIZEOF_LONG
commit 1cdaaac601cff37fa729f3e6b31dc584782a1649
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 13:27:12 2017 +0300
Use generic evalution mechanism for constant functions
commit 75bd92a60928818358686410deec24a48e05d6da
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 12:39:05 2017 +0300
Fixed use-def chain unlinking for "$a = 1; $a += $a;"
commit 7d7746814dc382e468f9016d90c069b88b8b0f0d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 12:38:29 2017 +0300
Enable duplicate predecessors verification
commit 6b1667f2062d7c1b55e389b03b155cbe132f5dbf
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:55:20 2017 +0300
Removed duplicate definitions
commit 1415b53014bf5aa1521b779debea6847db8c7940
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:51:29 2017 +0300
Enable evaluation of constant functions with 3 arguments
commit ab367deef99f39dee15c6bbac45cb25eb9d29e00
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:45:13 2017 +0300
Removed deprecated check
commit c51659ea8c62e4e8fbf32a0567d4f541807d6b6d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:40:42 2017 +0300
Reduce limit
commit b1be5a04d783eb160a71fe26e030386b3e2771ba
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:38:23 2017 +0300
Disable constant array_flip() evaluation
commit 7a5b0596a149a2efc5893ea83be78ef9129009cb
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:33:20 2017 +0300
Fixed comments
commit 377e48b3426f9ccbcd6207acbbed87b9fdbf549d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:28:50 2017 +0300
Cast of string to long/double can not produce exception
commit 228dd01af3bf6daefbd7d5be82938dec8b55b6a0
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:24:50 2017 +0300
Added missed return
commit 0972a2163643757e7e270b8e1c466800aedf1308
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:22:36 2017 +0300
objects may be nested in array operands
commit bd346bfa5c4c58896fabd9ab2e4d9bb85b3c1402
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:19:20 2017 +0300
~$resource is unsupported.
commit c77e45610c22e29b5f4ad7234e38a1f4e2498937
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:15:39 2017 +0300
ws
commit 0b64d71109fddfec736c91546b6df978adb1f4fd
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:14:40 2017 +0300
Call to zend_ssa_unlink_use_chain() shouldn't be dropped
commit cb7059fcf6e51616c08d5b8a933401a94ae0b6e0
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:11:58 2017 +0300
Safer check for function name. The previous check is incorrect in ZTS build.
commit 7280aba1e125fc314284d7ef1252e14d04c415a4
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:02:10 2017 +0300
Missing warning
commit 54bc7b576cee33037b7e575c013e3ede726647a2
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 10:56:42 2017 +0300
Proper check for successors count
commit ea8c004a155453b4e15684e2bd1bdb1dc99e8833
Merge: 624f76d a32a3fb
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 15:56:26 2017 +0300
Merge branch 'sccp' into dce
* sccp:
fix fold
Fixed bug #74866 extension_dir = "./ext" now use current directory for base
add next vc15 toolset to the list
Revert "Enable whole program optimization for builds without PGO, too"
extend comment
cleanup discontinued target
commit a32a3fb67cd03b9cdab8cd15f133ef55e717408d
Merge: 2722dbf 5fb2abd
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 15:56:14 2017 +0300
Merge branch 'master' into sccp
* master:
fix fold
Fixed bug #74866 extension_dir = "./ext" now use current directory for base
add next vc15 toolset to the list
Revert "Enable whole program optimization for builds without PGO, too"
extend comment
cleanup discontinued target
commit 624f76df48db42f616bdfd02e9b26515a97c68e2
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 12:30:27 2017 +0300
Set RETURN_VALUE_UNUSED instead of additional FREE opcode, if possible.
Keep alive dead instructions that have to free two temporary variables.
commit 94c9b26695702e863ebeb40fa3cce5f5f2db7744
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 11:51:14 2017 +0300
More accurate "vararg" handling in DCE
commit 665ed8491ca07cd6d3363abf42c5777e132a3da1
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 09:31:45 2017 +0300
Improved DCE performance, by avoiding redundand checks and repeatable iterations.
commit 3f42ce18ba4420aabb9b07b838096cce340d06b7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 23:03:11 2017 +0300
Added few more instructions without side effects and exceptions
commit b17178f991c095d9137c1536b53b933208e575bf
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 20:39:02 2017 +0300
Temprary enable SSA validation in DEBUG build
commit e238a8dc79debcf2f833e07323f975173aec6205
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 20:37:53 2017 +0300
Inegrate SSA validation developed by Nikita
commit a247cee80b47ca335162e8bd46d06274f8af5a4d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 20:31:27 2017 +0300
Perform DCE pass before other DFA optimisations, to properly reconstruct "no value" use-def chains.
commit a651564f299e3b413af1146149de0d7eec0dfb28
Merge: 06f6eb0 2722dbf
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 18:55:05 2017 +0300
Merge branch 'sccp' into dce
* sccp:
Resources should be closed during object destructioin, not during freeing.
Guard against AppVeyor losing deps issue
increase poll timeout as false positives mitigation
Value of EG(user_exception_handler) should't relive request boundary
sodium ext: remove function names before exception messages
sodium ext: update the crypto_kx_*() API to the libsodium one
Revert "fix macro redifinitions"
commit 2722dbfdf54702c8b429ed792e96f91219031eb6
Merge: 6595ea3 09d3b73
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 18:54:48 2017 +0300
Merge branch 'master' into sccp
* master:
Resources should be closed during object destructioin, not during freeing.
Guard against AppVeyor losing deps issue
increase poll timeout as false positives mitigation
Value of EG(user_exception_handler) should't relive request boundary
sodium ext: remove function names before exception messages
sodium ext: update the crypto_kx_*() API to the libsodium one
Revert "fix macro redifinitions"
commit 06f6eb0e6877d8b26c621f5627587539ebcc781f
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 14:52:28 2017 +0300
Use zend_ssa_is_no_val_use() instead of zend_has_improper_op1_use()
commit 4b64dbb30d519be359c44ad4f3802e93a7f5fa65
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 13:07:14 2017 +0300
Check if instruction may throw exception only for instructions without known side effects.
Always disable removing ASSIGN and UNSET_VAR that may throw.
commit c5aa1f47cd16290c77fb988504dc0dd8bad242a3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 11:21:07 2017 +0300
Use existing bit
commit c2af153baea6e05401f78a856a8ae436e5f37bf9
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 11:10:48 2017 +0300
Updated Windows build
commit de5e8fc12971e55c81b0768daa96adcd6074038e
Merge: 8c0de53 6595ea3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 11:10:12 2017 +0300
Merge branch 'sccp' into dce
* sccp: (29 commits)
Use existing bit
Updated Windows build
Fixed compilation error
Remove debug code
We need to check for the length here too, or we crash and no one likes that! :(
* Implemented #65187 (exif_read_data/thumbnail: add support for stream resource) * ext/exif now uses FAST_ZPP
Remove extraneous configure flag
Revert "remove excessive checks and fix warnings"
parametrize zip names
Upgrade bundled PCRE to 8.41
Updated NEWS file with LDAP changes
Fixed removing all controls by passing an empty array to ldap_set_option
Filled in NEWS file with ext/ldap last modifications
change order, allow to build as shared extension
restore file deleted by mistake in a merge commit
Fix segfault in php_stream_context_get_option call
remove excessive checks and fix warnings
fix macro redifinitions
fix symbol availability and ws
Remove this for now, as not found
...
commit 6595ea3420b686d1bfe49fbd5893b6a42115c60b
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 10:27:02 2017 +0300
Use existing bit
commit f0bfd36cb822dbbe28df827a53a2ed96aa61051f
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 10:21:22 2017 +0300
Updated Windows build
commit a9bd7c89f28cf99933a4d3d026a6da5f5e3ca0f7
Merge: d1eb5ed 2b7d3fb
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 09:51:32 2017 +0300
Merge branch 'master' into sccp
* master: (27 commits)
Fixed compilation error
Remove debug code
We need to check for the length here too, or we crash and no one likes that! :(
* Implemented #65187 (exif_read_data/thumbnail: add support for stream resource) * ext/exif now uses FAST_ZPP
Remove extraneous configure flag
Revert "remove excessive checks and fix warnings"
parametrize zip names
Upgrade bundled PCRE to 8.41
Updated NEWS file with LDAP changes
Fixed removing all controls by passing an empty array to ldap_set_option
Filled in NEWS file with ext/ldap last modifications
change order, allow to build as shared extension
restore file deleted by mistake in a merge commit
Fix segfault in php_stream_context_get_option call
remove excessive checks and fix warnings
fix macro redifinitions
fix symbol availability and ws
Remove this for now, as not found
fix authors
NEWS for Sodium
...
commit 8c0de53e5f599c83fa03c78931527ab4ff14cf93
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 21:54:36 2017 +0300
Initial integration of Dead Code Elimination (DCE) and unused variable removing passes, originally developed in https://github.com/nikic/php-src/tree/opt , into DFA optimization pass.
commit d1eb5ede3a2b9a0bf57e06783f7913a6383f5d6d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 12:19:11 2017 +0300
Proper SSA reconstruction for "$a = $a;"
commit 4872d139b55c22c2325459dba0ee557c708567b5
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 11:57:33 2017 +0300
Replace conditions, that should be always true, by ZEND_ASSERT()
commit 9915b1f5cd2bdd92d0cc5e90244a90fbef06740b
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 11:56:51 2017 +0300
Fixed pass name
commit d26ff1b88d3b3b1e8742f2e7812ae5e2531958a6
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 11:55:47 2017 +0300
Don't create identical predecessors
commit 0625fbe32bd66b7bcca29e65b131f0cfccd3e074
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 09:36:07 2017 +0300
Update unreachable blocks.
commit 9d7d409e6abda5c2e13458f01b8133095fb68531
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 09:28:49 2017 +0300
Keep consistent cfg.map[]
commit 85a86e58b220eaf2012f652b97fbeb2d2f85646d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 02:36:14 2017 +0300
Remove unusded phi
commit d5e0f2df4c76656bbe5973e69e12e1b7415de5ee
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 02:35:00 2017 +0300
Don't clear phi->spources[] too early.
commit a90ed34295a0bab09c00bb7001a368a858a38399
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 21:29:39 2017 +0300
Make SCCP to remove dead live ranges.
commit 320237f3d84b872dfa096b9a604ae4d5b4d28c8e
Merge: 63bbed5 7be2637
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 17:35:21 2017 +0300
Merge branch 'master' into sccp
* master:
Fixed memory leak introduced by 7cb5bdf64a
eliminate casts
remove checks for eol dependencies
improve test
Small fix in ext/ldap, Moved vars definitions to the beginning of the block using them
ZipArchive implements countable, added ZipArchive::count() method
commit 63bbed5e71432d14217b591de511f09937a3c00c
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 17:01:15 2017 +0300
Evaluation of few more constant functions
commit 07f45d8a3dbfa67bc28c9ef4bb14c753816f4e44
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 16:22:47 2017 +0300
Properly unlinking dead blocks from predecessors/successors and dominators
commit 502002aa6e11452ed27829f7e29604b27fc69ad2
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 13:33:14 2017 +0300
Replacel constant JMPZ/NZ/ZNZ by JMP or NOP
commit 3253e61b66b3aa324115ec57ff1cb271ca27dc14
Merge: e7f69f0 161c378
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 12:22:39 2017 +0300
Merge branch 'master' into sccp
* master:
Revert "Fixed bug #74878 "
Upgrading note for #74837
Fixed bug #74837 - NEWS
Implement Countable for DomNodeList and DOMNamedNodeMap (Request #74837 )
Fix #49649 - Handle property visibility changes on unserialization
commit e7f69f07fc649692218d01dab34b8f8555a6f88c
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 12:15:08 2017 +0300
Prevent compile-time evaluation of implode() with arguments causing run-time warnings
commit 0e882f189a01b6ee648420776fb473c1efd22380
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 11:54:04 2017 +0300
Constant evaluation of ini_get() for some safe cases
commit 9e36a748b28850bd15ac621879e1d28ed8e36169
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 11:13:37 2017 +0300
Constant evaluation of implode()
commit e73046e266617ae23caa7f40344fc6e8e41e3c56
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 10:51:23 2017 +0300
Fixed uninitialized value
commit f5e2e8e68cc46cfc1380d000672d01b243ad7f59
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 10:05:37 2017 +0300
Remove (compact) unused constants after SCCP pass
commit f0b7bb86ebe93373a02ef36029f76239ba9ec1d4
Merge: e69d4f6 cfacf84
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 09:10:00 2017 +0300
Merge branch 'master' into sccp
* master: (37 commits)
#73594 tests only check the extra params if dns_get_record is successful
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
fix uninitialized var
fix comparison warning
comply with POSIX signature
fix warning
remove some casts
cleanup casts
remove useless cast
eliminate casts
sync vim mode lines in main
[ci skip] update NEWS
[ci skip] update NEWS
[ci skip] update NEWS
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
Silent compiler warning
Fix test
Deprecated the read_exif_data() alias
Add myself as exif maintainer
update libs versions
...
commit e69d4f61409c473ae36d85c3779ad5f786fecdc0
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 12:51:41 2017 +0300
Avoid in-place modification of referenced data
commit 58f7c17978dec7b5fe6fe80b4efc55e2168bab61
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 12:33:24 2017 +0300
Use arena for temporary data.
commit 93d3e7ddc22f1bc7323abae2256b0b50bc1f8b29
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 11:54:47 2017 +0300
Made sccp_ctx to be an "extension" of scdf_ctx and remove duplicate data.
commit f810c6f7c47b03412c61878b761e1bb687fbcf28
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 11:20:48 2017 +0300
Improved SSCP integration
commit d17ed887f304af0f6ccba76a3dbfca888867ea01
Merge: d90805a 29653da
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 10:22:37 2017 +0300
Merge branch 'master' into sccp
* master:
Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()).
Fixed bug #72324 (imap_mailboxmsginfo() return wrong size)
Fix redefine warnings
Expand sb's name and capitalize my own
Write the URL on a new line, so that it is easier copyable
commit d90805a40bd5d75d197f7b95c69680f636932868
Merge: 2e5e03b fc336c7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 23:07:04 2017 +0300
Merge branch 'master' into sccp
* master:
Added missed dump of "main" script code
replace the stack var by a macro
[ci skip] sync NEWS
minor fix for web announce
add missing NEWS entry for #74087 and also fix the formatting
move NEWS entry to the correct place, also bump the version
commit 2e5e03b673cb86ee0fa6be06496553fa6b8c52e7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 23:03:41 2017 +0300
Call info should be removed, but at least we should prevent incorrect stack adjustment.
commit 1ee9110b35eab79f74d08278c104c92796740fa7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 19:34:43 2017 +0300
Remove NOP instructions, introduced bvy SCCP.
This commit discloses unrelated issue caused ext/soap/tests/bug70211.phpt failure.
commit 9a2f50070d1afde8ee4784a1dade2537e1ac30d5
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 16:34:02 2017 +0300
Avoid useless iterations for first SSA variablesi, always marked BOT.
commit c57dd7c6efb98c89a8c87af0eaad76b71c9cda16
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 16:33:46 2017 +0300
Use reference-counting
commit 90f822d68ef1cb68befa3fff289c9e8d1b2068c8
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 14:00:22 2017 +0300
Support for few more opcodes
commit cffee2f7e5bb4198e645e291fafe5690443cf26c
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 12:35:13 2017 +0300
Combined constants substitutaion and dead instruction removing in single pass. This eleminates substitution in dead instructions.
commit f890375c16052a9d79bf77c9021914cb9c6616f8
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 10:34:48 2017 +0300
Use reference-counting instead of duplication
commit db0cd64dfa7a2ff809b49a049074b5fa39d37314
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 03:04:27 2017 +0300
Improved SCDF<->SCCP interface
- "get_feasible_successors" callback is changed into "mark_feasible_successors" and should mark necessary edges through scdf_mark_edge_feasible()
- SCDF takes care about OP_DATA instruction
- SCDF code is re-arranged to avoid repeatable checks
commit e0ad5dd48942c71033fad985c591549a35c21ef3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 00:55:40 2017 +0300
Changed representation of "feasible_edges", using one bit per edge.
commit afee3138fe49588b3967f54bf66375f880a51924
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 00:49:56 2017 +0300
Revert "Don't propagate unused values"
This reverts commit 84e5bfd4304d34e3a7107db71783882013f8de59.
commit 84e5bfd4304d34e3a7107db71783882013f8de59
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 23:39:42 2017 +0300
Don't propagate unused values
commit d4f15b95061a8a2303d90e6e54effeb9733f90b7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 23:39:10 2017 +0300
Don't visit the same Phi twice
commit 2558311b4d530fb84539db304d03dfeba5eda789
Merge: 722a59d 7bb4ae5
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 21:51:06 2017 +0300
Merge branch 'master' into sccp
* master:
Fixed final dump "after optimizer"
commit 722a59ddb12e641aea99ca8853ef921c4fdf9819
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 21:09:29 2017 +0300
SCCP doesn't support VERIFY_RETURN_TYPE (ext/opcache/tests/bug73789.phpt failure)
commit 7084fade4dcb74415f0644d8e207f0fab6c6509d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 20:37:21 2017 +0300
Fixed SSA reconstruction
commit 37ec4e0845a5b25fe2b523452d32dba22605d2e3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 19:34:46 2017 +0300
Disable constant propagation for variables that can be modified indirectly
commit 4bb9b6526e44c2f324f9a7c08890ab9bdedd639c
Merge: 6800460 73d5097
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 19:17:04 2017 +0300
Merge branch 'master' into sccp
* master: (43 commits)
Keep information about SSA variables, that may be modified indirectly.
Added constants for known ldap controls OID and tests for ldap_get/set_option for controls
Added support for controls to ldap_get_option
[ci skip] sync NEWS
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
valid_symbol_table removed
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
...
commit 680046086c17b938e0288fca820668a183b86834
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 16:14:38 2017 +0300
Support for few more internal functions evaluation
commit 74a29468ef14260ea3c210a2d1e3548806c81339
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 13:42:55 2017 +0300
Disabled evaluation of strpos() with empty needle.
commit e8908946e52127727da9f0dd22a053befe8bf848
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 13:17:30 2017 +0300
Replace calls to in_array() with constant array by IN_ARRAY instruction after SCCP.
commit 4e8fa2c3dd087a49ba90a3ef8231cc81f0399548
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 00:58:12 2017 +0300
Initial integration of Sparse Conditional Constant Propagation (SCCP), originally developed in https://github.com/nikic/php-src/tree/opt , into DFA optimization pass.
2017-07-14 14:33:34 +03:00
Anatol Belski
b5fd99b636
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74923 Crash when crawling through network share
2017-07-14 13:24:21 +02:00
Anatol Belski
5d15fdc4a4
Fixed bug #74923 Crash when crawling through network share
2017-07-14 13:23:24 +02:00
Christopher Jones
b280ba854a
Merge branch 'PHP-7.1'
2017-07-14 14:14:10 +10:00
Christopher Jones
3b60af90fd
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-14 14:13:33 +10:00
Christopher Jones
c1504b81d3
Bump OCI8 version for recent patch
2017-07-14 14:13:08 +10:00
Kalle Sommer Nielsen
4d684a6cd7
WS
2017-07-14 03:42:15 +02:00
Kalle Sommer Nielsen
333c362178
Fix test title
2017-07-14 02:02:25 +02:00
Kalle Sommer Nielsen
997e2e5452
Ensure that the stream position is kept between reads
2017-07-14 01:59:23 +02:00
Kalle Sommer Nielsen
f7d9f6456c
Turn off EXIF_DEBUG so Travis don't complain at me
2017-07-14 01:18:58 +02:00
Kalle Sommer Nielsen
bf7f6f9078
Don't add a new line to undefined tags in EXIF_DEBUG mode
2017-07-14 01:17:34 +02:00
Kalle Sommer Nielsen
9cf586cdfb
Fix compile error with EXIF_DEBUG
2017-07-14 01:12:00 +02:00
Anatol Belski
89eb27a99c
update NEWS
2017-07-13 21:08:13 +02:00
Anatol Belski
9ce076a3d1
disable --with-pcre-valgrind on travis
2017-07-13 20:28:44 +02:00
Anatol Belski
24de0fe9f4
fix default args for --with-pcre-valgrind
2017-07-13 20:28:10 +02:00
Frank Denis
aa32d989c7
sodium ext: remove unused sodium_randombytes_*() prototypes
2017-07-13 18:59:58 +02:00
Anatol Belski
850bb998d9
Enable valgrind support for PCRE by default in debug builds
...
Thanks Nikita for the hint.
2017-07-13 18:38:28 +02:00
Anatol Belski
1e2764614b
add oniguruma.patch to ease future upgrades
2017-07-13 17:34:14 +02:00
Lior Kaplan
c2c60fcac7
SIZEOF_SIZE_T doesn't exist on AIX and POWER8 (ppc64le), keep using SIZEOF_LONG
2017-07-13 18:05:47 +03:00
Anatol Belski
5fb2abd6b0
fix fold
2017-07-13 14:33:49 +02:00
Francois Laupretre
0782a7fc63
Fixed bug #74866 extension_dir = "./ext" now use current directory for base
2017-07-13 14:27:19 +02:00
Anatol Belski
613102bd67
add next vc15 toolset to the list
2017-07-13 12:20:34 +02:00
Anatol Belski
bc16deee83
Revert "Enable whole program optimization for builds without PGO, too"
...
This reverts commit f052e99df6 .
There appear to be link issues with upcoming 19.11 and /LTCG, prefer
wider dependency compatibility.
2017-07-13 12:20:34 +02:00
Anatol Belski
d9f72886aa
extend comment
2017-07-13 12:20:34 +02:00
Anatol Belski
1300017cdc
cleanup discontinued target
2017-07-13 08:18:50 +02:00
Frank Denis
b071fcb81d
sodium ext: add bindings for keygen() functions
...
This is the recommended way to generate keys correctly for all operations
using a single key, since libsodium 1.0.12.
2017-07-12 23:29:48 +02:00
Frank Denis
8e8fbf51f7
sodium ext: sort prototypes
2017-07-12 23:06:43 +02:00
Dmitry Stogov
09d3b7386c
Resources should be closed during object destructioin, not during freeing.
2017-07-12 18:53:16 +03:00
Anatol Belski
b41d715511
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Guard against AppVeyor losing deps issue
2017-07-12 15:40:33 +02:00
Anatol Belski
91aad4bc81
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Guard against AppVeyor losing deps issue
2017-07-12 15:40:00 +02:00
Anatol Belski
2f606dc5e8
Guard against AppVeyor losing deps issue
...
Possibly due to concurrent build cache updates or some changes in
the remote image. Some locking mechanism still could be required.
2017-07-12 15:37:40 +02:00
Anatol Belski
bfa3df0048
Merge branch 'PHP-7.1'
...
* PHP-7.1:
increase poll timeout as false positives mitigation
2017-07-12 14:50:36 +02:00
Anatol Belski
8b04e89ef0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
increase poll timeout as false positives mitigation
2017-07-12 14:49:58 +02:00
Anatol Belski
04cc2f6473
increase poll timeout as false positives mitigation
2017-07-12 14:38:12 +02:00
Dmitry Stogov
43e283fd64
Value of EG(user_exception_handler) should't relive request boundary
2017-07-12 15:37:12 +03:00
Frank Denis
a5258ed645
sodium ext: remove function names before exception messages
2017-07-12 08:48:09 +01:00
Frank Denis
6ac6d2c64a
sodium ext: update the crypto_kx_*() API to the libsodium one
...
The crypto_kx API initially present in the PHP bindings was a prototype
that was not part of libsodium.
This implements the one from libsodium >= 1.0.12.
We can later leverage the native libsodium functions if we decide that
1.0.12 is the minimum version we want to support.
2017-07-12 08:25:38 +01:00
Frank Denis
dfac71d096
Revert "fix macro redifinitions"
...
This reverts commit cbbf579f21 .
2017-07-12 08:25:35 +01:00
Dmitry Stogov
2b7d3fb45f
Fixed compilation error
2017-07-12 09:46:22 +03:00
Kalle Sommer Nielsen
7845182edd
Remove debug code
2017-07-12 06:12:07 +02:00
Kalle Sommer Nielsen
363bb03b7e
We need to check for the length here too, or we crash and no one likes that! :(
2017-07-12 06:11:14 +02:00
Kalle Sommer Nielsen
969eb8345b
* Implemented #65187 (exif_read_data/thumbnail: add support for stream resource)
...
* ext/exif now uses FAST_ZPP
2017-07-12 05:43:50 +02:00
Sara Golemon
bf0f769d58
Remove extraneous configure flag
...
--with-sodium --with-libsodium[=DIR] is inconsistent with
existing extensions. Unify these into a single
--with-sodium[=DIR] option
2017-07-11 22:12:58 -04:00
Anatol Belski
d1ee66655b
Revert "remove excessive checks and fix warnings"
...
This reverts commit c620daecb4 .
2017-07-11 23:13:22 +02:00
Anatol Belski
2b37da9eda
parametrize zip names
...
simplify names
2017-07-11 21:45:49 +02:00
Anatol Belski
8a287c0ea0
Upgrade bundled PCRE to 8.41
...
HEADSUP! With PCRE 8.39 the JIT related code was changed in the way,
that additional valgrind options became almost unavoidable. Valgrind
had it already sometimes hard with JIT, now there are seem to be more
cases requiring special valgrind options.
For this reason, the new configure option --with-pcre-valgrind was
introduced. The option is development/debugging only and turns on the
Valgrind related pieces in PCRE, so then false positives are avoided
to the big part. In addition, run-tests.php was added a new valgrind
option, when the leak check is enabled and the test filepath contains
pcre.
Thus, to debug the code related to PCRE with JIT enabled, two things
would likely make sense
- configure --with-pcre-valgrind
- valgrind option --smc-check=all if run-tests.php is not used
The checks so far reveal no new issues.
2017-07-11 17:01:59 +02:00
Côme Chilliet
9bcd93201f
Updated NEWS file with LDAP changes
...
Also fixed wording: bug -> feature request for EXOP
2017-07-11 16:23:21 +02:00
Côme Chilliet
a148ee8c7c
Fixed removing all controls by passing an empty array to ldap_set_option
2017-07-11 16:18:33 +02:00
Côme Chilliet
4219ca966e
Filled in NEWS file with ext/ldap last modifications
2017-07-11 13:53:46 +02:00
Remi Collet
249f75e7e4
change order, allow to build as shared extension
2017-07-11 13:53:06 +02:00
Remi Collet
d5f7e01f7c
restore file deleted by mistake in a merge commit
2017-07-11 13:07:51 +02:00
Remi Collet
2458dce3e5
Fix segfault in php_stream_context_get_option call
2017-07-11 11:41:47 +02:00
Anatol Belski
c620daecb4
remove excessive checks and fix warnings
2017-07-11 11:03:09 +02:00
Anatol Belski
cbbf579f21
fix macro redifinitions
2017-07-11 10:01:37 +02:00
Anatol Belski
8cfe479d1f
fix symbol availability and ws
2017-07-11 09:54:36 +02:00
Remi Collet
90b2cecbaa
Remove this for now, as not found
...
"E: Unable to locate package libsodium-dev"
2017-07-11 07:52:28 +02:00
Remi Collet
d269aa2003
fix authors
2017-07-11 07:43:56 +02:00
Remi Collet
c229ab587c
NEWS for Sodium
2017-07-11 07:41:43 +02:00
Remi Collet
ae96c7f48f
fix CREDITS file
2017-07-11 07:30:22 +02:00
Paragon Initiative Enterprises
5cfa26c181
Squashed commit - Add ext/sodium
...
RFC: https://wiki.php.net/rfc/libsodium
Licensing: https://web.archive.org/web/20170710161517/https://github.com/jedisct1/libsodium-php/issues/127
2017-07-11 07:25:50 +02:00
Anatol Belski
da2583b193
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update NEWS
update NEWS
2017-07-10 22:50:53 +02:00
Anatol Belski
82acb58d8a
update NEWS
2017-07-10 22:50:34 +02:00
Anatol Belski
3da01a9652
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-07-10 22:50:20 +02:00
Anatol Belski
3bcab31749
update NEWS
2017-07-10 22:49:55 +02:00
Anatol Belski
215bf24f01
Merge branch 'PHP-7.1'
...
* PHP-7.1:
switch to next binary tools sdk version
2017-07-10 21:47:07 +02:00
Anatol Belski
be531ce9f0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to next binary tools sdk version
2017-07-10 21:45:43 +02:00
Anatol Belski
b47cff48de
switch to next binary tools sdk version
2017-07-10 21:44:43 +02:00
Anatol Belski
07c7445dd0
fix datatype
2017-07-10 17:34:58 +02:00
Anatol Belski
ad25234350
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Revert "Add more constants, improve comments, and add tests"
2017-07-10 17:02:32 +02:00
Anatol Belski
7360e6a36f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Add more constants, improve comments, and add tests"
2017-07-10 17:01:25 +02:00
Anatol Belski
a797421e98
Revert "Add more constants, improve comments, and add tests"
...
This reverts commit 0c4f11ecaa .
2017-07-10 16:53:56 +02:00
Dmitry Stogov
7be2637dce
Fixed memory leak introduced by 7cb5bdf64a
2017-07-10 17:34:30 +03:00
Anatol Belski
2283b6ff53
eliminate casts
2017-07-10 15:48:54 +02:00
Anatol Belski
e0809fe62d
remove checks for eol dependencies
...
yet one leftower, only FreeTDS is usable at the moment
2017-07-10 15:00:16 +02:00
Anatol Belski
b6ae363338
Merge branch 'PHP-7.1'
...
* PHP-7.1:
improve test
2017-07-10 13:50:53 +02:00
Anatol Belski
fd08eaa8bc
improve test
2017-07-10 13:49:44 +02:00
Côme Chilliet
ed8bfcc6ea
Small fix in ext/ldap, Moved vars definitions to the beginning of the block using them
2017-07-10 11:33:08 +02:00
Remi Collet
569d164c4a
ZipArchive implements countable, added ZipArchive::count() method
2017-07-10 11:31:55 +02:00
Dmitry Stogov
161c378cc8
Revert "Fixed bug #74878 "
...
This reverts commit 9069734b57 .
2017-07-10 12:21:58 +03:00
Remi Collet
5369006edf
Upgrading note for #74837
2017-07-10 08:55:41 +02:00
Remi Collet
6f97fb47ca
Fixed bug #74837 - NEWS
2017-07-10 08:50:38 +02:00
Andreas Treichel
f725d9b1b9
Implement Countable for DomNodeList and DOMNamedNodeMap (Request #74837 )
2017-07-10 08:48:10 +02:00
Pedro Magalhães
7cb5bdf64a
Fix #49649 - Handle property visibility changes on unserialization
2017-07-10 07:27:09 +01:00
Joe Watkins
cfacf84dc1
Merge branch 'PHP-7.1'
...
* PHP-7.1:
#73594 tests only check the extra params if dns_get_record is successful
2017-07-10 06:56:03 +01:00
Joe Watkins
de32c9efc8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
#73594 tests only check the extra params if dns_get_record is successful
2017-07-10 06:55:53 +01:00
Pedro Magalhães
2689917b17
#73594 tests only check the extra params if dns_get_record is successful
2017-07-10 06:55:31 +01:00
Joe Watkins
bad55a72ab
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
2017-07-10 06:54:24 +01:00
Joe Watkins
ccd0ff3ac4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
2017-07-10 06:53:59 +01:00
jhdxr
5cf54f6073
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
2017-07-10 06:53:22 +01:00
Anatol Belski
e24a8012a0
fix uninitialized var
2017-07-09 17:54:46 +02:00
Anatol Belski
a51cb393b1
fix comparison warning
2017-07-09 16:28:17 +02:00
Anatol Belski
ba5df1c682
comply with POSIX signature
2017-07-09 16:23:31 +02:00
Anatol Belski
8d0d326ff9
fix warning
2017-07-09 16:05:36 +02:00
Anatol Belski
72b0a3a892
remove some casts
2017-07-09 15:47:01 +02:00
Anatol Belski
84079f4a1e
cleanup casts
2017-07-09 15:31:05 +02:00
Anatol Belski
e403acc74b
remove useless cast
2017-07-09 15:15:17 +02:00
Anatol Belski
aaf09f7bdf
eliminate casts
2017-07-09 15:11:02 +02:00
Anatol Belski
384f0f8a4c
sync vim mode lines in main
2017-07-09 15:07:23 +02:00
Anatol Belski
e870edb1ee
[ci skip] update NEWS
2017-07-09 15:05:44 +02:00
Anatol Belski
2409aac896
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-07-09 15:03:07 +02:00
Anatol Belski
7938b9ccac
[ci skip] update NEWS
2017-07-09 15:02:40 +02:00
Anatol Belski
e89476a870
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-07-09 15:02:03 +02:00
Anatol Belski
62700f76cb
[ci skip] update NEWS
2017-07-09 15:01:37 +02:00
Anatol Belski
176b45fa3a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-09 01:32:07 +02:00
Anatol Belski
02cc492015
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-09 01:31:25 +02:00
Anatol Belski
b5338c0b7d
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-08 23:52:22 +02:00
Kalle Sommer Nielsen
7bb696dc49
Silent compiler warning
2017-07-08 19:05:28 +02:00
Kalle Sommer Nielsen
38d019979e
Fix test
2017-07-08 18:01:51 +02:00
Kalle Sommer Nielsen
ba28d75c2c
Deprecated the read_exif_data() alias
2017-07-08 15:02:05 +02:00
Kalle Sommer Nielsen
5c6e0b189e
Merge branch 'master' of git.php.net:/php-src
2017-07-08 13:52:00 +02:00
Kalle Sommer Nielsen
b1fd08d94c
Add myself as exif maintainer
2017-07-08 13:51:36 +02:00
Anatol Belski
0acb6d1ae2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update libs versions
Fix NEWS entry location
Fix NEWS entry location
news entry for 74819
news entry for 74651
news entry for 74111
news entry for 74435
news entry for 74603
2017-07-08 13:42:47 +02:00
Anatol Belski
b38de96733
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update libs versions
2017-07-08 13:42:10 +02:00
Anatol Belski
0fdceb6cd5
update libs versions
2017-07-08 13:41:50 +02:00
Kalle Sommer Nielsen
106386dd98
Fixed file name for case sensitive file systems
2017-07-08 03:34:30 +02:00
Kalle Sommer Nielsen
469206c84e
Added test case for bug #73115 which was fixed by recently fixed bugs
2017-07-08 03:30:46 +02:00
Nikita Popov
9069734b57
Fixed bug #74878
2017-07-07 22:41:48 +02:00
Kalle Sommer Nielsen
134047dfde
We currently don't use the guessing code, so don't compile it
2017-07-07 12:23:24 +02:00
Kalle Sommer Nielsen
e6903d471e
* Fixed bug #72819 (EXIF thumbnails not read anymore)
...
* Fixed bug #62523 (php crashes with segfault when exif_read_data called)
* Fixed the poor test case for #62523 , which was a HTML document
Fixing #72819 had the side effect of fixing #62523 by supporting the format as seen in bug62523_1.phpt
2017-07-07 12:20:05 +02:00
Andrey Andreev
ce4e07e37d
Add missing NEWS entry, update UPGRADING
...
This was done back in January, but never noted in the NEWS file.
References:
https://github.com/php/php-src/pull/2312
https://github.com/php/php-src/pull/2321
2017-07-07 13:01:09 +03:00
Kalle Sommer Nielsen
babc3c522f
This should be EXPECT instead of EXPECTF
2017-07-07 11:31:31 +02:00
Kalle Sommer Nielsen
cd8d0aad7f
Fixed bug #50660 (exif_read_data(): Illegal IFD offset (works fine with other exif readers))
2017-07-07 11:29:23 +02:00
Kalle Sommer Nielsen
900ce92c9a
Fixed bug #74428 (exif_read_data(): "Illegal IFD size" warning occurs with correct exif format)
2017-07-07 10:20:02 +02:00
Anatol Belski
57432da0b9
fix command
2017-07-07 09:05:33 +02:00
Dmitry Stogov
29653da385
Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()).
2017-07-07 09:54:21 +03:00
Kalle Sommer Nielsen
5a991ea49b
Fixed bug #72324 (imap_mailboxmsginfo() return wrong size)
2017-07-07 08:18:33 +02:00
Kalle Sommer Nielsen
9507d14584
Fix redefine warnings
2017-07-07 08:08:25 +02:00
Kalle Sommer Nielsen
4be4a38d99
Expand sb's name and capitalize my own
2017-07-07 04:56:45 +02:00
Kalle Sommer Nielsen
c5f83f3426
Write the URL on a new line, so that it is easier copyable
2017-07-07 04:15:13 +02:00
Christopher Jones
0d3e6f6add
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-07 12:14:57 +10:00
Christopher Jones
5c96a255ea
Fix NEWS entry location
2017-07-07 12:14:12 +10:00
Christopher Jones
5ca02ca494
Fix NEWS entry location
2017-07-07 12:13:21 +10:00
Dmitry Stogov
fc336c78e7
Added missed dump of "main" script code
2017-07-06 23:06:11 +03:00
Anatol Belski
9ad0d0ca3c
replace the stack var by a macro
2017-07-06 20:47:04 +02:00
Remi Collet
9470b2016c
[ci skip] sync NEWS
2017-07-06 13:22:10 +02:00
Remi Collet
ec0ad331cd
minor fix for web announce
2017-07-06 12:34:00 +02:00
Joe Watkins
18eb78854c
news entry for 74819
2017-07-06 09:33:07 +01:00
Joe Watkins
700803b70c
news entry for 74651
2017-07-06 08:20:21 +01:00
Joe Watkins
739ecf5430
news entry for 74111
2017-07-06 08:06:11 +01:00
Joe Watkins
1af5ca0746
news entry for 74435
2017-07-06 08:03:17 +01:00
Joe Watkins
2928feca46
news entry for 74603
2017-07-06 08:02:00 +01:00
Ferenc Kovacs
b04b6b6a5b
Merge branch 'PHP-7.1'
2017-07-06 00:14:29 +02:00
Ferenc Kovacs
fb140d582c
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-06 00:13:24 +02:00
Ferenc Kovacs
af07b76ccf
Merge branch 'PHP-5.6' into PHP-7.0
2017-07-06 00:12:05 +02:00
Ferenc Kovacs
390f64701d
add missing NEWS entry for #74087 and also fix the formatting
2017-07-06 00:10:07 +02:00
Ferenc Kovacs
7991a88675
move NEWS entry to the correct place, also bump the version
2017-07-06 00:05:14 +02:00
Dmitry Stogov
7bb4ae59c3
Fixed final dump "after optimizer"
2017-07-05 21:48:01 +03:00
Dmitry Stogov
73d5097a9f
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Added constants for known ldap controls OID and tests for ldap_get/set_option for controls
Added support for controls to ldap_get_option
2017-07-05 19:16:26 +03:00
Dmitry Stogov
acffb7a080
Keep information about SSA variables, that may be modified indirectly.
2017-07-05 19:15:16 +03:00
Côme Chilliet
274d84139b
Added constants for known ldap controls OID and tests for ldap_get/set_option for controls
...
Also fixed existing tests which were expecting ldap_get_option to fail on controls
2017-07-05 16:41:52 +02:00
Côme Chilliet
3a09c1246c
Added support for controls to ldap_get_option
2017-07-05 16:41:52 +02:00
Anatol Belski
6164ec91c6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] sync NEWS
2017-07-05 12:33:20 +02:00
Anatol Belski
489f3a3234
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] sync NEWS
2017-07-05 12:32:52 +02:00
Anatol Belski
aa3fceeaad
[ci skip] sync NEWS
2017-07-05 12:31:21 +02:00
Côme Chilliet
513bbba5cc
Merge branch 'pull-request/2608'
...
* pull-request/2608:
Test ldap_exop_passwd with less parameters to be sure it works
Changed API to avoid using passing result by reference
Removed unused variables left over by LDAP EXOP patch
Removed TSRMLS_CC instances left over by LDAP EXOP patch
Swapped position of retoid and retdata as retoid is almost never used
Removed two step syntax for EXOP helpers, one call workflow is enough
Improved ldap_exop test to encode&decode a passwd EXOP to test sending/recieving data
Removed TODOs regarding implementing passwd and whoami exops based on ldap_exop
Added constants for standard EXOPs
Removed ldap_refresh function as I’m not sure how to fix/use/test it
Fixed ldap_exop and ldap_parse_exop. Only tested them for whoami exop. (see test file)
Fixed ldap_parse_exop_whoami and ldap_parse_exop_passwd and added test for them
Fixed ldap_exop_whoami and added a test for it
Fixed ldap_exop_passwd and added tests for it
Fixed building errors in LDAP EXOP
Added EXOP features based on patch from http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/databases/php-ldap/files/ldap-ctrl-exop56.patch
2017-07-05 11:20:14 +02:00
Remi Collet
e1f1ee1eb5
Merge branch 'PHP-7.1'
...
* PHP-7.1:
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
2017-07-05 10:03:00 +02:00
Remi Collet
1e3b960ab5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
2017-07-05 10:02:42 +02:00
Remi Collet
8b1559b9f4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
2017-07-05 10:02:21 +02:00
Remi Collet
55b880070c
NEWS for oniguruma
2017-07-05 09:26:55 +02:00
Remi Collet
703be4f77e
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:26:06 +02:00
Remi Collet
27a743b82b
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229)
b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:57 +02:00
Remi Collet
bdf7393ddb
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:49 +02:00
Remi Collet
2693e52113
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:39 +02:00
Remi Collet
4e68b2c52b
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226)
b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6
f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:27 +02:00
Remi Collet
8d1ae4e1c5
valid_symbol_table removed
2017-07-05 06:33:34 +02:00
Stanislav Malyshev
d75dbb0e31
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 21:23:16 -07:00
Stanislav Malyshev
0ba04f7737
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 21:18:10 -07:00
Stanislav Malyshev
54840f9c8f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Improve fix for #74145
2017-07-04 21:11:15 -07:00
Stanislav Malyshev
f269cdcd4f
Improve fix for #74145
2017-07-04 21:10:08 -07:00
Stanislav Malyshev
f76a6cd023
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix tests
2017-07-04 21:05:06 -07:00
Stanislav Malyshev
6b18d956de
Fix wddx
2017-07-04 20:19:34 -07:00
Stanislav Malyshev
e46d589624
Fix tests
2017-07-04 20:12:57 -07:00
Stanislav Malyshev
0496f5407f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 19:44:51 -07:00
Nikita Popov
3a25a56a92
Fixed bug #74111
2017-07-04 19:38:42 -07:00
Stanislav Malyshev
0525574913
Fix bug #74603 - use correct buffer size
2017-07-04 19:35:56 -07:00
Stanislav Malyshev
73cabfedf5
Fix bug #74651 - check EVP_SealInit as it can return -1
2017-07-04 19:30:56 -07:00
Stanislav Malyshev
12107d619b
Update NEWS
2017-07-04 19:30:29 -07:00
Stanislav Malyshev
f7f4fd4706
Fix bug #74087
...
Ported from https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch
2017-07-04 19:21:28 -07:00
Derick Rethans
e8b7698f5e
Fixed parsing of strange formats with mixed month/day and time strings
2017-07-04 19:19:30 -07:00
Stanislav Malyshev
2aae60461c
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
2017-07-04 19:06:42 -07:00
Nikita Popov
f8c514ba6b
Fixed bug #74111
2017-07-04 19:06:16 -07:00
Christoph M. Becker
8dc4f4dc9e
Fix #74435 : Buffer over-read into uninitialized memory
...
The stack allocated color map buffers were not zeroed before usage, and
so undefined palette indexes could cause information leakage.
2017-07-04 19:00:57 -07:00
Stanislav Malyshev
5f8380d33e
Fix bug #74603 - use correct buffer size
2017-07-04 19:00:03 -07:00
Stanislav Malyshev
89637c6b41
Fix bug #74651 - check EVP_SealInit as it can return -1
2017-07-04 12:32:06 -07:00
Nikita Popov
8e0ddc89fe
Drop duplicate dtors in update_opN
...
Per new convention update_opN should no longer dtor on failure.
2017-07-04 21:23:34 +02:00
Nikita Popov
3f8ceb6f05
Drop useless allocation in php_filter_callback
2017-07-04 21:11:22 +02:00
Nikita Popov
8126599670
Drop dead abstract method check from zend_call_function()
...
zend_is_callable() is responsible for doing these kinds of checks
already.
Aldro drop a piece of obsolete commented out code.
2017-07-04 21:11:22 +02:00
Remi Collet
1be0563087
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Adapt for 32-bits which fails at different offset (49 vs 38)
2017-07-04 20:27:10 +02:00
Remi Collet
1fa8e74d6e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Adapt for 32-bits which fails at different offset (49 vs 38)
2017-07-04 20:26:53 +02:00
Remi Collet
4b38feabe7
Adapt for 32-bits which fails at different offset (49 vs 38)
2017-07-04 20:25:59 +02:00
Anatol Belski
bc5811f361
further sync for vim mode lines
2017-07-04 18:12:45 +02:00
Anatol Belski
6a3a2bf18e
vim folds and mode lines yet
2017-07-04 17:06:52 +02:00
Anatol Belski
a0203ea143
fix datatype
2017-07-04 16:41:29 +02:00
Anatol Belski
8bf7246310
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix datatype
2017-07-04 16:41:05 +02:00
Anatol Belski
41ba98f02d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix datatype
2017-07-04 16:38:12 +02:00
Anatol Belski
a29264eb8c
fix datatype
2017-07-04 16:37:17 +02:00
Anatol Belski
bae668ee2a
add missing include guards
2017-07-04 16:21:45 +02:00
Anatol Belski
a56700043e
vim folds and modelines
2017-07-04 16:08:48 +02:00
Dmitry Stogov
0965a4ef9f
Check for exceptional cases before actual constant evaluation.
2017-07-04 16:09:28 +03:00
Dmitry Stogov
6276268b77
Separate constants propagation code shatred between "first" and "block" passes into helper functions.
2017-07-04 15:10:33 +03:00
Anatol Belski
816669af0c
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] sync NEWS
2017-07-04 12:15:19 +02:00
Anatol Belski
396c0f7a76
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] sync NEWS
2017-07-04 12:14:50 +02:00
Anatol Belski
4903f044d3
[ci skip] sync NEWS
2017-07-04 12:12:51 +02:00
Remi Collet
1605f5b8c4
Update NEWS for 7.2.0beta1
2017-07-04 11:35:39 +02:00
Remi Collet
8fa1f15e2d
Update NEWS for PHP 7.2.0alpha3
2017-07-04 11:35:39 +02:00
Anatol Belski
cae6767f8d
update NEWS
2017-07-04 11:31:35 +02:00
Anatol Belski
ff79b2070f
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update NEWS
update NEWS
2017-07-04 11:31:09 +02:00
Anatol Belski
6f78923d1f
update NEWS
2017-07-04 11:30:30 +02:00
Anatol Belski
04904333fd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-07-04 11:29:54 +02:00
Anatol Belski
ce64b82ebb
update NEWS
2017-07-04 11:29:00 +02:00
Anatol Belski
b28c6515a6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74101 and bug #74614
2017-07-04 10:44:50 +02:00
Anatol Belski
2dc24005d9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74101 and bug #74614
2017-07-04 10:42:48 +02:00
Nikita Popov
d02f953faf
Fixed bug #74101 and bug #74614
2017-07-04 10:39:41 +02:00
Côme Chilliet
209c9ba384
Test ldap_exop_passwd with less parameters to be sure it works
2017-07-04 10:17:41 +02:00
Côme Chilliet
3207747b9e
Changed API to avoid using passing result by reference
...
See discussion on internals ML
2017-07-04 10:03:27 +02:00
Dmitry Stogov
10dbc0b2e7
Compile/optimisation-time constants can't be circular, but in general may be reference-countable. It's better to use zval_ptr_dtor_nogc() to release them.
2017-07-04 10:43:34 +03:00
Dmitry Stogov
b685991b44
Get rid of old compatibility macros
2017-07-04 09:50:57 +03:00
Dmitry Stogov
bfa24e3488
Fixed bug #74836 (isset on zero-prefixed numeric indexes in array broken)
2017-07-04 07:23:46 +03:00
Dmitry Stogov
02ef5d3803
Revert "Avoid run-time checks performed at compile-time."
...
This reverts commit 8fe47a47cf .
2017-07-04 07:15:42 +03:00
Anatol Belski
726f2f7403
[ci skip] update NEWS
2017-07-03 23:21:38 +02:00
Anatol Belski
8871d2d12e
Fixed bug #74849 Process is started as interactive shell in PhpStorm
2017-07-03 21:59:31 +02:00
Dmitry Stogov
55cd4e859b
Added missed opcodes
2017-07-03 21:26:44 +03:00
Côme Chilliet
13062efd02
Removed unused variables left over by LDAP EXOP patch
2017-07-03 12:23:34 +02:00
Côme Chilliet
e05d230e52
Removed TSRMLS_CC instances left over by LDAP EXOP patch
2017-07-03 12:08:24 +02:00
Côme Chilliet
bda80aa332
Swapped position of retoid and retdata as retoid is almost never used
2017-07-03 10:58:13 +02:00
Côme Chilliet
e9001cab46
Removed two step syntax for EXOP helpers, one call workflow is enough
2017-07-03 10:58:13 +02:00
Côme Chilliet
5020325a6f
Improved ldap_exop test to encode&decode a passwd EXOP to test sending/recieving data
2017-07-03 10:58:13 +02:00
Côme Chilliet
413e9c84f6
Removed TODOs regarding implementing passwd and whoami exops based on ldap_exop
2017-07-03 10:58:13 +02:00
Côme Chilliet
9aa99cc34c
Added constants for standard EXOPs
2017-07-03 10:58:13 +02:00
Côme Chilliet
4652c46245
Removed ldap_refresh function as I’m not sure how to fix/use/test it
2017-07-03 10:58:13 +02:00
Côme Chilliet
e832ce4b22
Fixed ldap_exop and ldap_parse_exop. Only tested them for whoami exop. (see test file)
2017-07-03 10:58:13 +02:00
Côme Chilliet
28530b2f1c
Fixed ldap_parse_exop_whoami and ldap_parse_exop_passwd and added test for them
2017-07-03 10:58:13 +02:00
Côme Chilliet
fdafd68419
Fixed ldap_exop_whoami and added a test for it
2017-07-03 10:58:12 +02:00
Côme Chilliet
ae76c8ba2c
Fixed ldap_exop_passwd and added tests for it
2017-07-03 10:58:12 +02:00
Côme Chilliet
def09c7cab
Fixed building errors in LDAP EXOP
2017-07-03 10:58:12 +02:00
Côme Chilliet
a0920f2822
Added EXOP features based on patch from http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/databases/php-ldap/files/ldap-ctrl-exop56.patch
2017-07-03 10:58:12 +02:00
Sara Golemon
f066f59eab
Add NEWS entry and a test for Bug#71412
2017-07-02 10:41:38 -04:00
Tyson Andre
96fe07e006
Fixes Bug #71412 Incorrect ArrayIterator __construct signature
...
ArrayIterator doesn't have a getIterator method(), or an iterator setter,
and I don't think it makes sense for it to have one.
2017-07-02 10:37:28 -04:00
Anatol Belski
04d7595e58
Merge branch 'PHP-7.1'
...
* PHP-7.1:
yet one C++ compat fix
2017-07-01 20:07:05 +02:00
Anatol Belski
9d1575c495
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
yet one C++ compat fix
2017-07-01 20:06:39 +02:00
Anatol Belski
d0b7eed0c9
yet one C++ compat fix
2017-07-01 20:05:11 +02:00
Anatol Belski
46ef3e237c
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix C++ compat
2017-07-01 18:39:02 +02:00
Anatol Belski
667185a264
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix C++ compat
2017-07-01 18:38:18 +02:00
Anatol Belski
c71b773a62
fix C++ compat
2017-07-01 18:36:43 +02:00
Bob Weinand
2304bc2aa2
Merge branch 'PHP-7.1'
2017-07-01 11:53:00 +02:00
Bob Weinand
af7bfc71fd
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-01 11:52:41 +02:00
Bob Weinand
e3cc15daf2
Fixed bug #74840 (Opcache overwrites argument of GENERATOR_RETURN within finally)
2017-07-01 11:52:03 +02:00
Yasuo Ohgaki
a2d766503a
Fixed bug #74514 5 session functions incorrectly warn when calling in read-only/getter mode
2017-07-01 03:32:54 +09:00
Richard Fussenegger
66e5dc5b9b
Fixed ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO macro
...
The macro was expanding to a wrong macro and thus leads to compile errors upon
usage. Changed it to expand to the correct macro.
2017-06-30 13:22:25 +02:00
Julien Pauli
cf7ae70540
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Updated NEWS
Updated NEWS
Fix bug #74832 , crash in extension loading
2017-06-29 20:25:18 +02:00
Julien Pauli
72f7143295
Updated NEWS
2017-06-29 20:24:34 +02:00
Julien Pauli
e57fce4d00
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Updated NEWS
Fix bug #74832 , crash in extension loading
2017-06-29 20:24:03 +02:00
Julien Pauli
2a1ad88538
Updated NEWS
2017-06-29 20:23:37 +02:00
Julien Pauli
3f4340a796
Fix bug #74832 , crash in extension loading
2017-06-29 20:22:21 +02:00
Adam Baratz
5ed83f7e84
Apply fix for #69356 to "Sent SQL"
2017-06-29 11:45:41 +02:00
Adam Baratz
3ac20e0995
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #69356
Fixed #69356 : PDOStatement::debugDumpParams() truncates query
2017-06-29 11:44:02 +02:00
Adam Baratz
c8bb64c406
Fixed bug #69356
2017-06-29 11:43:12 +02:00
Adam Baratz
f15790ec73
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #69356 : PDOStatement::debugDumpParams() truncates query
2017-06-29 11:40:56 +02:00
Adam Baratz
08089f014c
Fixed #69356 : PDOStatement::debugDumpParams() truncates query
2017-06-29 11:39:50 +02:00
Dmitry Stogov
10dc924999
Use inlined version of zval_ptr_dytor() in var_destroy() loop
2017-06-29 12:16:52 +03:00
Dmitry Stogov
5a51da9942
Use inlined version of zval_ptr_dtor() in array_map() loop
2017-06-29 12:15:57 +03:00
Dmitry Stogov
e111bccd48
Use zval_ptr_dtor_nogc() for data that can't be circular
2017-06-29 12:14:41 +03:00
Dmitry Stogov
bbb786c85b
Split zend_init_execute_data() into zend_init_func_execute_data() and zend_init_code_execute_data()
2017-06-29 10:10:57 +03:00
Dmitry Stogov
c23ffaa211
We don't have to use "persistent" heap with PHP-7 HashTable(s).
2017-06-29 09:24:07 +03:00
Xinchen Hui
d79305fb7a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix typo in PHP 7.1.8 news
2017-06-29 11:51:05 +08:00
Tyson Andre
a99c5f28c5
Fix typo in PHP 7.1.8 news
2017-06-28 15:46:58 -07:00
Anatol Belski
b411d4acc3
[ci skip] update NEWS
2017-06-28 23:38:49 +02:00
Nikita Popov
4465b37105
Fix zend_get_zval_ptr()
2017-06-28 10:21:32 +02:00
George Wang
79128b34ff
Merge branch 'PHP-7.1'
2017-06-27 23:18:27 -04:00
George Wang
4e4f2f9f89
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-27 23:16:25 -04:00
George Wang
751d19f698
[BUGFIX] fixes the issue that a value from .user.ini displays in phpinfo(), but not applies.
...
[BUGFIX] when lsapi used the php_value has higher priority then ini_set when called from the script by itself .
2017-06-27 23:14:36 -04:00
Dmitry Stogov
f626a783b6
Avoid string duplication in preg_split()
2017-06-28 00:43:55 +03:00
Anatol Belski
e08c0ed8ce
Bug #74815 crash with a combination of INI entries at startup
...
TS related VCWD routines depend on CWD. Thus, a premature CWD
deactivation renders the VCWD layer unusable. Same issue seems to
persist in versions < 7.2, just that the code path is actually unused so
the issue didn't show up. Still might make sense to backport this into
lower branches.
2017-06-27 16:30:10 +02:00
Dmitry Stogov
c0be77aa75
Removed deprecated checks.
2017-06-27 13:12:09 +03:00
Dmitry Stogov
908ce66f73
Cleanup. Removed unused functions and unimplemented prototype. Avoid useless "dtor_obj" calls.
2017-06-27 12:03:06 +03:00
Remi Collet
b6ee9dd490
upgrading: doc about ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX
2017-06-26 17:26:07 +02:00
Remi Collet
85c32322ac
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (24 commits)
Removed EG(valid_symbol_table). Used EG(active) instead.
Release temporary string reference
Remove superfluous semicolons
Fix tests on Windows
Produce a better exception message when IntlDateFormatter constructor fails.
Fix format arguments
Remove unused variable op2. It is redeclared later.
Fix typo
Implement object type annotation
Fixed bug #73173
Expose inflate_get_status() and inflate_get_read_len() functions
Add more constants, improve comments, and add tests
Fixed bug #73900
Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding
Drop soap_hash_str_find_deref()
Only compute callback name in error cases
Extract zend_get_callable_name() API
Move va_copy compatibility code into zend_portability.h
Remove unnecessary string copy
Fix FE_FETCH_* exception check
...
2017-06-26 17:22:01 +02:00
Dmitry Stogov
caaeb4849a
Removed EG(valid_symbol_table). Used EG(active) instead.
2017-06-26 13:35:07 +03:00
Sara Golemon
24030d54d8
Release temporary string reference
2017-06-25 19:39:13 -04:00
Tom Van Looy
04fb3f28ff
Remove superfluous semicolons
2017-06-26 00:23:25 +02:00
Nikita Popov
b3849edf2c
Fix tests on Windows
2017-06-26 00:22:14 +02:00
Sara Golemon
ecaf408d30
Produce a better exception message when IntlDateFormatter constructor fails.
2017-06-25 17:44:59 -04:00
Nikita Popov
e5741da85c
Fix format arguments
...
Only dropped one before, both need to go...
2017-06-25 22:32:57 +02:00
Tom Van Looy
60d032d65e
Remove unused variable op2. It is redeclared later.
2017-06-25 22:31:00 +02:00
Nikita Popov
9dfcb04f10
Fix typo
2017-06-25 22:28:56 +02:00
Michał Brzuchalski
8e10c9d373
Implement object type annotation
...
RFC: https://wiki.php.net/rfc/object-typehint
2017-06-25 21:49:41 +02:00
Nikita Popov
dd15b34018
Merge branch 'PHP-7.1'
2017-06-25 20:17:34 +02:00
Nikita Popov
e938cfc921
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 20:17:26 +02:00
Nikita Popov
604827b694
Fixed bug #73173
...
Patch by tloi at fortinet dot com.
2017-06-25 20:17:06 +02:00
Bob Weinand
a1755671e2
Merge branch 'PHP-7.1'
2017-06-25 20:15:31 +02:00
Bob Weinand
44d734254a
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 20:13:48 +02:00
Bob Weinand
cfee5116dd
Expose inflate_get_status() and inflate_get_read_len() functions
2017-06-25 20:12:45 +02:00
Matthew Trescott
0c4f11ecaa
Add more constants, improve comments, and add tests
2017-06-25 20:12:45 +02:00
Nikita Popov
957c24d5ee
Merge branch 'PHP-7.1'
2017-06-25 19:49:25 +02:00
Nikita Popov
653b96347c
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 19:49:11 +02:00
Nikita Popov
2fddc4a7f1
Fixed bug #73900
2017-06-25 19:48:17 +02:00
Jakub Zelenka
e657f0d3f2
Merge branch 'PHP-7.1'
2017-06-25 18:11:10 +01:00
Jakub Zelenka
0c707fcb10
Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding
...
It fixes bug #71917 (openssl_open() returns junk on envelope < 16 bytes)
and bug #72362 (OpenSSL Blowfish encryption is incorrect for short
keys).
2017-06-25 18:08:50 +01:00
Nikita Popov
1f924d75cb
Drop soap_hash_str_find_deref()
...
And directly use zend_hash_str_find_deref() instead.
2017-06-25 18:51:59 +02:00
Nikita Popov
035a27cbc6
Only compute callback name in error cases
...
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
2017-06-25 18:45:59 +02:00
Nikita Popov
ee8e75aab4
Extract zend_get_callable_name() API
...
Instead of interleaving this inside zend_is_callable(), implement
this in a separate function instead.
Also add _deref() hash APIs. I've wanted these for a while, and
this is another place where they're useful, so finally do it...
2017-06-25 18:26:03 +02:00
Nikita Popov
205807f60e
Move va_copy compatibility code into zend_portability.h
...
Previously this was defined in zend.c and php.h and also handled
in another way in soap.c.
2017-06-25 17:00:26 +02:00
Nikita Popov
6dd2eaf45c
Remove unnecessary string copy
2017-06-25 16:52:50 +02:00
Nikita Popov
c136afa2be
Fix FE_FETCH_* exception check
...
Only applying this for 7.2, because handling this would be ugly
under the old retval freeing semantics.
2017-06-25 16:45:17 +02:00
Nikita Popov
ed37ca7369
Fixed bug #74810
...
And also did some general cleanup in ZEND_FUNC_GET_ARGS.
2017-06-25 16:00:24 +02:00
Nikita Popov
191f154d40
Merge branch 'PHP-7.1'
2017-06-25 15:32:38 +02:00
Nikita Popov
bda0f4e8dc
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 15:30:29 +02:00
Nikita Popov
de66e80d75
Don't leave holes in func_get_args() and backtraces
...
Argument lists should always be continuous and hole-free, even if
local variables are unset. Replace UNDEF values with NULLs.
2017-06-25 15:27:45 +02:00
Bob Weinand
fda0a8b735
Fixed bug #73944 (inflate_init() dictionary option) - add NEWS entry
2017-06-25 10:57:36 +02:00
wapmorgan
cd1869bcf2
Remove invalid check of dictionary content and add initialization of dictionary if raw compression used
2017-06-25 10:53:28 +02:00
Remi Collet
4ed8ff5090
not about zend_arg_info.class_name
2017-06-25 08:41:11 +02:00
Stanislav Malyshev
3eecee16d1
Update NEWS
2017-06-24 23:32:59 -07:00
Remi Collet
b3b8627106
note about IS_TYPE_IMMUTABLE
2017-06-25 08:32:03 +02:00
Remi Collet
59c30c01b3
note about php_pcre_replace*
2017-06-25 08:27:52 +02:00
Remi Collet
754e1c463d
ZEND_ACC_CLONE is removed
2017-06-25 08:23:30 +02:00
Remi Collet
8e98a44eb2
fix version
2017-06-25 08:22:29 +02:00
Anatol Belski
31e4afe3c3
[ci skip] update NEWS
2017-06-24 01:37:45 +02:00
Anatol Belski
cf1f9a20fd
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] update NEWS
2017-06-24 01:29:51 +02:00
Anatol Belski
4e98990f6b
[ci skip] update NEWS
2017-06-24 01:28:58 +02:00
Anatol Belski
eb68301df1
Relax test condition, as OpenSSL 1.1.x out differs in EOL only
2017-06-24 00:25:51 +02:00
Anatol Belski
d7b9eb981a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
2017-06-24 00:24:56 +02:00
Anatol Belski
b714309056
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
...
The patch for bug #74720 was incomplete.
2017-06-24 00:18:57 +02:00
Nikita Popov
272a9f29f5
Merge branch 'PHP-7.1'
2017-06-23 17:33:36 +02:00
Nikita Popov
5b5a92b8b6
Fixed bug #74623
2017-06-23 17:32:45 +02:00
Nikita Popov
4948da178a
Make inference robust against infinite loop
...
Right now, if narrowing occurs on non-debug builds, inference can
easily go into an infinite loop. Prevent this, and add a pointer
that this should be reported as a bug.
2017-06-23 17:07:44 +02:00
Dmitry Stogov
d55b43d9cb
Merge branch 'fast_shutdown'
...
* fast_shutdown:
Reseet EG(active) a bit early.
Reuse "nIndex"
shutdown_executor() refactoring (reuse opcache fast request shutdown code)
2017-06-23 14:59:29 +03:00
Dmitry Stogov
866d3b40e9
Reseet EG(active) a bit early.
2017-06-23 14:58:19 +03:00
Nikita Popov
748069e3a0
Merge branch 'PHP-7.1'
2017-06-23 13:32:51 +02:00
Nikita Popov
721de5b542
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-23 13:31:39 +02:00
ideal
4d6100569b
Fix error if compiled without -fpermissive flag.
2017-06-23 13:31:23 +02:00
Dmitry Stogov
40ed9aaa48
Reuse "nIndex"
2017-06-23 14:23:00 +03:00
Joe Watkins
a79ec404b2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix method "eof"
2017-06-23 07:53:24 +01:00
Joe Watkins
bd8940a1fe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix method "eof"
2017-06-23 07:53:12 +01:00
danchukas
b255b97e43
fix method "eof"
...
replace "eof" with "feof"
because:
1) http://php.net/manual/ru/function.feof.php
2) Error: Call to undefined function eof()
2017-06-23 07:53:00 +01:00
Joe Watkins
5796fff344
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Remove superfluous branch
2017-06-23 07:51:59 +01:00
Joe Watkins
b903733762
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove superfluous branch
2017-06-23 07:51:46 +01:00
Thomas Punt
b1301a0686
Remove superfluous branch
2017-06-23 07:51:32 +01:00
Marat Nagayev
99b611958f
fix news
2017-06-22 22:41:53 +01:00
Jakub Zelenka
bf8717594c
Update NEWS with info about openssl pkcs7 read and verify changes
2017-06-22 20:39:09 +01:00
Jelle van der Waa
787a18a50a
Add openssl_pkcs7_read and output P7B in openssl_pkcs7_verify
...
Add an optional argument to openssl_pkcs7_verify to save the P7B
structure which can contain extra CA intermediate certificates send
along with an S/MIME signed email.
Introduce a new function called openssl_pkcs7_read, which can read a
PKCS#7 structure passed as a string and returns by reference an array
with PEM certificates formatted as a string.
2017-06-22 20:36:23 +01:00
Sara Golemon
d09edf7b34
Minor refactor of load extension by name impl
...
Minimize the #ifdef surface area
Localize orig_libpath to retry scope
Send errors to php_error() rathern than stderr
2017-06-22 13:13:45 -04:00
Francois Laupretre
fe5c8f2b80
Allow loading PHP and Zend extensions by name
...
Allow extension name as INI 'extension=' and dl() argument
No BC break, as file name is still accepted.
When using the '-z' command line option (CLI/CGI), an absolute file name must still be provided (nothing changed here)
Change comments in example INI files
2017-06-22 12:58:15 -04:00
Joe Watkins
0f15a03026
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix configure error
2017-06-22 14:02:09 +01:00
Joe Watkins
21cbdf6984
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix configure error
2017-06-22 14:01:45 +01:00
Peter Kokot
660250f4da
Fix configure error
...
This patch fixes configure error on some systems such as Alpine.
```
line 3472: test: =: unary operator expected
```
One of the fixes has been suggested also here already:
https://bugs.php.net/bug.php?id=39835
Thank you for considering merging this.
2017-06-22 14:01:18 +01:00
Michael Moussa
9437dcd621
Add test for bug #52480
2017-06-22 13:56:03 +01:00
Joe Watkins
2030b59829
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix bug #73471 PHP freezes with AppendIterator
2017-06-22 11:58:04 +01:00
Joe Watkins
c56378b0d5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #73471 PHP freezes with AppendIterator
2017-06-22 11:57:39 +01:00
jhdxr
81c2a4b9ba
fix bug #73471 PHP freezes with AppendIterator
2017-06-22 11:56:49 +01:00
Joe Watkins
36d064be12
fix news
2017-06-22 11:54:10 +01:00
Joe Watkins
7945dca6ec
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix bug #74780 parse_url() borken when query string contains colon
Update NEWS
2017-06-22 11:53:27 +01:00
Joe Watkins
ed1f64e083
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #74780 parse_url() borken when query string contains colon
2017-06-22 11:52:39 +01:00
jhdxr
db287b2303
fix bug #74780 parse_url() borken when query string contains colon
2017-06-22 11:52:06 +01:00
Niklas Keller
3250fa09b2
Fix name in NEWS
...
It's enough to name my php.net account there.
2017-06-22 11:48:43 +01:00
Dmitry Stogov
f25ecdacf8
shutdown_executor() refactoring (reuse opcache fast request shutdown code)
2017-06-22 01:45:28 +03:00
Dmitry Stogov
9fb0e6ffe2
Fixed SKIP code
2017-06-22 01:41:59 +03:00
Dmitry Stogov
c7a75b7112
Fixed few test failures if php.ini contains zend.assertions=-1
2017-06-21 18:50:08 +03:00
Dmitry Stogov
06e41cadd9
We don't need any special handling for CG(unclean_shutdown) at this point, because in case of exit() or die() all destructors must be already called before.
2017-06-21 16:11:50 +03:00
Dmitry Stogov
9b201aec07
Setting CG(unclean_shutdown) in fast shutdown doesn't make a lot of sense (it was set to prevent memory leak messages, but we doesn't check memory leaks in RELEASE build anyway).
2017-06-21 16:09:21 +03:00
Dmitry Stogov
7af5741333
Avoid useless duplication
2017-06-21 12:57:24 +03:00
Dmitry Stogov
c61cea7135
Use persistent heap only for persistent connections.
2017-06-21 11:25:30 +03:00
Dmitry Stogov
687123ebf2
Use request heap.
2017-06-21 11:25:05 +03:00
Dmitry Stogov
c16f954ff1
Clear alocated memory blocks, only if this is really necessary.
2017-06-21 10:37:54 +03:00
Christopher Jones
1dfb63feca
Update NEWS
2017-06-21 16:17:54 +10:00
Christopher Jones
c288ed44a2
Update NEWS
2017-06-21 16:16:20 +10:00
Christopher Jones
5465fbdc48
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:56:09 +10:00
Christopher Jones
5d666d2a02
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:55:54 +10:00
Christopher Jones
b3bd379198
Merge branch 'pull-request/2532' into PHP-7.0
...
* pull-request/2532:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:55:28 +10:00
Christopher Jones
cda87977a5
Add bug #74625 to package.xml
2017-06-21 15:50:51 +10:00
Christopher Jones
b4c5f20c46
Add IN bind case to bug74625.phpt
2017-06-21 15:47:32 +10:00
Ingmar Runge
fa3615f14e
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:44:55 +10:00
Christopher Jones
d561aa7cb1
Merge branch 'PHP-7.1'
2017-06-21 15:04:34 +10:00
Christopher Jones
13347e8a7d
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-21 15:04:03 +10:00
Christopher Jones
3fbbcf7f93
Remove use of obsolete create_function()
2017-06-21 15:02:58 +10:00
Christopher Jones
78e5811c1a
Merge branch 'PHP-7.1'
2017-06-21 14:32:00 +10:00
Christopher Jones
d9feb3c2d0
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-21 14:29:43 +10:00
Christopher Jones
1bdc290017
Update OCI8 version test and package.xml
2017-06-21 14:29:30 +10:00
Stanislav Malyshev
18b6de7a91
Fix bug #73634 - grapheme_strpos illegal memory access
2017-06-20 13:29:57 -07:00
Stanislav Malyshev
14c422a32f
Fix bug #73648 - integer overflow in substr
2017-06-20 13:29:48 -07:00
Dmitry Stogov
7802cf8c1a
Added specialized FE_FETCH_R handler for iteration over array
2017-06-20 23:25:09 +03:00
Dmitry Stogov
31a2198fd9
FE_RESER/FE_FETCH optimisation
2017-06-20 22:26:46 +03:00
Joe Watkins
78bec63ad9
bump versions
2017-06-20 17:34:00 +01:00
Sara Golemon
c18ba686cd
Update NEWS for 7.2.0alpha3
2017-06-20 10:11:41 -04:00
Sara Golemon
3bf3227e16
Update NEWS for PHP 7.2.0alpha2
2017-06-20 10:11:41 -04:00
Anatol Belski
3fc1993cfc
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Split requested size as expected by CreateFileMapping.
2017-06-20 15:45:34 +02:00
Anatol Belski
67f063e3ac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Split requested size as expected by CreateFileMapping.
2017-06-20 15:45:05 +02:00
Anatol Belski
6a854e2740
Split requested size as expected by CreateFileMapping.
...
Thus fixing ext\opcache\tests\log_verbosity_bug.phpt fails on 64-bit.
2017-06-20 15:40:25 +02:00
Nikita Popov
0f8cf3b849
Fix bug #73807
2017-06-20 00:23:44 -07:00