Skip to content

Commit 6ef2f04

Browse files
committed
Remove unused HAVE_DATE and HAVE_SPL symbols
These two are never defined anymore since PHP 7.4 and can be considered to have always available date and hash extensions.
1 parent cc4134c commit 6ef2f04

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

main/internal_functions_win32.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ static zend_module_entry * const php_builtin_extensions[] = {
112112
#if HAVE_CTYPE
113113
,phpext_ctype_ptr
114114
#endif
115-
#if HAVE_DATE
116115
,phpext_date_ptr
117-
#endif
118116
#if HAVE_FTP
119117
,phpext_ftp_ptr
120118
#endif
@@ -153,9 +151,7 @@ static zend_module_entry * const php_builtin_extensions[] = {
153151
#if HAVE_XML
154152
,phpext_xml_ptr
155153
#endif
156-
#if HAVE_SPL
157154
,phpext_spl_ptr
158-
#endif
159155
#if HAVE_XML && HAVE_XMLREADER
160156
,phpext_xmlreader_ptr
161157
#endif

0 commit comments

Comments
 (0)