PHP 5.3

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    PHP 5.3 - Presentation Transcript

    1. PHP 5.3
    2. DAvide Mendolia http://davidemendolia.blogspot.com dmendolia@php.net lead developer APM (Alternative PHP Monitor) Contributor of php-benchmark ZCE PHP5 - ZF, CMDEV Working @ AUSY
    3. Will Be Release...
    4. 30 June 2009
    5. Features Language Extensions No major compatibility break
    6. NAmespace Avoid things like : Zend_Search_Lucene_Analysis_Analyzer_Common_Tex t_CaseInsensitive
    7. NAMESPACE namespace blueplanet; class Animal { public function saveTheWorld($when) { } } $animal = new blueplanetAnimal(); $animal->saveTheWorld('now'); // or use blueplanet as caprica; $animal = new capricaAnimal(); $animal->saveTheWorld('now');
    8. Why ? namespace foo::bar; function baz(){ echo "func";} namespace foo; class bar { public static function baz() { echo "method"; } } foo::bar::baz();
    9. Still the Problem with MaC keyboard Use Alt + Shift + /
    10. LAMBDA FUNCTIONS $lambda = function() { echo "particles"; } $lambda(); $list = array(0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89); array_map( function($n){ return $n * $n;}, $list );
    11. LAMBDA FUNCTIONS $lambda = create_function('', 'echo "particles";' ); $lambda(); $list = array(0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89); $func = create_function('$n', 'return $n * $n;'); array_map( $func, $list );
    12. Closures Usage differ from javascript kind of parameter passed at declaration time $container = "bottle"; $closure = function() use ($container) { echo $container; } $closure();
    13. FunctOrs class Functor { public function __invoke() { echo "functionoids"; } } $functor = new Functor; $functor();
    14. Extensions FileInfo Intl Phar SQLite3 Mysql(mysqlnd)
    15. FileInfo Based on libmagic finfo_file() return the mime type based on the structure of the file
    16. Intl Internationalization Based on ICU library (International Components for Unicode) Originally planned for PHP 6
    17. Intl - Classes Locale : Identifier for a language, culture or regional specific Collator : string comparison locale-sensitive NumberFormatter : format numbers, currencies and percentages in locale-sensitive IntDateFormatter : format date locale-sensitive MessageFormatter : format string with time, date, number or choice input
    18. Phar PHP Archive Similar to Jar concept from Java Allow the possibility to put an entire applications in one file. Extensions not required to execute the file Facilitate the distribution Can improve performance with a byte code cache system
    19. Mysqlnd Mysql Native Driver ext/mysql, ext/mysqli, PDO_MYSQL better performance fetching buffered result
    20. DEPRECATED safe_mode register_globals register_long_arrays magic_quotes_gpc ...
    21. More info http://www.php.net/migration53
    22. Questions ?

    + Idaf_1erIdaf_1er, 5 months ago

    custom

    380 views, 0 favs, 2 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 380
      • 348 on SlideShare
      • 32 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 7
    Most viewed embeds
    • 27 views on http://davidemendolia.blogspot.com
    • 5 views on http://intranet

    more

    All embeds
    • 27 views on http://davidemendolia.blogspot.com
    • 5 views on http://intranet

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories