| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
* PHP-7.3:
Fix build - no model field anymore
|
|
|
|
|
|
| |
* PHP-7.3:
Fix test
Fix bug #78793
|
|
|
|
|
|
|
|
|
|
| |
* PHP-7.3:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a null byte on Windows
Fix #78863: DirectoryIterator class silently truncates after a null byte
Fix #78943: mail() may release string with refcount==1 twice
|
| |
|
| |
|
| |
|
|
|
|
| |
Any existing tests are going to be written under this assumption...
|
| |
|
|
|
|
|
|
|
|
|
| |
GCC complained about potentially uninitialized __orig_bailout,
even though the variable has an initializer. This warning was
quite persistent, I was only able to avoid it by using a separate
function.
Am I missing something?
|
|
|
|
|
|
|
|
|
|
|
|
| |
Formerly, the error message was like:
| Can't preload unlinked class MyException: Internal parent (Windows
| only limitation)Exception
Now it's like:
| Can't preload unlinked class MyException: Windows can't link to
| internal parent Exception
|
|
|
|
| |
Related to bug #78918.
|
|
|
|
|
|
|
|
|
| |
During preloading, check that all classes that have been included
as part of the preload script itself (rather than through opcache_compile_file)
can actually be preloaded, i.e. satisfy Windows restrictions, have
resolved initializers and resolved property types. When resolving
initializers and property types, also autoload additional classes.
Because of this, the resolution runs in a loop.
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.3:
Fix DCE with FE_FETCH
|
| |
| |
| |
| | |
For now, don't treat FE_FETCH op2 as no-val use. See GH-4982.
|
| |
| |
| |
| |
| |
| |
| | |
We provide `NumberFormatter::CURRENCY_ACCOUNTING` to wrap
`UNUM_CURRENCY_ACCOUNTING `[1].
[1] <https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae97cdd7ed612d07d251021c076efb1c5>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
without MSHUTDOWN callback.
Extensions with MSHUTDOWN should use UNREGISTER_INI_ENTRIES().
|
| |
| |
| |
| | |
static. IS_IMPLICIT_ABSTRACT is not longer used)
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.3:
Extend CURLFile to support streams
Use curl_mime_*() functions if available
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Due to former restrictions of the libcurl API, curl multipart/formdata
file uploads supported only proper files. However, as of curl 7.56.0
the new `curl_mime_*()` API is available (and already supported by
PHP[1]), which allows us to support arbitrary *seekable* streams, which
is generally desirable, and particularly resolves issues with the
transparent Unicode and long part support on Windows (see bug #77711).
Note that older curl versions are still supported, but CURLFile is
still restricted to proper files in this case.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=a83b68ba56714bfa06737a61af795460caa4a105>
(cherry picked from commit c68dc6b5e37e74d89e0a387079139c054c8faa81)
|
| |
| |
| |
| |
| |
| |
| | |
As of curl 7.56.0, `curl_formadd()` is deprecated in favor of
`curl_mime_*()`, so we use the latter if available.
(cherry picked from commit a83b68ba56714bfa06737a61af795460caa4a105)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we change back the bucket key on a class linking failure,
make sure to reload the bucket pointer, as the class table may
have been reallocated in the meantime.
Also remove a bogus bucket key change in anon class registration:
We don't actually rename the class in this case anymore, the RTD
key is already the final name.
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We already changed the behavior for __set() in f1848a4. However, it
seems that this is also a problem for all the other property magic,
see bug #78904.
This commit makes the behavior of all the property magic consistent:
Magic will not be triggered for uninitialized typed properties, only
explicitly unset() ones. This brings behavior more in line how
non-typed properties behave and avoids WTF.
Closes GH-4974.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #78923: Artifacts when convoluting image with transparency
|
| |
| |
| |
| |
| |
| | |
We have to properly initialize `pxl` before using it.
Fix ported from <https://github.com/libgd/libgd/pull/559>.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix constant evaluation of && and ||
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The "return" in the for loop should have been a break on the switch,
otherwise the result is just ignored... but because it prevents
evaluation of the other operand, it also violates the invariant that
everything has been constant evaluated, resulting in an assertion
failure.
The for loop isn't correct in any case though, because it's not legal
to determine the result based on just the second operand, as the
first one may have a side-effect that cannot be optimized away.
|
| |
| |
| |
| | |
For the love of god, don't write tests based on mt_rand!
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After taking a more detailed look at our commonly failing timeout
tests... turns out that most of them are useless as written and
don't test what they're supposed to.
This PR has a couple of changes:
* Tests for timeout in while/for/foreach should just have the loop
as an infinite loop. Calling into something like busy_wait means
that we just end up always testing whatever busy_wait does.
* Tests for timeouts in calls need to be based on something like
sleep, otherwise we'd have to introduce a loop, and we'd end up
testing timeout of the looping structure instead. Using sleep only
works on Windows, because that's the only system where sleep counts
towards the timeout. As such, many of those tests are now Windows only.
* Removed some tests where I don't see a good way to test what they're
supposed to test. E.g. how can we test a timeout in eval() specifically?
The shutdown function tests are marked as XFAIL, as we are currently
missing a timeout check in call_user_function. I believe that's a
legitimate issue.
Closes GH-4969.
|
| |
| |
| |
| |
| |
| |
| |
| | |
First, make sure the tests are skipped if we connect via unix
socket, as we can't use SSL in that case.
Second, use a cipher that is not blacklisted in current MySQL
versions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem is newer binutils will no longer default to --copy-dt-needed-entries but use --no-copy-dt-needed-entries instead. So all libraries needed *must* be provided.
Workarounds (either one works)
1) Add "-Wl,--copy-dt-needed-entries" to LDFLAGS to bring back the old behavior of the linker
2) Add "-lz" to list of libraries to be added
In "ext/mysqlnd/mysqlnd_protocol_frame_codec.c" when the "zlib.h" header is included should also trigger adding '-lz' to the list of libraries.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix AST printing of nullable builtin types
|
| |
| |
| |
| | |
Fixes oss-fuzz #19109.
|
| |
| |
| |
| | |
Related to bug #78881.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Fixes bug #78897.
[ci skip]
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix print_r return types in opcache
|
| |
| |
| |
| |
| |
| |
| | |
https://www.php.net/print_r
> When the return parameter is TRUE, this function will return a string.
> Otherwise, the return value is TRUE.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Next is 7.3.14
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
next is 7.2.27
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.2:
next is 7.2.27
|