cvs: presentations / phpuk07.xml /slides/fowa hist4.xml /slides/intro mig5.xml mig6.xml web2_ref.xml

From: Date: Fri, 23 Feb 2007 09:52:55 +0000
Subject: cvs: presentations / phpuk07.xml /slides/fowa hist4.xml /slides/intro mig5.xml mig6.xml web2_ref.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1385@lists.php.net to get a copy of this message
rasmus Fri Feb 23 09:52:55 2007 UTC Added files: /presentations phpuk07.xml Modified files: /presentations/slides/fowa hist4.xml /presentations/slides/intro mig5.xml mig6.xml web2_ref.xml Log: PHP UK Talk http://cvs.php.net/viewvc.cgi/presentations/slides/fowa/hist4.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/fowa/hist4.xml diff -u presentations/slides/fowa/hist4.xml:1.1 presentations/slides/fowa/hist4.xml:1.2 --- presentations/slides/fowa/hist4.xml:1.1 Wed Feb 21 23:27:46 2007 +++ presentations/slides/fowa/hist4.xml Fri Feb 23 09:52:55 2007 @@ -2,6 +2,7 @@ <blurb fontsize="16em" align="center">1995</blurb> <example fontsize="1.6em"><![CDATA[<? $name = "bob"; + $db = "db"; $result = msql($db,"select * from table where firstname='$name'"); $num = msql_numrows($result); echo "$num records found!<p>"; @@ -12,6 +13,6 @@ echo msql_result($result,$i,"address"); echo "<br>"; $i++; - endwhile; + endwhile; >]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/mig5.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/mig5.xml diff -u presentations/slides/intro/mig5.xml:1.1 presentations/slides/intro/mig5.xml:1.2 --- presentations/slides/intro/mig5.xml:1.1 Thu Feb 22 00:20:15 2007 +++ presentations/slides/intro/mig5.xml Fri Feb 23 09:52:55 2007 @@ -3,7 +3,6 @@ <blurb title="Minor OOP Changes" fontsize="4em"> </blurb> <list fontsize="4em"> -<bullet>by-ref instead of by-value objects as already discussed</bullet> <bullet>*var* keyword is synonymous with *public*</bullet> <bullet>old-style constructors still work</bullet> <bullet>is_a() is going away, use instanceof operator</bullet> @@ -13,7 +12,7 @@ echo (string)new stdClass; // Results in Object id #1 before 5.2.x // E_RECOVERABLE_ERROR in 5.2.x -// Use a __tostring() method to explicitly define the conversion +// Use a __tostring() method to explicitly define ?>]]></example> <example title="Don't re-assign $this"><![CDATA[<?php @@ -40,16 +39,12 @@ var_dump(empty($a)); // true in PHP 4, false in PHP 5 ?>]]></example> -<example title="Avoid is_a()"><![CDATA[<?php -$a = new stdClass; -var_dump(empty($a)); // true in PHP 4, false in PHP 5 -?>]]></example> - <example title="E_STRICT on static method calls"><![CDATA[<?php class foo { function bar() { echo "Bar"; } } -foo::bar(); // Non-static method foo::bar() should not be called statically +foo::bar(); +// Non-static method foo::bar() should not be called statically ?>]]></example> <example title="Redefining consts in 5.2.x"><![CDATA[<?php http://cvs.php.net/viewvc.cgi/presentations/slides/intro/mig6.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/intro/mig6.xml diff -u presentations/slides/intro/mig6.xml:1.1 presentations/slides/intro/mig6.xml:1.2 --- presentations/slides/intro/mig6.xml:1.1 Thu Feb 22 00:20:15 2007 +++ presentations/slides/intro/mig6.xml Fri Feb 23 09:52:55 2007 @@ -17,8 +17,10 @@ ?>]]></example> <example title="ip2long has been fixed"><![CDATA[<?php -var_dump(ip2long("000.000.998.889")); // -1 in PHP 4, false in PHP 5 -var_dump(ip2long("255.255.255.255")); // -1 in PHP 4, -1 in PHP 5 +var_dump(ip2long("000.000.998.889")); +// -1 in PHP 4, false in PHP 5 +var_dump(ip2long("255.255.255.255")); +// -1 in PHP 4, -1 in PHP 5 ?>]]></example> <example title="Don't use {} for string offsets"><![CDATA[<?php http://cvs.php.net/viewvc.cgi/presentations/slides/intro/web2_ref.xml?r1=1.3&r2=1.4&diff_format=u Index: presentations/slides/intro/web2_ref.xml diff -u presentations/slides/intro/web2_ref.xml:1.3 presentations/slides/intro/web2_ref.xml:1.4 --- presentations/slides/intro/web2_ref.xml:1.3 Thu Jan 18 03:44:14 2007 +++ presentations/slides/intro/web2_ref.xml Fri Feb 23 09:52:55 2007 @@ -1,10 +1,9 @@ <slide title="Resources"> -<blurb> </blurb> -<blurb> </blurb> -<blurb> </blurb> -<blurb> </blurb> +<break lines="3"/> <link fontsize="3em" marginleft="3em" leader="Slides: " href=":-:url:-:"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="YDN: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Filter: " href="http://php.net/filter"/> +<link fontsize="3em" marginleft="3em" leader="Migrate: " href="http://php.net/migration5"/> +<link fontsize="3em" marginleft="3em" leader="PHP 5.2:" href="http://www.php.net/UPDATE_5_2.txt"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/phpuk07.xml?view=markup&rev=1.1 Index: presentations/phpuk07.xml +++ presentations/phpuk07.xml <presentation template="php2" navmode="html" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <topic>PHP</topic> <title>Fast and Rich</title> <subtitle>(Web Applications with PHP 5)</subtitle> <event>PHP UK</event> <location>London</location> <date>Feb.23, 2007</date> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <slide>slides/intro/titlepage.xml</slide> <slide>slides/fowa/hist1.xml</slide> <slide>slides/fowa/hist2.xml</slide> <slide>slides/fowa/hist3.xml</slide> <slide>slides/fowa/hist4.xml</slide> <slide>slides/fowa/hist5.xml</slide> <slide>slides/bm06/profit.xml</slide> <slide>slides/bm06/initial.xml</slide> <slide>slides/bm06/pg.xml</slide> <slide>slides/bm06/pg_persist.xml</slide> <slide>slides/bm06/mysql.xml</slide> <slide>slides/bm06/apc.xml</slide> <slide>slides/bm06/apc2.xml</slide> <slide>slides/intro/xss_common.xml</slide> <slide>slides/intro/xss_risks.xml</slide> <slide>slides/fowa/filter.xml</slide> <slide>slides/intro/rss_flickr.xml</slide> <slide>slides/intro/geoflickr.xml</slide> <slide>slides/intro/yajax.xml</slide> <slide>slides/intro/ajax_upload2.xml</slide> <slide>slides/intro/mig1.xml</slide> <slide>slides/intro/mig2.xml</slide> <slide>slides/intro/mig4.xml</slide> <slide>slides/intro/mig5.xml</slide> <slide>slides/intro/mig6.xml</slide> <slide>slides/intro/mig7.xml</slide> <slide>slides/intro/web2_ref.xml</slide> </presentation>

« previous php.pres (#1385) next »