• Regolamento Macrocategoria DEV
    Prima di aprire un topic nella Macrocategoria DEV, è bene leggerne il suo regolamento. Sei un'azienda o un hosting/provider? Qui sono anche contenute informazioni per collaborare con Sciax2 ed ottenere l'accredito nella nostra community!

Info PHP7 rilasciato ufficialmente - Verrà adottato dagli sviluppatori?

Qual'è l'ultima versione di PHP che utilizzi per lo sviluppo di software?

  • PHP 5.4

    Voti: 0 0,0%
  • PHP 5.2

    Voti: 0 0,0%
  • PHP 5.1

    Voti: 0 0,0%
  • PHP 5.0

    Voti: 0 0,0%
  • PHP 4

    Voti: 0 0,0%
  • Altro

    Voti: 0 0,0%

  • Votatori totali
    6

ptm

Utente Master
Autore del topic
13 Maggio 2008
2.716
62
Miglior risposta
0
La storia di PHP7

PHP 7 è la nuova major release la cui versione stabile è stata rilasciata il 2 Dicembre 2015 dopo più di 11 anni da PHP 5.0.0. Il progetto di PHP 6, il cui obiettivo principale era di portare un supporto trasparente ad Unicode per la rappresentazione delle stringhe, andò in stallo e nel 2010 fu abbandonato. Alcune funzionalità che avrebbe dovuto introdurre sono state incluse nella release 5.4 di PHP. PHP7 prende mossa da una branch sperimentale denominata PHPNG nata con lo scopo di migliorare le prestazioni del motore Zend senza andare a compromettere la compatibilità. In questa discussione è possibile vedere alcuno delle altre novità: http://www.sciax2.it/forum/guide-tutorial/php-7-scopriamo-insieme-novita-681063.html


Risultati del sondaggio sull'adozione di PHP7

Sul sito phpclasses.org (
Perfavore, Entra oppure Registrati per vedere i Link!
) tempo è stato effettuato un sondaggio composto da 3 domande per valutare le intenzioni degli sviluppatori nell'adottare PHP7. In particolare:
  1. Are You Going to Use PHP 7 in Production? (Userai PHP 7 nella produzione di software?)
  2. Are You Going to Use PHP 7 in your Development Environment? (Userai PHP 7 nel tuo ambiente di sviluppo?)
  3. What is the latest PHP version you are using in production? (Qual'è l'ultima versione di PHP che stai usando in produzione?)
I risultati sono riportati qui sotto

1. Are You Going to Use PHP 7 in Production?

Yes, I am using already since versions before the first stable 7.0.0 release214%
Yes, I want to start using only since the official 7.0.0 version is released10419.8%
Yes, I will wait a few weeks or months after the 7.0.0 version is released19637.3%
It depends on the customers that I work for448.4%
No, not anytime soon, I need to migrate a lot of my code and that will take me a long time5811%
No, not now, I only plan to use it for future new projects6412.2%
No, only if my hosting company forces me to use it and does not provide an older version203.8%
Other193.6%

php-7-in-production-chart.png

Si può notare che più della metà degli sviluppatori è pronta ad adottare PHP 7 per la produzione di software sin da ora o quantomeno quando quest ultimo raggiungerà una certa maturità.

2. Are You Going to Use PHP 7 in your Development Environment?

Yes, I have been using continuously for a while417.8%
Yes, I used it a few times just to test its features6011.4%
Yes, I want to start using only since the official 7.0.0 version is released21841.4%
Yes, I will wait a few weeks or months until I have more time to check it out11221.3%
It depends on the customers that I work for112.1%
No, not now, I only plan to use it for future new projects6211.8%
No, only if my hosting company forces me to use it and I need to fix my code132.5%
Other91.7%

php-7-in-development-chart.png

Dai dati si può rilevare che molti sviluppatori sono interessati a testare le nuove funzionalità di PHP 7 (oppure lo hanno già fatto)


3. What is the latest PHP version you are using in production?

PHP 7.0101.9%
PHP 5.629956.8%
PHP 5.511121.1%
PHP 5.45911.2%
PHP 5.3387.2%
PHP 5.251%
PHP 5.100%
PHP 5.010.2%
PHP 400%
Other91.7%
Other30.6%

php-versions-chart.png

Come si potrebbe intuire, la maggior parte delle persone non ha ancora adottato PHP 7 in produzione; tuttavia è una buona notizia osservare che la maggior parte degli sviluppatori usa una delle ultime versioni stabili nello sviluppo.


E voi?

Adesso giro la domanda a voi: qual'è l'ultima versione di PHP che utilizzate nello sviluppo? Non posso inserire un sondaggio per ogni domanda, quindi per le altre è possibile commentare qui sotto ;)


Risultati tratti da:
Perfavore, Entra oppure Registrati per vedere i Link!
 
Ultima modifica:
A prescindere ora dai dati relativi agli sviluppatori, la differenza sulla diffusione della prossima major, come al solito, la faranno molto anche l'adozione in massa degli hosting e sysadmin.

Riguardo alla domanda, io ancora utilizzo PHP 5.6 nello sviluppo, più che altro per pigrizia poiché è facile che tendo ad utilizzare XAMPP in locale/ambiente di sviluppo.
 
Io faccio parte del gruppo PHP 5.6, anche se penso di non aver mai sfruttato a pieno le sue funzionalità.; quindi un eventuale passaggio a PHP 7 potrebbe essere meno radicale del previsto.
 
Si, non mi aspetto nemmeno io nulla di radicale... Tranne il fatto che sia stata deprecata la libreria MySQL (c'era da aspettarsi una migrazione su mysqli o PDO)