Which PHP version are you using?

Started by keiron, Aug 21, 2022, 12:34 AM

Previous topic - Next topic

What PHP version are you using?

PHP 5.4
0 (0%)
PHP 5.6
0 (0%)
PHP 7.1
0 (0%)
PHP 7.4
3 (42.9%)
PHP 8.1
4 (57.1%)

Total Members Voted: 7

keironTopic starter

Hi! Who uses what version of PHP when developing your sites?
We started a new project on 7.1, but with the release of 7.4 we moved to it.
  •  

kpripper

On a computer for development, I switched to php7 a long time ago to see what jambs can get out (mainly due to the increase in the severity of data types, there were jambs of comparing numbers, etc.), in production, so far, only from what was needed was fts5 in sqlite3 by default.
1. php7 is faster than five
2. I like strong typing in development
3. More optimized work with objects.
4. Traits

Well, generally, it is silly to use old versions of PHP in new projects if they gradually become deprecated.
  •  

Sevad

Because now you can use different PHP versions on the same server, I do that.
Older projects (for example seomastering_com) use PHP 5.6.
And on the current project DNray - PHP 8.1 version
  •  

Olexandro

We started with version 7.1. Then update 7.4 came out and we took advantage of it. As far as I know, it is still relevant. But, they did not dare to switch to 8.0, although there are a lot of interesting things there, only JIT and FFI are worth something.
  •  

Ali_Pro

There was a version 7.4. Now at almost all - 8.1.
It is possible that some of the old scripts and plugins may not work, but I do not have those.

And in general, there used to be 4xx.
Ali.
  •  

AliceFowell89

#5
PHP 5.3 is long dead.
PHP 7+ is the de facto standard today. And it is supported not by "units", but by all hosting providers who do not want to leave the market. And this is exactly the overwhelming majority and widespread support.
Yes, the 5th branch of PHP is still supported, but it will not be 5.3 on hosting, but 5.4 or 5.6.
Modern shareware, even the most miserable, for the most part allow users to switch PHP versions independently.
To do this, you don't need to write support tickets for a long time and wait for the transfer to a new machine.

The 8 php version is a very interesting product. When the hosting providers heard that she was giving out much more requests per second on the same resources as the five, they began to race it literally.
Because this is a power saving. Because it's delaying scaling. Because it's more customers on one note.
  •  

Laura

I have self-written websites, I started writing under php 7.1, moved to a new hosting, installed php 8 and problems with incompatibility of some functions began. I had to rewrite under php 8. But I don't mind the time spent, the difference is huge. Productivity has increased by 2 times, checks have decreased, so there is less coding, the syntax is more logical. I've already forgotten php 7 forever and my sites are flying))
  •