Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

Objavljen PHP 7, sledeća generacija PHP-a

Objavljen PHP 7, sledeća generacija PHP-a 05.12.2015. u 02:14 · pre 133 meseca
izmenjeno 1 put, poslednji put Mister Big Time 05.12.2015. u 04:01
  1. Mister Big Time05.12.2015. u 04:01zapis iz teksta poruke
#1
Citat:

It is not just a next major PHP version being released today. The release being introduced is an outcome of the almost two years development journey. It is a very special accomplishment of the core team. And, it is a result of incredible efforts of many active community members. Indeed, it is not just a final release being brought out today, it is the rise of a new PHP generation with an enormous potential.

Congratulations everyone to this spectacular day for the PHP world!

Grateful thanks to all the contributors and supporters!


PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as

Improved performance: PHP 7 is up to twice as fast as PHP 5.6
Significantly reduced memory usage
Abstract Syntax Tree
Consistent 64-bit support
Improved Exception hierarchy
Many fatal errors converted to Exceptions
Secure random number generator
Removed old and unsupported SAPIs and extensions
The null coalescing operator (??)
Return and Scalar Type Declarations
Anonymous Classes
Zero cost asserts



http://php.net/archive/2015.php#id2015-12-03-1

Will Developers Adopt PHP 7?
http://www.phpclasses.org/blog...ll-Developers-Adopt-PHP-7.html



Sveze kompajlirano:
Code:
PHP 7.0.0 (cli) (built: Dec  5 2015 03:43:50) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
Re: Objavljen PHP 7, sledeća generacija PHP-a 05.12.2015. u 15:25 · pre 133 meseca #2
Brzina je fenomenalna, kao da je C a ne PHP :)

Code:
--------------------------------------
|        PHP BENCHMARK SCRIPT        |
--------------------------------------
Start : 2015-12-05 14:24:12
Server : ?@?
PHP version : 7.0.0
Platform : Linux
--------------------------------------
test_Math                 : 0.300 sec.
test_StringManipulation   : 0.434 sec.
test_Loops                : 0.336 sec.
test_IfElse               : 0.248 sec.
--------------------------------------
Total time:               : 1.318 sec.



@4.4 GHz CPU. :)

Re: Objavljen PHP 7, sledeća generacija PHP-a 05.12.2015. u 20:02 · pre 133 meseca #3
Ali još uvek ima dečijih bolesti. Sesije i https kolačići se ne ponašaju kako se očekuje. Još treba da ga ispeglaju. Malopre sam probao na hostu, ono što je radelo sa php 5.5, 5.6 (godinu i kusur unazad, testirano do zla boga) neće sa 7.0. Šta tačno ne znam, na hostu mogu da vidim samo access log jer host na kome testiram, poprilično je limitiran. U lokalu, to jest, dev. varijanti nisam probao ništa sa 7.0 i dalje sam na 5.6.14. No, biće to kako valja za neko vreme, nadam se.

ps: zašto si morao da otvaraš zasebnu temu, kada je već započeta jedna? nebitno...
Potpis
about:networking
Re: Objavljen PHP 7, sledeća generacija PHP-a 07.12.2015. u 00:02 · pre 133 meseca #4
Za staru temu, radi se o alfa izdanju, tema pala u zaborav.

Ovo je vise od major release-a, i svakako zasluzuje temu od momenta zvanicnog objavljivanja stable edicije :)

P.S. ovaj podforum je totalno zamro :/
Re: Objavljen PHP 7, sledeća generacija PHP-a 15.12.2015. u 20:03 · pre 133 meseca #5
Stvar će se verovatno popraviti vremenom usvajanjem PHP-FIG standarda i ispravljanjem nekih glupih grešaka iz prošlosti. Iako više ne radim u PHP-u drago mi je da vidim da se napreduje polako.
Potpis
Trust yourself, break some rules, don't be afraid to fail, ignore the naysayers, work like
hell and give something back!
# Software is like sex - it's better when it's free :))
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme