Kansas City PHP User Group April 4, 2014
Last Month in PHPApril 2, 2014 Kansas City PHP User GroupSlides: http://johnkary.net/talksJohn Kary @johnkary6 months
View Slide
Releases
5.5.10 5.4.26 5.3.28Upgrade NOW!
New design of php.net
2.3.0 2.2.6 2.1.6 1.12.42.4.2 2.3.11 2.2.11 2.1.13 2.0.253.8.1 7.26 6.30= Contains at least 1 major security fix in the last 6 months= New major version in the last 6 monthsUpgrade NOW!
5.6.0-alpha3
Peer CertificatesVerified by Default with SSL/TLShttps://wiki.php.net/rfc/tls-peer-verificationACCEPTED
Syntax forVariadic Functionshttps://wiki.php.net/rfc/variadicsACCEPTED
Variadic Functions5.5 function sum() {return array_sum(func_get_args());}!echo sum(2, 4, 6, 8); // 205.6 function sum(...$args) {return array_sum($args);}!echo sum(2, 4, 6, 8); // 20
Variadic Functions - Type Hinting5.6 function weekends(DateTime ...$weekends) {foreach ($weekends as $date) {echo $date->format('Y-m-d') . ", ";}}!$sat1 = new DateTime('September 21, 2013');$sun1 = new DateTime('September 22, 2013');$sat2 = new DateTime('September 28, 2013');$sun2 = new DateTime('September 29, 2013');!echo weekends($sat1, $sun1, $sat2, $sun2);// 2013-09-21, 2013-09-22, 2013-09-28, 2013-09-29,
Package SigningPádraic Bradyhttp://blog.astrumfutura.com/2014/03/thoughts-on-composers-future-security/
HHVM
Hack
Conferences / Events
LoneStarPHP.com$200 $175Coupon Code: KCPHP14
Kansas City Developer Conference (KCDC)May 15-17
ChicagoMay 19-20, 2014 tek.phparch.comSchedule has been announced
ChicagoMay 19-20, 2014 tek.phparch.com
Kansas City Marriott DowntownCFP closes April 29
Nomad PHP?
Day Camp 4Developers?
finhttp://johnkary.net/talks@johnkary