#35982 [NEW]: there are no functions mail() and ezmlm_hash()
| From: | eddi at to-grip dot de | Date: | Thu, 12 Jan 2006 18:00:09 +0000 |
| Subject: | #35982 [NEW]: there are no functions mail() and ezmlm_hash() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-91804@lists.php.net to get a copy of this message | ||
From: eddi at to-grip dot de
Operating system: GNU/Linux (gentoo) 2.6.15
PHP version: 5CVS-2006-01-12 (snap)
PHP Bug Type: Mail related
Bug description: there are no functions mail() and ezmlm_hash()
Description:
------------
SAPI:
CLI
Apache 2.0 Handler
Version:
php5.1-200601121530 (5.1.3RC2)
5.1.2
The functions mail() and ezmlm_hash() are not defined.
Reproduce code:
---------------
<?php
mail();
?>
Fatal error: Call to undefined function mail() in
/opt/htdocs/default/test.php on line 2
<?php
ezmlm_hash();
?>
Fatal error: Call to undefined function ezmlm_hash() in
/opt/htdocs/default/test.php on line 2
Expected result:
----------------
SAPIs should response:
<?php
mail();
?>
Warning: mail() expects at least 3 parameters, 0 given in Command line
code on line 2
<?php
ezmlm_hash();
?>
Warning:ezmlm_hash(); expects at least 3 parameters, 0 given in Command
line code on line 2
--
Edit bug report at http://bugs.php.net/?id=35982&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35982&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35982&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35982&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35982&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35982&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35982&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35982&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35982&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35982&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35982&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35982&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35982&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35982&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35982&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35982&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35982&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35982&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35982&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35982&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35982&r=mysqlcfg