1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00
Commit Graph

126967 Commits

Author SHA1 Message Date
Dmitry Stogov 80d2ade7b5 Merge branch 'PHP-8.1'
* PHP-8.1:
  Tracing JIT: Fixed abstract stack consistency for [QM_]ASSIGN of CV to itself
2021-11-15 23:26:45 +03:00
Dmitry Stogov f65144fb74 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Tracing JIT: Fixed abstract stack consistency for [QM_]ASSIGN of CV to itself
2021-11-15 23:26:36 +03:00
Dmitry Stogov fc35a6b93c Tracing JIT: Fixed abstract stack consistency for [QM_]ASSIGN of CV to itself 2021-11-15 23:25:16 +03:00
Dmitry Stogov 24d0e21570 Merge branch 'PHP-8.1'
* PHP-8.1:
  Tracing JIT: Fixed failure on non-optimized op_arrays (op_array->T may be above ssa->vars_count)
2021-11-15 14:45:42 +03:00
Dmitry Stogov dca0112917 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Tracing JIT: Fixed failure on non-optimized op_arrays (op_array->T may be above ssa->vars_count)
2021-11-15 14:45:33 +03:00
Dmitry Stogov 85066fd88e Tracing JIT: Fixed failure on non-optimized op_arrays (op_array->T may be above ssa->vars_count) 2021-11-15 14:44:01 +03:00
Dmitry Stogov e1c561508d Merge branch 'PHP-8.1'
* PHP-8.1:
  Optimize closures nested in other closures
2021-11-15 13:33:23 +03:00
Dmitry Stogov f313b65acb Optimize closures nested in other closures 2021-11-15 13:32:42 +03:00
Nikita Popov d362caed2c Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix generation of property with class union type
  Replace SKIPIF with EXTENSIONS
2021-11-15 11:05:52 +01:00
Nikita Popov 68ca3879d7 Fix generation of property with class union type
The generated type was missing the UNION bit. Add a ZEND_TYPE_INIT_UNION
macro to hide the implementation details.
2021-11-15 11:04:48 +01:00
Nikita Popov c0441f9377 Replace SKIPIF with EXTENSIONS 2021-11-15 10:45:25 +01:00
Nikita Popov 32ecdb50f8 Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix bug #81618: Correct dns_get_record on FreeBSD
2021-11-15 10:05:03 +01:00
Nikita Popov 822047fbb2 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix bug #81618: Correct dns_get_record on FreeBSD
2021-11-15 10:00:55 +01:00
Nikita Popov 4a2656327d Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Fix bug #81618: Correct dns_get_record on FreeBSD
2021-11-15 10:00:36 +01:00
Matt 45f52285f6 Fix bug #81618: Correct dns_get_record on FreeBSD
Modify dns_get_record to test for records result based on dns_errno to
accommodate modern FreeBSD, for which res_nsearch() does not update
h_errno directly. Add new php_dns_errno macro, and have it consult
statp->res_h_errno when OS has res_nsearch().

Closes GH-7655.
2021-11-15 10:00:07 +01:00
Anton Vasiliev 0993821c16 Remove unused check_flags argument from zend_is_callable_check_func() 2021-11-15 09:41:07 +01:00
Nikita Popov ed26cccdd2 Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix new simplexml test
2021-11-15 09:27:12 +01:00
Nikita Popov 267a7b052c Fix new simplexml test
This interacted unfortunately with the addition of the %0 placeholder
in 8.1. Use %r to escape it.
2021-11-15 09:26:25 +01:00
Dmitry Stogov b976e75def Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Fixed reference-counting inference
2021-11-15 10:40:51 +03:00
Dmitry Stogov fb582f4230 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  JIT: Fixed reference-counting inference
2021-11-15 10:40:35 +03:00
Dmitry Stogov 292d76d8a4 JIT: Fixed reference-counting inference 2021-11-15 10:39:58 +03:00
Stanislav Malyshev 9de4eb9e37 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix #79971: special character is breaking the path in xml function
2021-11-14 23:29:59 -08:00
Stanislav Malyshev 9d74c5b40b Merge branch 'PHP-8.0'
* PHP-8.0:
  Fix #79971: special character is breaking the path in xml function
2021-11-14 23:29:37 -08:00
Stanislav Malyshev 0ef1dfc9f6 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Fix #79971: special character is breaking the path in xml function
2021-11-14 23:29:27 -08:00
Stanislav Malyshev ca87d46a3e Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix #79971: special character is breaking the path in xml function
2021-11-14 23:28:13 -08:00
Christoph M. Becker f15f8fc573 Fix #79971: special character is breaking the path in xml function
The libxml based XML functions accepting a filename actually accept
URIs with possibly percent-encoded characters.  Percent-encoded NUL
bytes lead to truncation, like non-encoded NUL bytes would.  We catch
those, and let the functions fail with a respective warning.
2021-11-14 23:24:33 -08:00
Dmitry Stogov ab5e908017 Fixed compilation warnings in 32-bit build 2021-11-15 10:20:03 +03:00
Jakub Zelenka 14db5fab11 Merge branch 'PHP-8.1' 2021-11-14 20:16:44 +00:00
Jakub Zelenka 48bc4ea758 Merge branch 'PHP-8.0' into PHP-8.1 2021-11-14 20:14:22 +00:00
Jakub Zelenka ec3d4409a4 Merge branch 'PHP-7.4' into PHP-8.0 2021-11-14 20:10:42 +00:00
Jakub Zelenka b2cf9b7ec7 Fix bug #81513 (Future possibility for heap overflow in FPM zlog)
This fixes currently unused code path in zlog that could lead to
the heap overflow in the future.
2021-11-14 20:08:57 +00:00
Dmitry Stogov e6d7210c7c Merge branch 'PHP-8.1'
* PHP-8.1:
  Fixed test
2021-11-12 22:51:11 +03:00
Dmitry Stogov 389b2a4463 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fixed test
2021-11-12 22:49:27 +03:00
Dmitry Stogov 64fde17042 Fixed test 2021-11-12 22:48:50 +03:00
Ben Ramsey 07fcf5e2d6 intl: Update grandfathered and redundant language tags
Closes GH-7641.
2021-11-12 13:43:17 -06:00
Dmitry Stogov 0a3d551c4c Merge branch 'PHP-8.1'
* PHP-8.1:
  Fixed incorrect guard elimination
2021-11-12 21:02:35 +03:00
Dmitry Stogov dc3bd5562f Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fixed incorrect guard elimination
2021-11-12 21:01:44 +03:00
Dmitry Stogov 12d02e6227 Fixed incorrect guard elimination 2021-11-12 21:00:08 +03:00
Nikita Popov e964c91bce Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix leaks for AppArmor based distros in case the profile creation fails
2021-11-12 14:26:16 +01:00
Nikita Popov 4a5d75e3ec Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix leaks for AppArmor based distros in case the profile creation fails
2021-11-12 14:26:03 +01:00
David Carlier b1e6fdefd4 Fix leaks for AppArmor based distros in case the profile creation fails
Closes GH-7646.
2021-11-12 14:25:52 +01:00
Christopher Jones 9cd7f41fac Add oci8.prefetch_lob_size 2021-11-12 17:59:22 +11:00
Dmitry Stogov e96f980fcc Merge branch 'PHP-8.1'
* PHP-8.1:
  JIT: Partially fix handling of exceptions thrown in interrupt handlers
2021-11-11 21:22:54 +03:00
Dmitry Stogov efba3b6cac Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  JIT: Partially fix handling of exceptions thrown in interrupt handlers
2021-11-11 21:22:47 +03:00
Dmitry Stogov 5380b415a2 JIT: Partially fix handling of exceptions thrown in interrupt handlers 2021-11-11 21:14:17 +03:00
Dmitry Stogov 47435d679c Merge branch 'PHP-8.1'
* PHP-8.1:
  Partially fix handling of exceptions thrown in interrupt handlers
2021-11-11 21:02:35 +03:00
Dmitry Stogov 271cbe527c Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Partially fix handling of exceptions thrown in interrupt handlers
2021-11-11 21:01:40 +03:00
Dmitry Stogov fa0b84a06b Partially fix handling of exceptions thrown in interrupt handlers 2021-11-11 20:59:56 +03:00
George Peter Banyard d71d0cf0bb Use zend_string for DBA first/next key handlers 2021-11-11 11:12:41 +00:00
George Peter Banyard 96ff88ec38 Use zend_string for DBA delete handler 2021-11-11 11:12:41 +00:00