Jump to content
Sign in to follow this  
ClicShopping

PHP 7.4 - report if you see a problem

Recommended Posts

Just a little note.

PHP 7.4 is out soon (end of this month)  and bring lot of new features or deprecated features.

I will start to stest ClicShopping under php 7.4 soon


If you see something report on Github (ClicShopping, Official and community) the error or the bug.
If you have time.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

Hello @ClicShopping,

Nice. My hoster do not propose this at this time but, when this option will be available, I will make some test and report if I see something.

Share this post


Link to post
Share on other sites

A nice function apear inside php 7.4 : Preload : https://wiki.php.net/rfc/preload

It can increased the speed of the website, not a little . But the problem, every time you change something inside a file, you must restart the server because everything is push in memory.

https://andrewdavis.me/post/introduction-to-php-7-4-preload/

Note : when I wil install php 7.4, I will make some test also !

Edited by Patrick
  • Thanks 2

Share this post


Link to post
Share on other sites

About the preload, I take time to read, and I more moderate on that. Depends of the site, it can increase or not the website. I do not know if it will be implemented inside ClicShopping, we will see.

Share this post


Link to post
Share on other sites

Hello,

 

I saw a problem about implode and language class, it creates deprecated error. I let the solution found.

implode($get_params, '&');

by

 

implode('&', $get_params);

 

  • Like 2
  • Thanks 3

Share this post


Link to post
Share on other sites

Hello,

@Drack, thank you for this report, updated.
The ClicShopping Core seems to work fine with php 7.4, just the external libraries must be updated eventually, for that we must wait the developer to make the work.
If I see something, I will update the core.

 

There, the elements can put eventually a problem after a quick search (I do not say, you will have an error, more test must be again done) :
base on this information : https://www.php.net/manual/fr/migration74.deprecated.php

 

Using array_key_exists() on objects (some external libraries) ¶

Magic quotes functions  (ckeditor) ==> no impact

 

 

  • Like 1
  • Thanks 4

Share this post


Link to post
Share on other sites

Ok, I will continue my test, seems the external libraries works fine in the core version. I have no error at this moment.

Share this post


Link to post
Share on other sites

The performance is better that 7.3x but you must have all your applications must work with php 7.4.

You must be care full, after ClicShopping seems works fine with 7.4.

Of course, you must download and update your application with the latest commit.

Edited by Drack

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use