Skip to content

Commit e9e2fa4

Browse files
committed
Deprecate ezmlm_hash()
1 parent 39e756e commit e9e2fa4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ext/standard/basic_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3291,7 +3291,7 @@ static const zend_function_entry basic_functions[] = { /* {{{ */
32913291

32923292
/* functions from mail.c */
32933293
PHP_FE(mail, arginfo_mail)
3294-
PHP_FE(ezmlm_hash, arginfo_ezmlm_hash)
3294+
PHP_DEP_FE(ezmlm_hash, arginfo_ezmlm_hash)
32953295

32963296
/* functions from syslog.c */
32973297
#ifdef HAVE_SYSLOG_H

ext/standard/tests/mail/ezmlm_hash_basic.phpt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ var_dump(ezmlm_hash("[email protected]"));
1414

1515
?>
1616
===Done===
17-
--EXPECT--
17+
--EXPECTF--
1818
*** Testing ezmlm_hash() : basic functionality ***
19+
20+
Deprecated: Function ezmlm_hash() is deprecated in %s on line %d
1921
int(1)
22+
23+
Deprecated: Function ezmlm_hash() is deprecated in %s on line %d
2024
int(7)
2125
===Done===

0 commit comments

Comments
 (0)