× This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

PHP7 support

8 years 11 months ago - 8 years 10 months ago #1140 by Walt Sorensen
PHP7 support was created by Walt Sorensen
Would be nice to see PHP 7 support with PHP7 released and Joomla 3.5 being released in the coming months.

The big item I know about is
JString
must be replaced with name spaced
StringHelper
via 
use Joomla\String\StringHelper;

Other items for good code clean up include things like
JArrayHelper
has been deprecated
use Joomla\Utilities\ArrayHelper;

Reference on this change requirement from the Joomla CMS
github.com/joomla/joomla-cms/pull/6600


There are also some specific PHP7 changes needed. most of which are BC compatible with php5
  www.digitalocean.com/company/blog/getting-ready-for-php-7/
Last edit: 8 years 10 months ago by Walt Sorensen. Reason: add some more php 7 info
The following user(s) said Thank You: Søren Beck Jensen

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.