View Single Post
  #1  
Old 02-14-2025, 11:52 PM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 761
 

Default X-Cart Classic module PHP compatibility

I have developed a module for the last minor versions of 4.4.x, 4.5.x, 4.6.x and 4.7.x branches/editions and I was wordering if I need to provide additional code for PHP incompatibilities, i.e., I have taken for granted that sites that still use X-Cart Classic, run on older PHP versions for which the X-Cart versions are compatible, so I built my module to be compatible with these PHP versions, but should I provide any coding/patches for my module to run in newer PHP versions, in case many old sites have patched their code for later PHP versions?


For example, in the File area, for the branches 4.4.x - 4.7.x, there are PHP patches for PHP 7.1 - 7.3 and a manual patch for PHP 7.4. Should I apply all these patches to each branch and check that the module will be compatible with PHP 7.4?
__________________
Vasilis Vrontisis
X-Cart Development, Maintenance & Customization
https://[URL="http://www.craftforweb.com"]craftforweb.com[/url]
vasilis@craftforweb.com
Reply With Quote