1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Commit Graph

63126 Commits

Author SHA1 Message Date
Christoph M. Becker aef9430e80 Merge branch 'PHP-8.2'
* PHP-8.2:
  Don't skip test on Windows due to missing ext/posix
2022-11-07 15:10:46 +01:00
Christoph M. Becker 3c102469de Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Don't skip test on Windows due to missing ext/posix
2022-11-07 15:07:53 +01:00
Christoph M. Becker 31cdda2440 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Don't skip test on Windows due to missing ext/posix
2022-11-07 15:07:09 +01:00
Christoph M. Becker 4c35d6440b Don't skip test on Windows due to missing ext/posix
ext/posix is not available on Windows, but there is no need to check
for root (i.e. elevated privileges) on this platform, either.

Closes GH-9886.
2022-11-07 15:01:25 +01:00
Dmitry Stogov 5e23cf9381 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix memory leak
2022-11-07 11:10:05 +03:00
Dmitry Stogov de4b502fef Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix memory leak
2022-11-07 11:08:54 +03:00
Dmitry Stogov f31f464cec Fix memory leak
Fixes oss-fuzz #52999
2022-11-07 11:07:58 +03:00
Ilija Tovilo f669a556c9 Merge branch 'PHP-8.2'
* PHP-8.2:
  Really fix test this time
2022-11-03 16:34:13 +01:00
Ilija Tovilo f45c8bd34e Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Really fix test this time
2022-11-03 16:34:03 +01:00
Ilija Tovilo 35167af771 Really fix test this time 2022-11-03 16:33:07 +01:00
Ilija Tovilo 6d176ee87b Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix ext section
2022-11-03 15:20:31 +01:00
Ilija Tovilo 46d693b82f Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix ext section
2022-11-03 15:20:22 +01:00
Ilija Tovilo bca1e1f557 Fix ext section
Ugh, sorry.
2022-11-03 15:19:44 +01:00
Ilija Tovilo eeefdf2f77 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix duplicate SKIPIF section
2022-11-03 15:18:55 +01:00
Ilija Tovilo 4382c092c2 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix duplicate SKIPIF section
2022-11-03 15:18:44 +01:00
Ilija Tovilo d2c663441d Fix duplicate SKIPIF section 2022-11-03 15:18:13 +01:00
Ilija Tovilo 86af42be1b Merge branch 'PHP-8.2'
* PHP-8.2:
  Migrate i386 to GitHub actions
2022-11-03 14:40:35 +01:00
Ilija Tovilo b08901b63f Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Migrate i386 to GitHub actions
2022-11-03 14:37:59 +01:00
Ilija Tovilo ed1e703716 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Migrate i386 to GitHub actions
2022-11-03 14:37:17 +01:00
Ilija Tovilo 75970077b0 Migrate i386 to GitHub actions
Closes GH-9856
2022-11-03 14:34:54 +01:00
Ilija Tovilo 28dd6006c0 Merge branch 'PHP-8.2'
* PHP-8.2:
  Properly deal with internal attributes used on promoted properties.
2022-11-03 14:29:44 +01:00
Martin Schröder fdd088fc81 Properly deal with internal attributes used on promoted properties.
Closes GH-9661
2022-11-03 14:29:22 +01:00
Bob Weinand ef5ed06d3c Merge branch 'PHP-8.2' 2022-11-02 16:55:42 +01:00
Bob Weinand 8e49d7f32f Delay releasing closures until after observer end 2022-11-02 16:55:13 +01:00
Bob Weinand cd7e98a82b Merge branch 'PHP-8.2' 2022-11-02 16:02:38 +01:00
Bob Weinand 4935e10fc8 Fix hardcoded paths in test 2022-11-02 16:02:16 +01:00
George Peter Banyard fb114bf45b Only use FCC for libxml entity loader callback 2022-11-02 14:52:54 +00:00
George Peter Banyard d105958603 Only use FCC for SQLite3 user defined authorizer 2022-11-02 14:52:54 +00:00
George Peter Banyard 37aea43eed Only use FCC for SQLite3 user defined collations 2022-11-02 14:52:54 +00:00
George Peter Banyard 29bb426933 Only use FCC for SQLite3 user defined functions 2022-11-02 14:52:54 +00:00
George Peter Banyard 8d5d3fd035 Refactor SPL Callback filter to only use FCC 2022-11-02 14:52:54 +00:00
Bob Weinand 98646e3e21 Merge branch 'PHP-8.2' 2022-11-02 15:33:17 +01:00
Bob Weinand b30448f48f Fix observing inherited internal functions
Fixes GH-9871
2022-11-02 15:33:04 +01:00
Christoph M. Becker b2199f9559 Merge branch 'PHP-8.2'
* PHP-8.2:
  Don’t reset func in zend_closure_internal_handler
2022-11-02 14:02:34 +01:00
Kamil Tekiela 3508b07bd6 Tidy up buffer preparation in mysqlnd (#9834) 2022-11-02 12:06:03 +00:00
Florian Sowade 8dabbda8bc Don’t reset func in zend_closure_internal_handler
The pointer is used in _zend_observe_fcall_begin().
2022-11-02 11:46:43 +01:00
Derick Rethans dfc760b6bc Updated to version 2022.6 (2022f) 2022-11-02 09:43:41 +00:00
Derick Rethans 605136204e Updated to version 2022.6 (2022f) 2022-11-02 09:43:40 +00:00
Derick Rethans bee083e2b8 Updated to version 2022.6 (2022f) 2022-11-02 09:43:39 +00:00
Derick Rethans 2b5bed904e Updated to version 2022.6 (2022f) 2022-11-02 09:43:37 +00:00
George Peter Banyard c0f2727e55 Use zend_call_known_function() in ext-mysqli instead of building FCI/FCC 2022-10-31 22:33:39 +00:00
George Peter Banyard 4f8d10791b Use zend_call_known_function() in ext-pgsql instead of building FCI/FCC 2022-10-31 22:33:24 +00:00
David CARLIER 4c4e72f149 socket add socket_atmark support.
checks whether the socket belongs to the out-of-band mark, thus allows to be
 processed accordingly (using the MSG_OOB flag on send/recv).

Closes #9846.
2022-10-31 16:38:18 +00:00
Tim Düsterhus 5989953efb Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP (#9839)
2022-10-28 16:53:18 +02:00
Tim Düsterhus 7f0b228f48 Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP (#9839)
* Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP

As some left-over comments indicated:

> Legacy mode deliberately not inside php_mt_rand_range()
> to prevent other functions being affected

The broken scaler was only used for `php_mt_rand_common()`, not
`php_mt_rand_range()`. The former is only used for `mt_rand()`, whereas the
latter is used for `array_rand()` and others.

With the refactoring for the introduction of ext/random `php_mt_rand_common()`
and `php_mt_rand_range()` were accidentally unified, thus introducing a
behavioral change that was reported in FakerPHP/Faker#528.

This commit moves the checks for `MT_RAND_PHP` from the general-purpose
`range()` function back into `php_mt_rand_common()` and also into
`Randomizer::getInt()` for drop-in compatibility with `mt_rand()`.

* [ci skip] NEWS for `MT_RAND_PHP` compatibility
2022-10-28 16:52:43 +02:00
Ilija Tovilo edd6fd7cad [skip ci] Mark posix_getrlimit test as un-repeatable
The test assumes that the hard-limit is unlimited at script entrance
which doesn't hold on the second run.
2022-10-28 10:48:11 +02:00
Ilija Tovilo c3b9b0f9a7 Fix stub type info for posix_getrlimit 2022-10-28 10:44:08 +02:00
Kamil Tekiela cd8beb8d59 Merge branch 'PHP-8.2'
* PHP-8.2:
  Add NEWS entry for #9841
  Add a temporary fix for insufficient buffer size in mysqlnd (#9835)
  mysqli_query throws warning despite using silenced error mode (#9842)
2022-10-27 18:35:30 +01:00
Kamil Tekiela 646b8f6b5c Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Add NEWS entry for #9841
  Add a temporary fix for insufficient buffer size in mysqlnd (#9835)
  mysqli_query throws warning despite using silenced error mode (#9842)
2022-10-27 18:34:14 +01:00
Kamil Tekiela ec1f58c871 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Add NEWS entry for #9841
  Add a temporary fix for insufficient buffer size in mysqlnd (#9835)
  mysqli_query throws warning despite using silenced error mode (#9842)
2022-10-27 18:31:38 +01:00