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

PHP7 support

8 年 11 个月 前 - 8 年 11 个月 前 #1140 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 年 11 个月 前 by Walt Sorensen. 理由: add some more php 7 info
The following user(s) said Thank You: Søren Beck Jensen

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.047秒
核心: Kunena 论坛

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.