Branch: master
-
Simplify and fix php-cgi detection
Make it work for installed PHP binaries.
-
* PHP-7.4: Fixed bug #79741
-
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fixed bug #79741
-
-
Better leak fix for cgi -s / -w
We also need to go through request shutdown. The naming is a bit confusing, but it's fine to go through fastcgi_request_done even if not using fastcgi. Whether we loop or not is checked separately.
-
Cache __unserialize() instead of unserialize()
We should use these cache slots for the new object serialization mechanism rather than the old one.
-
* PHP-7.4: Fixed bug #79740
-
-
-
Fix uninitialized reads in min/max
We need to use the unstable comparison function here, the fallback order is not initialized in this context.
-
Clear last error before shutting down memory manager
The last error is allocated using ZMM, make sure it's cleared beforehand. It would probably be better to allocate it persistently outside of requests.
-
-
-
-
-
-
-
-
-
-
-
Don't include trailing newline in comment token
Don't include a trailing newline in T_COMMENT tokens, instead leave it for a following T_WHITESPACE token. The newline does not belong to the comment logically, and this makes for an ugly special case, as other tokens do not include trailing newlines. Whitespace-sensitive tooling will want to either forward or backward emulate this change. Closes GH-5182.
-
Make user-exposed sorts stable, by storing the position of elements in the original array, and using those positions as a fallback comparison criterion. The base sort is still hybrid q/insert. The use of true/false comparison functions is deprecated (but still supported) and should be replaced by -1/0/1 comparison functions, driven by the <=> operator. RFC: https://wiki.php.net/rfc/stable_sorting Closes GH-5236.
-
Increase timeout on sanitizer job
This is starting to hit the limit. Let it run for 3:30 hours.
-
Don't use iterator_funcs_ptr if it is null
This avoids ubsan warnings. Alternatively we could always initialize iterator_funcs_ptr for aggregates, instead of doing so only for non-internal ones.
-
-
Correct comment in plain_wrapper.c (refers to microseconds, not milli…
alexdowad committedApr 24, 2020 …seconds)
-
Update UPGRADING.INTERNALS re: removed --disable-inline-optimization …
…switch This build configuration switch was removed in 3a19726.
-
Sort extensions alphabetically
This makes it easier to compare mime data from different sources.
-
Generate tabs in generate_mime_type_map.php
The PHP file is space indented, but we need the C file to be tab indented.
-
Userland classes that implement Traversable must do so either through Iterator or IteratorAggregate. The same requirement does not exist for internal classes: They can implement the internal get_iterator mechanism, without exposing either the Iterator or IteratorAggregate APIs. This makes them usable in get_iterator(), but incompatible with any Iterator based APIs. A lot of internal classes do this, because exposing the userland APIs is simply a lot of work. This patch alleviates this issue by providing a generic InternalIterator class, which acts as an adapater between get_iterator and Iterator, and can be easily used by many internal classes. At the same time, we extend the requirement that Traversable implies Iterator or IteratorAggregate to internal classes as well. Closes GH-5216.