1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00

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.
This commit is contained in:
Peter Kokot
2019-06-26 02:36:44 +02:00
parent cc4134c04e
commit 6ef2f04a75

View File

@@ -112,9 +112,7 @@ static zend_module_entry * const php_builtin_extensions[] = {
#if HAVE_CTYPE
,phpext_ctype_ptr
#endif
#if HAVE_DATE
,phpext_date_ptr
#endif
#if HAVE_FTP
,phpext_ftp_ptr
#endif
@@ -153,9 +151,7 @@ static zend_module_entry * const php_builtin_extensions[] = {
#if HAVE_XML
,phpext_xml_ptr
#endif
#if HAVE_SPL
,phpext_spl_ptr
#endif
#if HAVE_XML && HAVE_XMLREADER
,phpext_xmlreader_ptr
#endif