[ postfixadmin-Bugs-2818862 ] php >= 5.3: some functions are deprecated.
Brought to you by:
christian_boltz,
gingerdog
|
From: SourceForge.net <no...@so...> - 2009-07-19 12:35:08
|
Bugs item #2818862, was opened at 2009-07-09 06:27 Message generated for change (Comment added) made by gingerdog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2818862&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: v 2.3 >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: Ryow (ryowsuzuki) Assigned to: Nobody/Anonymous (nobody) Summary: php >= 5.3: some functions are deprecated. Initial Comment: I equipped postfixadmin 2.3.5rc with php 5.3 and encountered some errors like this: Deprecated: Function ereg() is deprecated in /home/httpd/vhosts/p-macle.com/postfixadmin/functions.inc.php on line 19 After php5.3, ereg() is deprecated. (I fixed this code with strcmp()). Other deprecated functions are listed at the URL below: http://us2.php.net/manual/en/migration53.deprecated.php Would these future-deprecated functions be replaced to the compatible ones with the old php in the future release? ---------------------------------------------------------------------- >Comment By: GingerDog (gingerdog) Date: 2009-07-19 12:35 Message: I believe I've made all the necessary changes to the code -at least there are no longer any ereg calls. ---------------------------------------------------------------------- Comment By: Ryow (ryowsuzuki) Date: 2009-07-10 02:54 Message: Thank you gingerdog for suggesting me make a patch. This is my first time to make a patch... but I made it anyway and uploaded. I don't know if it works good or not, though I tested it myself and worked fine. Please try it. ---------------------------------------------------------------------- Comment By: GingerDog (gingerdog) Date: 2009-07-09 19:57 Message: Hi, Yes, removing ereg should be no hardship.I'd appreciate a patch if possible :-) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2818862&group_id=191583 |