PHP 5.4.0 released

20 views
Skip to first unread message

James McGlinn

unread,
Mar 2, 2012, 3:11:59 PM3/2/12
to PHP Users Group List Group List

PHP 5.4.0 released!

[01-Mar-2012]

The PHP development team is proud to announce the immediate availability of PHP 5.4.0. This release is a major leap forward in the 5.x series, which includes a large number of new features and bug fixes.

Some of the key new features include: traitsa shortened array syntaxa built-in webserver for testing purposes and more. PHP 5.4.0 significantly improves performance, memory footprint and fixes over 100 bugs.

For users upgrading from PHP 5.3 there is a migration guide available here, detailing the changes between those releases and PHP 5.4.0.

Further details about the PHP 5.4.0 release can be found in the release announcement, and the full list of changes are available in the ChangeLog.


Kind regards,
James McGlinn
__________________________________
CTO
Eventfinder Limited
Suite 106, Heards Building
2 Ruskin Street, Parnell, Auckland 1052
Phone: +649 365 2342
Mobile: +6421 633 234

ja...@eventfinderhq.com  |  www.eventfinder.co.nz



Todd Martin

unread,
Mar 2, 2012, 5:59:48 PM3/2/12
to nzp...@googlegroups.com
Hi James

Thanks for the heads up. I like the new "traits" feature. It is essentially interface delegation, which is something I've found lacking in PHP previously. I also like the way the visibility of trait methods can be reduced in the parent class.

Todd.

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzp...@googlegroups.com
To unsubscribe, send email to
nzphpug+u...@googlegroups.com


--
Passion is no substitute for reason

Jochen Daum

unread,
Mar 2, 2012, 6:00:45 PM3/2/12
to nzp...@googlegroups.com
yehaa!!

looking forward to $x = getMeArray()[5];

P.S.: Newsletter: About Responsive Website Design - eepurl.com/i409D

Kind Regards,

Jochen Daum

"There is no shortcut to anywhere worth going" - Beverly Sills

Automatem Ltd
Phone: +64 9 630 3425
Mobile: +64 21 567 853
Email: j...@automatem.co.nz
Website: www.automatem.co.nz
Skype: jochendaum
http://nz.linkedin.com/in/automatem
http://twitter.com/automatem


eventfinder.png

Simon J Welsh

unread,
Mar 2, 2012, 6:02:31 PM3/2/12
to nzp...@googlegroups.com
One of the things from the announcement that I really like in 5.4 is array dereferencing and chaining on object creation. Ie, things like (new myObject([1, 3, 6, 213]))->toArray()[3].

> <eventfinder.png>


>
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to nzp...@googlegroups.com
> To unsubscribe, send email to
> nzphpug+u...@googlegroups.com

---
Simon Welsh
Admin of http://simon.geek.nz/

Alexei Tenitski

unread,
Mar 4, 2012, 3:25:10 AM3/4/12
to nzp...@googlegroups.com
Here is a good summary of changes:
http://ilia.ws/files/confoo_php54.pdf

Cheers,
Alexei

David Neilsen

unread,
Mar 4, 2012, 5:49:19 AM3/4/12
to nzp...@googlegroups.com
Pretty awesome features, now we just have to wait another year before we can start using them in production ;)

David Neilsen | 07 834 3366 | PANmedia ®





Simon J Welsh wrote:

---
Simon Welsh
Admin of http://simon.geek.nz/

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzp...@googlegroups.com
To unsubscribe, send email to

Reply all
Reply to author
Forward
0 new messages