PHP Classes

Deprecated strpos

Recommend this page to a friend!

      PHP Excel to HTML  >  All threads  >  Deprecated strpos  >  (Un) Subscribe thread alerts  
Subject:Deprecated strpos
Summary:Remove deprecated functions please
Messages:4
Author:Massimo Peroncelli
Date:2025-01-05 05:47:15
 

  1. Deprecated strpos   Reply   Report abuse  
Picture of Massimo Peroncelli Massimo Peroncelli - 2025-01-05 05:47:15
PHP Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /......../excelphp.php on line 2115

  2. Re: Deprecated strpos   Reply   Report abuse  
Picture of Timothy Edwards Timothy Edwards - 2025-01-10 09:22:42 - In reply to message 1 from Massimo Peroncelli
Thanks for the info, I hadn't realised that strpos was now depreciated. Will look into replacing them in the next update.

A shame that I did not see your message earlier, as I have just posted an update today.

Thanks,
Timothy

  3. Re: Deprecated strpos   Reply   Report abuse  
Picture of Timothy Edwards Timothy Edwards - 2025-01-10 09:57:56 - In reply to message 1 from Massimo Peroncelli
Thanks for notifying me about the depreciation issue. Looking at my code I realise that using an integer there was actually an error and it should always have been a string.

I have now corrected the issue and uploaded the new version.

Thanks,
Timothy

  4. Re: Deprecated strpos   Reply   Report abuse  
Picture of Massimo Peroncelli Massimo Peroncelli - 2025-01-11 03:17:57 - In reply to message 3 from Timothy Edwards
Thank you for the very nice package, it works very nicely.
I still have some issues with images embedded into the XLSX but I will debug it myself :) Thank you again