summaryrefslogtreecommitdiff
path: root/ext/standard
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #74148 (ReflectionFunction incorrectly reports the number of ↵Xinchen Hui2017-02-231-0/+1
| | | | arguments)
* Fixed bug #74105Benjamin Robin2017-02-171-41/+45
| | | | | If getrandom syscall is unavailable (ENOSYS), try to fallback on /dev/urandom.
* Fix memory errors in url rewriterNikita Popov2017-02-162-234/+179
| | | | Strings aren't terminated here...
* Add json dep to testNikita Popov2017-02-161-0/+4
|
* Fixed bug #74090 stream_get_contents maxlength>-1 returns empty stringAnatol Belski2017-02-151-0/+22
|
* Fixed bug #73118Adam Saponara2017-02-123-46/+62
|
* Fix detection of isnan and isinfChristian Schmidt2017-02-082-7/+36
| | | | | | The isnan() and isinf() are C99 macros not functions. Also fix is_infinite(-INF) in case isinf is not defined.
* Revert "Fix detection of isnan and isinf"Nikita Popov2017-02-062-34/+6
| | | | This reverts commit 9ea0949f43959ff0cf519e7a10ef9de7a538cde3.
* Fix detection of isnan and isinfChristian Schmidt2017-02-052-6/+34
| | | | | | The isnan() and isinf() are C99 macros not functions. Also fix is_infinite(-INF) in case isinf is not defined.
* fix test for 32bits (int -> float)Remi Collet2017-02-011-2/+2
|
* Fixed #73973 - debug_zval_dump() assertion error for resource consts with ↵andrewnester2017-01-261-0/+9
| | | | --enable-debug
* Fixed bug #73965 DTrace reported as enabled when disabledRemi Collet2017-01-201-1/+1
|
* DNS CAA record type implementation and tests for ↵Marcus Bointon2017-01-182-2/+59
| | | | https://bugs.php.net/bug.php?id=73850
* Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2017-01-163-0/+120
|\
| * Add additional serialize tests for fixed bugsNikita Popov2017-01-163-0/+120
| | | | | | | | | | These have been fixed as a side-effect of the delayed __wakeup patch.
* | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2017-01-101-5/+5
|\ \ | |/
| * Fix glob-wrapper.phpt to not fail in WindowsMitch Hagstrand2017-01-101-5/+5
| |
* | pull-request/1807:marcosptf2017-01-101-0/+202
| | | | | | | | test for dns_get_record
* | Merge branch 'PHP-5.6' into PHP-7.0Sara Golemon2017-01-091-0/+35
|\ \ | |/ | | | | | | * PHP-5.6: Fix open_basedir check for glob:// opendir wrapper
| * Fix open_basedir check for glob:// opendir wrapperSara Golemon2017-01-091-0/+35
| | | | | | | | | | | | | | | | php_check_open_basedir() expects a local filesystem path, but we're handing it a `glob://...` URI instead. Move the check to after the path trim so that we're checking a meaningful pathspec.
| * add skip when json not loadedRemi Collet2017-01-061-0/+2
| |
* | Un-XFAIL serialization testNikita Popov2017-01-101-2/+0
| |
* | Fix check for linux getrandom syscallLeigh2017-01-092-6/+1
| |
* | Fixed bug #72979 money_format stores wrong length on AIXJoe Watkins2017-01-091-0/+8
| |
* | update ip2long_varation2 test to skip for AIX, see bug #72973Joe Watkins2017-01-091-0/+1
| |
* | Fixed #72974 imap is undefined service on AIXJoe Watkins2017-01-091-0/+9
| |
* | Fix OOB read introduced by previous commitNikita Popov2017-01-081-4/+3
| | | | | | | | Ooops...
* | http_fopen_wrapper.c - Handle HTTP headers with varying white spaceRowan Collins2017-01-074-15/+208
| | | | | | | | | | | | | | | | | | | | | | The stream handler assumed all HTTP headers contained exactly one space, but the standard says there may be zero or more. Should fix Bug #47021, and any other edge cases caused by a web server sending unusual spacing, e.g. the MIME type discovered from Content-Type: can no longer contain leading whitespace. We strip trailing whitespace from the headers added into $http_response_header as well.
* | Implement github PR #1736Anatol Belski2017-01-072-0/+7
| | | | | | | | This fixes leak issues on *BSD systems, as described in the PR.
* | add stream_socket_sendto test from PR #1804Joe Watkins2017-01-061-0/+58
| |
* | Merge branch 'pull-request/1588' into PHP-7.0Joe Watkins2017-01-062-7/+52
|\ \ | | | | | | | | | | | | * pull-request/1588: Fixed #69442 closing of fd incorrect when PTS enabled
| * | Implemented fix for incorrect filedescriptor closingJoshua Thijssen2015-10-212-7/+52
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2017-01-053-517/+590
|\ \ \ | | |/ | |/|
| * | Add tests for delayed __wakeup()Nikita Popov2017-01-057-0/+263
| | |
| * | Implement delayed __wakeupNikita Popov2017-01-052-535/+622
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-04126-126/+126
| | |
* | | Fix buildNikita Popov2017-01-031-2/+2
| | |
* | | Merge branch 'pull-request/1905'Joe Watkins2017-01-033-11/+519
| | | | | | | | | | | | | | | * pull-request/1905: pack()/unpack() for Big Endian float/double and Little Endian float/double
* | | Use correct string release functionStanislav Malyshev2017-01-022-2/+2
| | |
* | | Fix error reportingStanislav Malyshev2017-01-022-4/+4
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2017-01-023-510/+527
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #73737 FPE when parsing a tag format Fix bug #73773 - Seg fault when loading hostile phar Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data() Fix bug #73768 - Memory corruption when loading hostile phar Fix int overflows in phar (bug #73764)
| * | Merge branch 'PHP-5.6.30' into PHP-5.6Stanislav Malyshev2017-01-023-506/+523
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6.30: Fix bug #73737 FPE when parsing a tag format Fix bug #73773 - Seg fault when loading hostile phar Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data() Fix bug #73768 - Memory corruption when loading hostile phar Fix int overflows in phar (bug #73764)
| | * | Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()Stanislav Malyshev2016-12-303-36/+76
| | | |
* | | | Fix early freeNikita Popov2017-01-031-1/+1
| | | |
* | | | Optimize get_browser() using prefix and contains checksNikita Popov2017-01-021-63/+185
| | | | | | | | | | | | | | | | | | | | Avoid expensive regex compilations by checking for prefix and contained segments beforehand.
* | | | Optimize browscap loading and representationNikita Popov2017-01-021-132/+249
| | | | | | | | | | | | | | | | | | | | | | | | Avoid many string duplications, use interning (browscap-local, of course), reduce pattern size, use more compact key-value representation, build result array only on demand.
* | | | Add get_browser() test against larger corpusNikita Popov2017-01-023-0/+14368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing corpus provided by Anatol against current browscap.ini lite. About 30% of all agents are not recognized by this browscap.ini, but this should give us decent coverage.
* | | | Fixed bug #73154Nikita Popov2017-01-012-6/+26
| | | | | | | | | | | | | | | | | | | | The object that is being serialized may be destroyed during the execution of __sleep(), so operate on a copy instead.
* | | | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2017-01-013-480/+537
|\ \ \ \ | |/ / /
| * | | FIx bug #70213Nikita Popov2017-01-013-474/+531
| |/ /