Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: compsos on October 22, 2011, 09:34:19 AM
-
Hi Jeff
You probably already know this but just in case you have not looked at it.
To solve a Zarafa 7.0.2 problem we updated PHP to 5.3.3 from smeupdates-testing. All is fine except the tftpSQL.php uses the split function which has been discontinued in 5.3
http://php.net/manual/en/function.split.php (http://php.net/manual/en/function.split.php)
The error message is
php: PHP Deprecated: Function split() is deprecated in /opt/sark/generator/tftpSQL.php on line 69
It is this line
$files = split ("\n]",$row['provision']);
The replacement code is at http://www.php.net/manual/en/book.pcre.php (http://www.php.net/manual/en/book.pcre.php)
Let me know if you want some modifications tested.
-
Deprecated functions in 5.3 should still work. It is just an additional warning that it will not work in a future version of php (6?).