svn: /web/presentations/trunk/ slides/intro/crock1.xml slides/intro/crock2.xml slides/intro/crock3.xml webexpo2011.xml

From: Date: Fri, 23 Sep 2011 21:11:58 +0000
Subject: svn: /web/presentations/trunk/ slides/intro/crock1.xml slides/intro/crock2.xml slides/intro/crock3.xml webexpo2011.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1748@lists.php.net to get a copy of this message
rasmus Fri, 23 Sep 2011 21:11:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=317219 Log: tweaks Changed paths: A web/presentations/trunk/slides/intro/crock1.xml A web/presentations/trunk/slides/intro/crock2.xml A web/presentations/trunk/slides/intro/crock3.xml U web/presentations/trunk/webexpo2011.xml Added: web/presentations/trunk/slides/intro/crock1.xml =================================================================== --- web/presentations/trunk/slides/intro/crock1.xml (rev 0) +++ web/presentations/trunk/slides/intro/crock1.xml 2011-09-23 21:11:58 UTC (rev 317219) @@ -0,0 +1,14 @@ +<slide title="Quiz 1"> + +<break lines="1" /> + +<example fontsize="3em" rfontsize="4em" result='1' title=""><![CDATA[<?php +function funky(&$o) { + $o = null; +} +$x = []; +funky($x); +var_dump($x); +]]></example> + +</slide> Added: web/presentations/trunk/slides/intro/crock2.xml =================================================================== --- web/presentations/trunk/slides/intro/crock2.xml (rev 0) +++ web/presentations/trunk/slides/intro/crock2.xml 2011-09-23 21:11:58 UTC (rev 317219) @@ -0,0 +1,13 @@ +<slide title="Quiz 2"> + +<break lines="1" /> + +<example fontsize="3em" rfontsize="4em" result='1' title=""><![CDATA[<?php +function swap(&$a, &$b) { + list($a, $b) = [$b, $a]; +} +$x = 1; $y = 2; +swap($x, $y); +echo $x;]]></example> + +</slide> Added: web/presentations/trunk/slides/intro/crock3.xml =================================================================== --- web/presentations/trunk/slides/intro/crock3.xml (rev 0) +++ web/presentations/trunk/slides/intro/crock3.xml 2011-09-23 21:11:58 UTC (rev 317219) @@ -0,0 +1,14 @@ +<slide title="Quiz 3"> + +<break lines="1" /> +<blurb fontsize="4em">Write a function that puts a value in a variable when it is finished</blurb> + +<example fontsize="2em" rfontsize="3em" result='1' title=""><![CDATA[<?php +function gimmepi(&$var) { + $result = M_PI; + $var = $result; +} +gimmepi($foo); +echo $foo;]]></example> + +</slide> Modified: web/presentations/trunk/webexpo2011.xml =================================================================== --- web/presentations/trunk/webexpo2011.xml 2011-09-23 20:37:58 UTC (rev 317218) +++ web/presentations/trunk/webexpo2011.xml 2011-09-23 21:11:58 UTC (rev 317219) @@ -34,9 +34,11 @@ <slide>slides/fowa/hist3.xml</slide> <slide>slides/fowa/hist4.xml</slide> <slide>slides/fowa/hist5.xml</slide> +<slide>slides/intro/crock1.xml</slide> +<slide>slides/intro/crock2.xml</slide> +<slide>slides/intro/crock3.xml</slide> <slide>slides/intro/howwon.xml</slide> <slide>slides/intro/rss_flickr.xml</slide> -<slide>slides/intro/api_geotwitter.xml</slide> <slide>slides/intro/api_yql1.xml</slide> <slide>slides/intro/api_yql2.xml</slide> <slide>slides/intro/api_flickr.xml</slide> @@ -46,7 +48,6 @@ <slide>slides/intro/Tech2011.xml</slide> <slide>slides/intro/performance_title.xml</slide> -<slide>slides/intro/web_servers.xml</slide> <slide>slides/intro/dev_tips1.xml</slide> <slide>slides/intro/dev_tips2.xml</slide> <slide>slides/intro/dev_tips3.xml</slide> @@ -69,7 +70,6 @@ <slide>slides/intro/php53_date.xml</slide> <slide>slides/intro/php53_spl.xml</slide> <slide>slides/intro/php53_fpm.xml</slide> -<slide>slides/intro/php53_openssl.xml</slide> <slide>slides/intro/php54_title.xml</slide> <slide>slides/intro/php54_perf.xml</slide> <slide>slides/intro/php54_removed.xml</slide>

« previous php.pres (#1748) next »