ElkArte Community

General => Chit Chat => Topic started by: Joker™ on August 04, 2014, 12:42:45 pm

Title: PHP 7
Post by: Joker™ on August 04, 2014, 12:42:45 pm
Was just surfing and came across this http://www.phpclasses.org/blog/post/242-PHP-7-Features-and-Release-Date.html
Title: Re: PHP 7
Post by: emanuele on August 04, 2014, 02:56:10 pm
Heck. :P
Title: Re: PHP 7
Post by: IchBin on August 04, 2014, 05:53:53 pm
We should make it the minimum PHP version for 1.1.  :o
Title: Re: PHP 7
Post by: Spuds on August 04, 2014, 08:26:44 pm
Quote from: IchBin – We should make it the minimum PHP version for 1.1.  :o
LOL ... I hope 1.1 is sooner than 2023 :P
Title: Re: PHP 7
Post by: Joker™ on August 06, 2014, 12:16:59 pm
Quote from: IchBin – We should make it the minimum PHP version for 1.1.  :o
Lol :D
Title: Re: PHP 7
Post by: Joker™ on August 07, 2014, 10:44:12 am
A bit more on the same - http://www.phpclasses.org/blog/post/243-The-Future-of-PHP-7-Is-Bright--Lately-in-PHP-podcast-episode-49.html
Title: Re: PHP 7
Post by: Spuds on August 07, 2014, 09:25:23 pm
Interesting reading for sure.  

Sidenote ... has anyone played with Zephir?
Title: Re: PHP 7
Post by: emanuele on August 09, 2014, 05:07:16 pm
Nope...
Looks like a sort of compiler for php-like code? I read it quickly, not sure though I understood it correctly... :-[
Title: Re: PHP 7
Post by: Spuds on August 09, 2014, 09:38:17 pm
It allows you to write in OO php (mostly, there are some differences for sure), Zephir will translate this into C code so you can compile it in to an php extension like bla.so With that done you can add in your php.ini and use in your application.

Like say we redo parse_bbc, we could have it complied in to a parsebbc.so and for sites, that have control over their installs, they could use a complied extension for that function.  

Thats just a crazy example, its really just a cool way to be able to write php extensions without having to know C to do so.
Title: Re: PHP 7
Post by: Joker™ on August 10, 2014, 02:23:27 am
Umm @Spuds ... its more like a code written in PHP, pre compiled in C?
Title: Re: PHP 7
Post by: emanuele on August 10, 2014, 11:58:15 am
Quote from: Spuds – Thats just a crazy example, its really just a cool way to be able to write php extensions without having to know C to do so.
Interesting! :D
Never had the opportunity tu put my hands on something that allowed me to install my own php extensions, though it can be interesting. nods

/me wonders how would ElkArte look like as php extension. LOL
Title: Re: PHP 7
Post by: Joker™ on August 17, 2014, 09:31:00 am
Quote from: emanuele – Interesting! :D
Never had the opportunity tu put my hands on something that allowed me to install my own php extensions, though it can be interesting. nods

/me wonders how would ElkArte look like as php extension. LOL
Well if its possible, it'd be great, as everything will be acting as a plug and play system.
Title: Re: PHP 7
Post by: kucing on September 15, 2017, 12:52:22 pm
Sorry for necroposting, cannot find any recent topic discussing Elkarte on PHP 7. And this topic is the number 1 on Google. :D

I just want to let you know that I just upgraded from PHP 5.6 to 7.0 and no problem found yet
Code: [Select]
PHP 7.0.23-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.23-1~dotdeb+8.1, Copyright (c) 1999-2017, by Zend Technologies
Title: Re: PHP 7
Post by: ahrasis on September 15, 2017, 09:35:26 pm
I have no problem with php7.0 too but I do have minor login problem with php7.1. Something to do with session and may be with Multi Tenancy Addon, I think. Otherwise, they are both great version to use with ElkArte.
Title: Re: PHP 7
Post by: badmonkey on September 15, 2017, 11:26:57 pm
Quote from: ahrasis – I have no problem with php7.0 too but I do have minor login problem with php7.1. Something to do with session and may be with Multi Tenancy Addon, I think. Otherwise, they are both great version to use with ElkArte.

Same 7.1 issue here as well.  7 works great!
Title: Re: PHP 7
Post by: scripple on September 16, 2017, 12:42:49 pm
Running 7.1 and not noticed any login issues.
Title: Re: PHP 7
Post by: Spuds on September 20, 2017, 06:22:42 pm
@badmonkey what login issues are you seeing with php  7.1 and 1.1 ?
Title: Re: PHP 7
Post by: badmonkey on September 20, 2017, 06:41:39 pm
It's been a while since trying 7.1. It was on another server actually.  Haven't installed 7.1 on the newest.  If memory serves it was session errors when in ACP, postinf, profile changes and the like.  it's possible you guys fixed it since too.
Title: Re: PHP 7
Post by: inter on December 18, 2017, 12:37:49 pm
Today I changed the version php from 5.6 to 7.1. In the new year with a new version php!
Title: Re: PHP 7
Post by: ahrasis on December 18, 2017, 11:57:28 pm
Nice to hear that. EA is now working with php7.2 as well @inter. Some claims that it is more faster especially with its opcache.
Title: Re: PHP 7
Post by: emanuele on December 19, 2017, 02:15:00 am
There seems to be some problem with 7.1+ and paid subscriptions to be honest. O:-)
Title: Re: PHP 7
Post by: inter on December 19, 2017, 03:34:05 am
QuoteSome claims that it is more faster especially with its opcache.
php 7.2 I do not yet on my hosting
Title: Re: PHP 7
Post by: badmonkey on December 19, 2017, 07:11:44 am
Quote from: emanuele – There seems to be some problem with 7.1+ and paid subscriptions to be honest. O:-)

Thanks for the heads up!