× 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
Walt Sorensen создал тему: PHP7 support
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/
Последнее редактирование: 8 года 11 мес. назад пользователем Walt Sorensen. Причина: add some more php 7 info
Спасибо сказали: Søren Beck Jensen

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.051 секунд
Работает на 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.