prabudt / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

Function split() is deprecated #148

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. show your sample into last php environment

What is the expected output? What do you see instead?

Deprecated: Function split() is deprecated in 
/var/www/html/prova/php-excel-reader-2.21/excel_reader2.php on line 845

Deprecated: Assigning the return value of new by reference is deprecated in 
/var/www/html/prova/php-excel-reader-2.21/excel_reader2.php on line 917

Please provide any additional information below.

Original issue reported on code.google.com by giancalb...@gmail.com on 23 May 2012 at 1:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Only you can do is change the function split() with explode() and that's it!! 
attach my .php file

Original comment by scullyi...@gmail.com on 13 Sep 2012 at 2:45

Attachments:

GoogleCodeExporter commented 8 years ago
to solve line 845 (and other with split like):   $parts = split(";",$format); 
Split it's been Deprecated use instead "explode": $parts = explode(";",$format);

Original comment by gleenfer...@gmail.com on 24 Dec 2012 at 7:12