Sackgesicht VIP
Total posts: 1,636
07 Дек 2015 01:33

Some warnings:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; JS_Image_Resizer has a deprecated constructor in /libraries/mint/resizeimage.php on line 29

plgMintToolset has a deprecated constructor in /plugins/mint/toolset/toolset.php on line 13

Markdown_Parser has a deprecated constructor in /libraries/mint/markdown.php on line 224

MarkdownExtra_Parser has a deprecated constructor in /libraries/mint/markdown.php on line 1686

Only variables should be passed by reference in /components/com_cobalt/views/records/tmpl/default_markup_default.php on line 177

.... it seems the markdown parser deserves also an update. https://michelf.ca/projects/php-markdown/

Последние изменения: 09 Март 2016


Jeff VIP
Total posts: 745
07 Дек 2015 06:40

Great that you are testing php7, Sackgesicht.

Did you notice any speed improvements with your setup? Or is it a bit too premature too ask?


Sackgesicht VIP
Total posts: 1,636
07 Дек 2015 10:25

Jeff,

using Joomla Debug, i can see a speed improvement between PHP 5.6.16 and 7.0.

But more obvious is the memory gain between the versions. Depending on your fields (and their content), Cobalt 8 can consume a huge amount of memory. An example: List (intro) view of a TYPE with 3 relation fields showing 20 records consumes under PHP 5.6.16 ~53MB against PHP 7.0 ~ 33MB / 1620ms against 1240ms.

Another section with a complicated setup has 4647ms with PHP 5.6.16 and 1828ms with PHP 7.0 / 37.4 MB -> 25.2 MB

I hope Cobalt 9 will turn out to be more memory conservative than Cobalt 8.


Sergey
Total posts: 13,748
07 Дек 2015 10:43

All errors fixed. thank you for testing and reporting.


Jeff VIP
Total posts: 745
07 Дек 2015 22:24

Great gains with PHP 7.0 here!

Apart from some warnings, does Cobalt + Joomla 3.5B.1 + PHP7 work well together?


Sackgesicht VIP
Total posts: 1,636
07 Дек 2015 23:27

Jeff Apart from some warnings, does Cobalt + Joomla 3.5B.1 + PHP7 work well together?

It seems yes. I will do more testing after the next update.

As i understand from another topic that there will be a Cobalt 9 release within the month, I'm very sure it will be fully compatible when Joomla releases the final 3.5 version.

I use a Gantry4 template on my test setup which throws a lot of warnings. Gantry5 (which is faster overall) seems working nicely.


jimie VIP
Total posts: 531
09 Март 2016 13:38

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; JS_Image_Resizer has a deprecated constructor in /libraries/mint/resizeimage.php on line 29

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgMintToolset has a deprecated constructor in /plugins/mint/toolset/toolset.php on line 13

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentDirectPHP has a deprecated constructor in /plugins/content/DirectPHP/DirectPHP.php on line 23


jimie VIP
Total posts: 531
09 Март 2016 13:44

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor in /libraries/mint/markdown.php on line 224

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MarkdownExtra_Parser has a deprecated constructor in /libraries/mint/markdown.php on line 1686


jimie VIP
Total posts: 531
09 Март 2016 13:45

Notice: Only variables should be passed by reference in /components/com_cobalt/views/records/tmpl/default_markup_default.php on line 177

Работает на Cobalt