Re: cvs: php-src /ext/standard dl.c
| From: | Jan Lehnardt | Date: | Sat, 14 Feb 2004 17:54:31 +0000 |
| Subject: | Re: cvs: php-src /ext/standard dl.c | ||
| References: | 1 | Groups: | php.cvs php.internals |
| Request: | Send a blank email to internals+get-7827@lists.php.net to get a copy of this message | ||
Hi,
On 11 Feb 2004, at 12:46, Zeev Suraski wrote:
+ zend_error(E_STRICT, "dl() is deprecated - use extension= in your php.ini");unrelated to the ongoing discussion, wouldn't it make sense to show the module's name in the error message? Something like:
zend_error(E_STRICT, "dl() is deprecated - use 'extension=%s' in your php.ini", Z_STRVAL_PP(file));Would print out: Strict Standards: dl() is deprecated - use 'extension=/path/to/foo.so' in your php.ini in /path/to/file.php on line xy Note: I also added '' but that is just a matter of taste I guess. Users might copy the single quotes into the php.ini and complain about errors. Regards, Jan