Devcon hh-2012
-
Upload
pierre-joye -
Category
Technology
-
view
2.948 -
download
0
description
Transcript of Devcon hh-2012
O PHP, Where Art Thou?
Pierre Joye2012/09/08
Pierre Joye@[email protected]
PHP Core developerContributors to numerous OSS projects
Works with the ex-Dark ForcePortability fan
Any PHP users around?
Which version?
Contributors already?
The Bad
• Slow release cycles
• Unsecure
• Hard or impossible to contribute
• Dicatorship, egomaniacs, nein sager
• Closed community
The Good
RFC processhttps://wiki.php.net/rfc/voting
• Anyone can submit a RFC
• Votes
– Communities
– php.net members
• If accepted, released in php-next (<= 1 year)
Release Process• Security only releases
• Bugs fixes releases every 1-2 months (~)
• Yearly releases with new features (i.e. 5.4)
https://wiki.php.net/rfc/releaseprocess
On Security
Some Security Team Members
Xinchen Hui
Very Old guy }:->
Gustavo Andre dos Santos Lopes
Not Very Old guy(yet)
Anatoliy Belsky
126
83
79
73
62
1
2
3
4
5
2012/01 to 2012/04
No more excuses!
contribute!
5.5
PBKDF2
https://wiki.php.net/rfc/hash_pbkdf2
hash_pbkdf2('sha256', 'passwordP§%P4s$', 'saltSALTsaltSALTsaltSALTsaltSALTsalt', 4096, 40)
See also:http://www.ietf.org/rfc/rfc2898.txthttp://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdfhttp://en.wikipedia.org/wiki/PBKDF2
Simple Password API
https://wiki.php.net/rfc/password_hash
Getter/Setterhttps://wiki.php.net/rfc/propertygetsetsyntax-as-implemented
Generatorhttps://wiki.php.net/rfc/generators
Generator
Generator
Generator
Generator
foreach and list
YAAR!
(array_column)
Fixing empty()
empty($this->getFriends())
$INTL->awesomeness++;
• IntlCalendar• IntlGregorianCalendar• IntlTimeZone• IntlBreakIterator• IntlRuleBasedBreakIterator• IntlCodePointBreakIterator
Fully qualified classname
Parameter skipping
function create_query($where, $order_by,$join_type='', $execute = false,
$report_errors = true) { ... }
create_query("deleted=0", "name", default, default,
false);
Parameter skipping
Finally!
https://wiki.php.net/rfc/finally
Questions?