Skip to content

Commit 649fafb

Browse files
authored
Remove HAVE_JSON symbol (#13277)
The json extension is always available as of php 8.0. HAVE_JSON was also never defined for Windows builds.
1 parent 95f7335 commit 649fafb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

UPGRADING.INTERNALS

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ PHP 8.4 INTERNALS UPGRADE NOTES
5353
- HAVE_ODBC2 symbol has been removed in ext/odbc.
5454
- Removed linking with obsolete dnet_stub library in ext/pdo_dblib.
5555
- Removed checking and linking with obsolete libbind for some functions.
56+
- Symbol HAVE_JSON has been removed (ext/json is always available since PHP
57+
8.0).
5658

5759
c. Windows build system changes
5860
- Added Bison flag '-Wall' when generating lexer files as done in *nix build

ext/json/config.m4

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
dnl HAVE_JSON is always 1 as of php 8.0 and the constant will be removed in the future.
2-
dnl Note that HAVE_JSON was never defined for Windows builds (see config.w32)
3-
AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
41
PHP_NEW_EXTENSION(json,
52
json.c \
63
json_encoder.c \

0 commit comments

Comments
 (0)