Skip to content

Commit

Permalink
Merge branch 'PHP-8.3' into PHP-8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed Feb 26, 2025
2 parents 6a3ddc2 + 0e5a751 commit 5585ad6
Show file tree
Hide file tree
Showing 106 changed files with 669 additions and 21 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ wrapper to bridge the upstream PHP source code with the CMake-based build system
in this repository located at the cmake directory, streamlining the integration
process.
Basic usage:
Usage:
cmake -B <build-dir> [<options>...]
Expand Down
7 changes: 7 additions & 0 deletions cmake/Zend/cmake/CheckFloatPrecision.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ See: https://wiki.php.net/rfc/rounding
* `HAVE_FPU_INLINE_ASM_X86`
Whether FPU control word can be manipulated by inline assembler.
## Usage
```cmake
# CMakeLists.txt
include(cmake/CheckFloatPrecision.cmake)
```
#]=============================================================================]

include_guard(GLOBAL)
Expand Down
7 changes: 7 additions & 0 deletions cmake/Zend/cmake/CheckGlobalRegisterVariables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ See also: [GCC global register variables](https://gcc.gnu.org/onlinedocs/gcc/Glo
* `HAVE_GCC_GLOBAL_REGS`
Whether global register variables are supported.
## Usage
```cmake
# CMakeLists.txt
include(cmake/CheckGlobalRegisterVariables.cmake)
```
#]=============================================================================]

include_guard(GLOBAL)
Expand Down
7 changes: 7 additions & 0 deletions cmake/Zend/cmake/CheckMMAlignment.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ also does the logarithmic test.
* `ZEND_MM_ALIGNMENT`
* `ZEND_MM_ALIGNMENT_LOG2`
* `ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT`
## Usage
```cmake
# CMakeLists.txt
include(cmake/CheckMMAlignment.cmake)
```
#]=============================================================================]

include_guard(GLOBAL)
Expand Down
7 changes: 7 additions & 0 deletions cmake/Zend/cmake/CheckStackDirection.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Check whether the stack grows downwards. Assumes contiguous stack.
* `ZEND_CHECK_STACK_LIMIT`
Whether checking the stack limit is supported.
## Usage
```cmake
# CMakeLists.txt
include(cmake/CheckStackDirection.cmake)
```
#]=============================================================================]

include_guard(GLOBAL)
Expand Down
7 changes: 7 additions & 0 deletions cmake/Zend/cmake/CheckStrerrorR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ version.
Whether `strerror_r()` returns a `char *` message, otherwise it returns an
`int` error number.
## Usage
```cmake
# CMakeLists.txt
include(cmake/CheckStrerrorR.cmake)
```
#]=============================================================================]

include_guard(GLOBAL)
Expand Down
7 changes: 7 additions & 0 deletions cmake/Zend/cmake/Fibers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ platform, otherwise it checks if ucontext can be used.
Interface library using Boost fiber assembly files and compile options if
available.
## Usage
```cmake
# CMakeLists.txt
include(cmake/Fibers.cmake)
```
#]=============================================================================]

include_guard(GLOBAL)
Expand Down
7 changes: 7 additions & 0 deletions cmake/Zend/cmake/MaxExecutionTimers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ Check whether to enable Zend max execution timers.
Includes possible additional library to be linked for using `timer_create()`
and a compile definition.
## Usage
```cmake
# CMakeLists.txt
include(cmake/MaxExecutionTimers.cmake)
```
#]=============================================================================]

include_guard(GLOBAL)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindACL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ Module defines the following `IMPORTED` target(s):
* Set `ACL_USE_USER_GROUP` to `TRUE` before calling `find_package(ACL)` to also
check if the ACL library supports `ACL_USER` and `ACL_GROUP`. For example,
macOS doesn't have support for user/group.
## Usage
```cmake
# CMakeLists.txt
find_package(ACL)
```
#]=============================================================================]

include(CheckSourceCompiles)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindApache.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ Module defines the following `IMPORTED` target(s):
* `Apache_INCLUDE_DIR` - Directory containing package library headers.
* `Apache_APR_INCLUDE_DIR` - Directory containing `apr` library headers.
* `Apache_APR_LIBRARY` - The path to the `apr` library.
## Usage
```cmake
# CMakeLists.txt
find_package(Apache)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindAppArmor.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `AppArmor_INCLUDE_DIR` - Directory containing package library headers.
* `AppArmor_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(AppArmor)
```
#]=============================================================================]

include(CheckLibraryExists)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindArgon2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `Argon2_INCLUDE_DIR` - Directory containing package library headers.
* `Argon2_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Argon2)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindAtomic.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Module defines the following `IMPORTED` target(s):
* `Atomic_FOUND` - Whether atomic instructions are available.
* `Atomic_LIBRARIES` - A list of libraries needed in order to use atomic
functionality.
## Usage
```cmake
# CMakeLists.txt
find_package(Atomic)
```
#]=============================================================================]

include(CheckSourceCompiles)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindBISON.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ Find `bison`, the general-purpose parser generator, command-line executable.
This module extends the CMake `FindBISON` module.
See: https://cmake.org/cmake/help/latest/module/FindBISON.html
## Usage
```cmake
# CMakeLists.txt
find_package(BISON)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindBerkeleyDB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ Module defines the following `IMPORTED` target(s):
* Set `BerkeleyDB_USE_DB1` to `TRUE` before calling `find_package(BerkeleyDB)`
to enable the Berkeley DB 1.x support/emulation.
## Usage
```cmake
# CMakeLists.txt
find_package(BerkeleyDB)
```
#]=============================================================================]

include(CheckSourceCompiles)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindCapstone.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `Capstone_INCLUDE_DIR` - Directory containing package library headers.
* `Capstone_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Capstone)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindCcache.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Find the Ccache compiler cache tool for faster compilation times.
* The `CCACHE_DISABLE` regular or environment variable which disables ccache and
doesn't adjust the C and CXX launcher. For more info see Ccache documentation.
## Usage
```cmake
# CMakeLists.txt
find_package(Ccache)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindCdb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `Cdb_INCLUDE_DIR` - Directory containing package library headers.
* `Cdb_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Cdb)
```
#]=============================================================================]

include(CheckLibraryExists)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindCrypt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ Module defines the following `IMPORTED` target(s):
* `Crypt_IS_BUILT_IN` - Whether crypt is a part of the C library.
* `Crypt_INCLUDE_DIR` - Directory containing package library headers.
* `Crypt_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Crypt)
```
#]=============================================================================]

include(CheckSymbolExists)
Expand Down
2 changes: 1 addition & 1 deletion cmake/cmake/modules/FindDTrace.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Generates DTrace header `<header>` and creates `INTERFACE` library
interpreted as being relative to the current source directory.
* `INCLUDES` - A list of include directories for appending to DTrace object.
## Basic usage
## Usage
```cmake
# CMakeLists.txt
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindDbm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ Module defines the following `IMPORTED` target(s):
* `Dbm_INCLUDE_DIR` - Directory containing package library headers.
* `Dbm_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Dbm)
```
#]=============================================================================]

include(CheckLibraryExists)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindDmalloc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `Dmalloc_INCLUDE_DIR` - Directory containing package library headers.
* `Dmalloc_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Dmalloc)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindEditline.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `Editline_INCLUDE_DIR` - Directory containing package library headers.
* `Editline_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Editline)
```
#]=============================================================================]

include(CheckLibraryExists)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindEnchant.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ Module defines the following `IMPORTED` target(s):
* `Enchant_INCLUDE_DIR` - Directory containing package library headers.
* `Enchant_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(Enchant)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindFFI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `FFI_INCLUDE_DIR` - Directory containing package library headers.
* `FFI_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(FFI)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindFirebird.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ Module defines the following `IMPORTED` target(s):
* `Firebird_LIBRARY` - The path to the package library.
* `Firebird_CONFIG_EXECUTABLE` - Path to the fb_config Firebird command-line
utility.
## Usage
```cmake
# CMakeLists.txt
find_package(Firebird)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindFreeTDS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ Module defines the following `IMPORTED` target(s):
* `FreeTDS_INCLUDE_DIR` - Directory containing package library headers.
* `FreeTDS_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(FreeTDS)
```
#]=============================================================================]

include(CheckLibraryExists)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindGD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `GD_INCLUDE_DIR` - Directory containing package library headers.
* `GD_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(GD)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
7 changes: 7 additions & 0 deletions cmake/cmake/modules/FindGMP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Module defines the following `IMPORTED` target(s):
* `GMP_INCLUDE_DIR` - Directory containing package library headers.
* `GMP_LIBRARY` - The path to the package library.
## Usage
```cmake
# CMakeLists.txt
find_package(GMP)
```
#]=============================================================================]

include(FeatureSummary)
Expand Down
Loading

0 comments on commit 5585ad6

Please sign in to comment.