cvs: presentations /slides/intro header.xml image.xml ming.php numbers.xml php-solution.xml php5_call.xml php5_private.xml php5_protected.xml
php5_setget.xml phpstats.png stop.xml streams.xml txt.php
| From: | Rasmus Lerdorf | Date: | Sat, 17 Jul 2004 21:30:09 +0000 |
| Subject: | cvs: presentations /slides/intro header.xml image.xml ming.php numbers.xml php-solution.xml php5_call.xml php5_private.xml php5_protected.xml php5_setget.xml phpstats.png stop.xml streams.xml txt.php |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1010@lists.php.net to get a copy of this message | ||
rasmus Sat Jul 17 17:30:09 2004 EDT
Modified files:
/presentations/slides/intro header.xml image.xml ming.php
numbers.xml php-solution.xml
php5_call.xml php5_private.xml
php5_protected.xml php5_setget.xml
phpstats.png stop.xml streams.xml
txt.php
Log:
Some uncommitted changes
http://cvs.php.net/diff.php/presentations/slides/intro/header.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/header.xml diff -u presentations/slides/intro/header.xml:1.3 presentations/slides/intro/header.xml:1.4 --- presentations/slides/intro/header.xml:1.3 Sun Dec 15 13:38:52 2002 +++ presentations/slides/intro/header.xml Sat Jul 17 17:30:08 2004 @@ -6,10 +6,10 @@ headers before outputting any data. So, put any such header calls at the top of your script. </blurb> -<example title="Redirection"><![CDATA[<?header('Location: http://www.php.net')?>]]></example> +<example title="Redirection"><![CDATA[<?php header('Location: http://www.php.net')?>]]></example> <h3>Setting a Last-Modified Header</h3> -<example title="Setting a Last-Modified Header"><![CDATA[<?header('Last-Modified: '. +<example title="Setting a Last-Modified Header"><![CDATA[<?php header('Last-Modified: '. gmdate('D, d M Y H:i:s',getlastmod()).' GMT')?>]]></example> <example title="Avoid all Caching"><![CDATA[<?php http://cvs.php.net/diff.php/presentations/slides/intro/image.xml?r1=1.7&r2=1.8&ty=u Index: presentations/slides/intro/image.xml diff -u presentations/slides/intro/image.xml:1.7 presentations/slides/intro/image.xml:1.8 --- presentations/slides/intro/image.xml:1.7 Wed Oct 8 18:50:12 2003 +++ presentations/slides/intro/image.xml Sat Jul 17 17:30:08 2004 @@ -1,9 +1,9 @@ <slide title="GD 1/2" outputbackground="#5b69a6"> <example title="Creating a PNG with a TrueType font" filename="txt.php" fontsize="1.5em"/> -<example fontsize="1.5em"><![CDATA[<IMG src="txt.php?text=<?echo urlencode($text)?>">]]></example> +<example fontsize="1.5em"><![CDATA[<IMG src="txt.php?text=<?php echo urlencode($text)?>">]]></example> -<example hide="1" result="1" rwidth="650"><![CDATA[<?if(!empty($text)) { +<example hide="1" result="1" rwidth="650"><![CDATA[<?php if(!empty($text)) { echo "<IMG src=\"presentations/slides/intro/txt.php?text=".urlencode($text)."\">"; } else $text = 'Cool Dynamic Images!'; echo "<form action=\"$PHP_SELF?$QUERY_STRING\" method=POST>\n"; http://cvs.php.net/diff.php/presentations/slides/intro/ming.php?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/ming.php diff -u presentations/slides/intro/ming.php:1.3 presentations/slides/intro/ming.php:1.4 --- presentations/slides/intro/ming.php:1.3 Sun Oct 20 11:28:55 2002 +++ presentations/slides/intro/ming.php Sat Jul 17 17:30:08 2004 @@ -1,4 +1,4 @@ -<? +<?php $s = new SWFShape(); $fp = fopen('php-big.jpg','r'); $jpg = new SWFBitmap($fp); http://cvs.php.net/diff.php/presentations/slides/intro/numbers.xml?r1=1.18&r2=1.19&ty=u Index: presentations/slides/intro/numbers.xml diff -u presentations/slides/intro/numbers.xml:1.18 presentations/slides/intro/numbers.xml:1.19 --- presentations/slides/intro/numbers.xml:1.18 Tue Mar 23 17:35:27 2004 +++ presentations/slides/intro/numbers.xml Sat Jul 17 17:30:08 2004 @@ -1,28 +1,28 @@ <slide title="PHP is Big!"> <list> -<title>March 2004 Netcraft Report</title> -<bullet> 47,173,415 Domains queried</bullet> -<bullet> 15,054,623 Domains. 1,335,263 IP addresses</bullet> -<bullet>PHP installed on 33% of all domains</bullet> +<title>June 2004 Netcraft Report</title> +<bullet> 51,635,284 Domains queried</bullet> +<bullet> 16,251,453 Domains. 1,346,521 IP addresses</bullet> +<bullet>PHP installed on 31% of all domains</bullet> </list> <image filename="phpstats.png" align="center"/> <link href="http://www.netcraft.com" leader="Source: " align="right" marginright="6em">Netcraft</link> <list> -<title>March 2004 Apache Module Report</title> -<bullet>%9,868,332 Apache Servers surveyed%</bullet> -<bullet>% 5,248,457 (53.18\%) PHP%</bullet> -<bullet>% 2,741,015 (27.78\%) OpenSSL%</bullet> -<bullet>% 2,660,131 (26.96\%) mod_ssl%</bullet> -<bullet>% 1,951,713 (19.78\%) Frontpage%</bullet> -<bullet>% 1,559,519 (15.80\%) mod_perl%</bullet> -<bullet>% 425,370 (4.31\%) DAV%</bullet> -<bullet>% 418,542 (4.24\%) mod_log_bytes%</bullet> -<bullet>% 407,857 (4.13\%) mod_bwlimited%</bullet> -<bullet>% 379,098 (3.84\%) mod_throttle%</bullet> -<bullet>% 345,390 (3.50\%) mod_jk%</bullet> -<bullet>% 250,717 (2.54\%) mod_fastcgi%</bullet> -<bullet>% 224,012 (2.27\%) AuthMySQL%</bullet> +<title>June 2004 Apache Module Report</title> +<bullet>%10,520,690 Apache Servers surveyed%</bullet> +<bullet>% 5,449,296 (51.80\%) PHP%</bullet> +<bullet>% 2,874,196 (27.32\%) OpenSSL%</bullet> +<bullet>% 2,793,397 (26.55\%) mod_ssl%</bullet> +<bullet>% 2,044,270 (19.43\%) Frontpage%</bullet> +<bullet>% 1,586,713 (15.08\%) mod_perl%</bullet> +<bullet>% 497,312 (4.73\%) mod_log_bytes%</bullet> +<bullet>% 482,058 (4.58\%) mod_bwlimited%</bullet> +<bullet>% 455,216 (4.33\%) DAV%</bullet> +<bullet>% 431,320 (4.10\%) mod_throttle%</bullet> +<bullet>% 376,234 (3.58\%) mod_jk%</bullet> +<bullet>% 266,823 (2.54\%) mod_fastcgi%</bullet> +<bullet>% 194,000 (1.84\%) mod_auth_pam%</bullet> </list> <link href="http://www.securityspace.com/s_survey/data/index.html" leader="Source: ">SecuritySpace.com</link> http://cvs.php.net/diff.php/presentations/slides/intro/php-solution.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php-solution.xml diff -u presentations/slides/intro/php-solution.xml:1.1 presentations/slides/intro/php-solution.xml:1.2 --- presentations/slides/intro/php-solution.xml:1.1 Sat Apr 26 13:52:13 2003 +++ presentations/slides/intro/php-solution.xml Sat Jul 17 17:30:08 2004 @@ -14,7 +14,7 @@ <bullet type="lozenge">Work everywhere</bullet> </list> <list title="Bonus" fontsize="4em"> -<bullet type="oplus">Be Free</bullet> -<bullet type="oplus">Teach the basics by not hiding the problem</bullet> +<bullet type="lozenge">Be Free</bullet> +<bullet type="lozenge">Teach the basics by not hiding the problem</bullet> </list> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_call.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_call.xml diff -u presentations/slides/intro/php5_call.xml:1.1 presentations/slides/intro/php5_call.xml:1.2 --- presentations/slides/intro/php5_call.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_call.xml Sat Jul 17 17:30:08 2004 @@ -16,6 +16,6 @@ $h->anton(); ?>]]></example> -<example><![CDATA[Hello Rusty! +<example hide="1" result="1"><![CDATA[Hello Rusty!<br /> Hello Anton!]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_private.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_private.xml diff -u presentations/slides/intro/php5_private.xml:1.1 presentations/slides/intro/php5_private.xml:1.2 --- presentations/slides/intro/php5_private.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_private.xml Sat Jul 17 17:30:08 2004 @@ -19,5 +19,5 @@ echo $br->action. "\n"; ?>]]></example> -<example><![CDATA[Fatal error: Cannot access private property bedroom::$action in foo.php on line 12]]></example> +<example hide="1" result="1"><![CDATA[Fatal error: Cannot access private property bedroom::$action in foo.php on line 12]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_protected.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_protected.xml diff -u presentations/slides/intro/php5_protected.xml:1.1 presentations/slides/intro/php5_protected.xml:1.2 --- presentations/slides/intro/php5_protected.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_protected.xml Sat Jul 17 17:30:08 2004 @@ -2,6 +2,8 @@ <blurb> Only accessable/callable by the same, or an inherited class. +Here we see a call to a protected method from the global scope +being rejected. </blurb> <example><![CDATA[<?php @@ -29,4 +31,8 @@ $br = new Bedroom(); $br->peek(); /* Doesn't work */ ?>]]></example> + +<example hide="1" result="1"><![CDATA[fun<br /> +Fatal error: Call to protected method Bedroom::peek() from context '' in script.php on line 24]]></example> + </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_setget.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_setget.xml diff -u presentations/slides/intro/php5_setget.xml:1.1 presentations/slides/intro/php5_setget.xml:1.2 --- presentations/slides/intro/php5_setget.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_setget.xml Sat Jul 17 17:30:08 2004 @@ -26,7 +26,7 @@ var_dump($osses->getNames()); ?>]]></example> -<example><![CDATA[array(1) { +<example hide="1" result="1"><![CDATA[array(1) { ["linux"]=> string(5) "rocks" }]]></example> http://cvs.php.net/diff.php/presentations/slides/intro/phpstats.png?r1=1.11&r2=1.12&ty=u Index: presentations/slides/intro/phpstats.png http://cvs.php.net/diff.php/presentations/slides/intro/stop.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/intro/stop.xml diff -u presentations/slides/intro/stop.xml:1.2 presentations/slides/intro/stop.xml:1.3 --- presentations/slides/intro/stop.xml:1.2 Tue Jun 29 03:47:56 2004 +++ presentations/slides/intro/stop.xml Sat Jul 17 17:30:08 2004 @@ -7,7 +7,7 @@ nobody is using it. </blurb> -<image filename="carl-lt.jpg" align="center" /> +<image filename="eif.sized.jpg" align="center" /> <blurb> Once you have located all the low-hanging fruit, further http://cvs.php.net/diff.php/presentations/slides/intro/streams.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/streams.xml diff -u presentations/slides/intro/streams.xml:1.1 presentations/slides/intro/streams.xml:1.2 --- presentations/slides/intro/streams.xml:1.1 Tue Jan 20 13:37:16 2004 +++ presentations/slides/intro/streams.xml Sat Jul 17 17:30:08 2004 @@ -9,22 +9,22 @@ echo "</pre>"; ?>]]></example> -<example fontsize="1.8em"><![CDATA[Array -( - [0] => php - [1] => file - [2] => http - [3] => ftp - [4] => compress.zlib -) - -Array -( - [0] => string.rot13 - [1] => string.toupper - [2] => string.tolower - [3] => string.strip_tags - [4] => convert.* +<example fontsize="1.8em" hide="1" result="1"><![CDATA[Array<br /> +(<br /> + [0] => php<br /> + [1] => file<br /> + [2] => http<br /> + [3] => ftp<br /> + [4] => compress.zlib<br /> +)<br /> +<br /> +Array<br /> +(<br /> + [0] => string.rot13<br /> + [1] => string.toupper<br /> + [2] => string.tolower<br /> + [3] => string.strip_tags<br /> + [4] => convert.*<br /> )]]></example> <example title="Examples" fontsize="1.4em"><![CDATA[<?php http://cvs.php.net/diff.php/presentations/slides/intro/txt.php?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/txt.php diff -u presentations/slides/intro/txt.php:1.3 presentations/slides/intro/txt.php:1.4 --- presentations/slides/intro/txt.php:1.3 Sat Apr 26 13:44:23 2003 +++ presentations/slides/intro/txt.php Sat Jul 17 17:30:08 2004 @@ -1,4 +1,4 @@ -<? +<?php Header("Content-type: image/png"); $im = ImageCreate(630,80); $blue = ImageColorAllocate($im,0x5B,0x69,0xA6);
http://cvs.php.net/diff.php/presentations/slides/intro/header.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/header.xml diff -u presentations/slides/intro/header.xml:1.3 presentations/slides/intro/header.xml:1.4 --- presentations/slides/intro/header.xml:1.3 Sun Dec 15 13:38:52 2002 +++ presentations/slides/intro/header.xml Sat Jul 17 17:30:08 2004 @@ -6,10 +6,10 @@ headers before outputting any data. So, put any such header calls at the top of your script. </blurb> -<example title="Redirection"><![CDATA[<?header('Location: http://www.php.net')?>]]></example> +<example title="Redirection"><![CDATA[<?php header('Location: http://www.php.net')?>]]></example> <h3>Setting a Last-Modified Header</h3> -<example title="Setting a Last-Modified Header"><![CDATA[<?header('Last-Modified: '. +<example title="Setting a Last-Modified Header"><![CDATA[<?php header('Last-Modified: '. gmdate('D, d M Y H:i:s',getlastmod()).' GMT')?>]]></example> <example title="Avoid all Caching"><![CDATA[<?php http://cvs.php.net/diff.php/presentations/slides/intro/image.xml?r1=1.7&r2=1.8&ty=u Index: presentations/slides/intro/image.xml diff -u presentations/slides/intro/image.xml:1.7 presentations/slides/intro/image.xml:1.8 --- presentations/slides/intro/image.xml:1.7 Wed Oct 8 18:50:12 2003 +++ presentations/slides/intro/image.xml Sat Jul 17 17:30:08 2004 @@ -1,9 +1,9 @@ <slide title="GD 1/2" outputbackground="#5b69a6"> <example title="Creating a PNG with a TrueType font" filename="txt.php" fontsize="1.5em"/> -<example fontsize="1.5em"><![CDATA[<IMG src="txt.php?text=<?echo urlencode($text)?>">]]></example> +<example fontsize="1.5em"><![CDATA[<IMG src="txt.php?text=<?php echo urlencode($text)?>">]]></example> -<example hide="1" result="1" rwidth="650"><![CDATA[<?if(!empty($text)) { +<example hide="1" result="1" rwidth="650"><![CDATA[<?php if(!empty($text)) { echo "<IMG src=\"presentations/slides/intro/txt.php?text=".urlencode($text)."\">"; } else $text = 'Cool Dynamic Images!'; echo "<form action=\"$PHP_SELF?$QUERY_STRING\" method=POST>\n"; http://cvs.php.net/diff.php/presentations/slides/intro/ming.php?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/ming.php diff -u presentations/slides/intro/ming.php:1.3 presentations/slides/intro/ming.php:1.4 --- presentations/slides/intro/ming.php:1.3 Sun Oct 20 11:28:55 2002 +++ presentations/slides/intro/ming.php Sat Jul 17 17:30:08 2004 @@ -1,4 +1,4 @@ -<? +<?php $s = new SWFShape(); $fp = fopen('php-big.jpg','r'); $jpg = new SWFBitmap($fp); http://cvs.php.net/diff.php/presentations/slides/intro/numbers.xml?r1=1.18&r2=1.19&ty=u Index: presentations/slides/intro/numbers.xml diff -u presentations/slides/intro/numbers.xml:1.18 presentations/slides/intro/numbers.xml:1.19 --- presentations/slides/intro/numbers.xml:1.18 Tue Mar 23 17:35:27 2004 +++ presentations/slides/intro/numbers.xml Sat Jul 17 17:30:08 2004 @@ -1,28 +1,28 @@ <slide title="PHP is Big!"> <list> -<title>March 2004 Netcraft Report</title> -<bullet> 47,173,415 Domains queried</bullet> -<bullet> 15,054,623 Domains. 1,335,263 IP addresses</bullet> -<bullet>PHP installed on 33% of all domains</bullet> +<title>June 2004 Netcraft Report</title> +<bullet> 51,635,284 Domains queried</bullet> +<bullet> 16,251,453 Domains. 1,346,521 IP addresses</bullet> +<bullet>PHP installed on 31% of all domains</bullet> </list> <image filename="phpstats.png" align="center"/> <link href="http://www.netcraft.com" leader="Source: " align="right" marginright="6em">Netcraft</link> <list> -<title>March 2004 Apache Module Report</title> -<bullet>%9,868,332 Apache Servers surveyed%</bullet> -<bullet>% 5,248,457 (53.18\%) PHP%</bullet> -<bullet>% 2,741,015 (27.78\%) OpenSSL%</bullet> -<bullet>% 2,660,131 (26.96\%) mod_ssl%</bullet> -<bullet>% 1,951,713 (19.78\%) Frontpage%</bullet> -<bullet>% 1,559,519 (15.80\%) mod_perl%</bullet> -<bullet>% 425,370 (4.31\%) DAV%</bullet> -<bullet>% 418,542 (4.24\%) mod_log_bytes%</bullet> -<bullet>% 407,857 (4.13\%) mod_bwlimited%</bullet> -<bullet>% 379,098 (3.84\%) mod_throttle%</bullet> -<bullet>% 345,390 (3.50\%) mod_jk%</bullet> -<bullet>% 250,717 (2.54\%) mod_fastcgi%</bullet> -<bullet>% 224,012 (2.27\%) AuthMySQL%</bullet> +<title>June 2004 Apache Module Report</title> +<bullet>%10,520,690 Apache Servers surveyed%</bullet> +<bullet>% 5,449,296 (51.80\%) PHP%</bullet> +<bullet>% 2,874,196 (27.32\%) OpenSSL%</bullet> +<bullet>% 2,793,397 (26.55\%) mod_ssl%</bullet> +<bullet>% 2,044,270 (19.43\%) Frontpage%</bullet> +<bullet>% 1,586,713 (15.08\%) mod_perl%</bullet> +<bullet>% 497,312 (4.73\%) mod_log_bytes%</bullet> +<bullet>% 482,058 (4.58\%) mod_bwlimited%</bullet> +<bullet>% 455,216 (4.33\%) DAV%</bullet> +<bullet>% 431,320 (4.10\%) mod_throttle%</bullet> +<bullet>% 376,234 (3.58\%) mod_jk%</bullet> +<bullet>% 266,823 (2.54\%) mod_fastcgi%</bullet> +<bullet>% 194,000 (1.84\%) mod_auth_pam%</bullet> </list> <link href="http://www.securityspace.com/s_survey/data/index.html" leader="Source: ">SecuritySpace.com</link> http://cvs.php.net/diff.php/presentations/slides/intro/php-solution.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php-solution.xml diff -u presentations/slides/intro/php-solution.xml:1.1 presentations/slides/intro/php-solution.xml:1.2 --- presentations/slides/intro/php-solution.xml:1.1 Sat Apr 26 13:52:13 2003 +++ presentations/slides/intro/php-solution.xml Sat Jul 17 17:30:08 2004 @@ -14,7 +14,7 @@ <bullet type="lozenge">Work everywhere</bullet> </list> <list title="Bonus" fontsize="4em"> -<bullet type="oplus">Be Free</bullet> -<bullet type="oplus">Teach the basics by not hiding the problem</bullet> +<bullet type="lozenge">Be Free</bullet> +<bullet type="lozenge">Teach the basics by not hiding the problem</bullet> </list> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_call.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_call.xml diff -u presentations/slides/intro/php5_call.xml:1.1 presentations/slides/intro/php5_call.xml:1.2 --- presentations/slides/intro/php5_call.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_call.xml Sat Jul 17 17:30:08 2004 @@ -16,6 +16,6 @@ $h->anton(); ?>]]></example> -<example><![CDATA[Hello Rusty! +<example hide="1" result="1"><![CDATA[Hello Rusty!<br /> Hello Anton!]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_private.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_private.xml diff -u presentations/slides/intro/php5_private.xml:1.1 presentations/slides/intro/php5_private.xml:1.2 --- presentations/slides/intro/php5_private.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_private.xml Sat Jul 17 17:30:08 2004 @@ -19,5 +19,5 @@ echo $br->action. "\n"; ?>]]></example> -<example><![CDATA[Fatal error: Cannot access private property bedroom::$action in foo.php on line 12]]></example> +<example hide="1" result="1"><![CDATA[Fatal error: Cannot access private property bedroom::$action in foo.php on line 12]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_protected.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_protected.xml diff -u presentations/slides/intro/php5_protected.xml:1.1 presentations/slides/intro/php5_protected.xml:1.2 --- presentations/slides/intro/php5_protected.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_protected.xml Sat Jul 17 17:30:08 2004 @@ -2,6 +2,8 @@ <blurb> Only accessable/callable by the same, or an inherited class. +Here we see a call to a protected method from the global scope +being rejected. </blurb> <example><![CDATA[<?php @@ -29,4 +31,8 @@ $br = new Bedroom(); $br->peek(); /* Doesn't work */ ?>]]></example> + +<example hide="1" result="1"><![CDATA[fun<br /> +Fatal error: Call to protected method Bedroom::peek() from context '' in script.php on line 24]]></example> + </slide> http://cvs.php.net/diff.php/presentations/slides/intro/php5_setget.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_setget.xml diff -u presentations/slides/intro/php5_setget.xml:1.1 presentations/slides/intro/php5_setget.xml:1.2 --- presentations/slides/intro/php5_setget.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_setget.xml Sat Jul 17 17:30:08 2004 @@ -26,7 +26,7 @@ var_dump($osses->getNames()); ?>]]></example> -<example><![CDATA[array(1) { +<example hide="1" result="1"><![CDATA[array(1) { ["linux"]=> string(5) "rocks" }]]></example> http://cvs.php.net/diff.php/presentations/slides/intro/phpstats.png?r1=1.11&r2=1.12&ty=u Index: presentations/slides/intro/phpstats.png http://cvs.php.net/diff.php/presentations/slides/intro/stop.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/intro/stop.xml diff -u presentations/slides/intro/stop.xml:1.2 presentations/slides/intro/stop.xml:1.3 --- presentations/slides/intro/stop.xml:1.2 Tue Jun 29 03:47:56 2004 +++ presentations/slides/intro/stop.xml Sat Jul 17 17:30:08 2004 @@ -7,7 +7,7 @@ nobody is using it. </blurb> -<image filename="carl-lt.jpg" align="center" /> +<image filename="eif.sized.jpg" align="center" /> <blurb> Once you have located all the low-hanging fruit, further http://cvs.php.net/diff.php/presentations/slides/intro/streams.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/streams.xml diff -u presentations/slides/intro/streams.xml:1.1 presentations/slides/intro/streams.xml:1.2 --- presentations/slides/intro/streams.xml:1.1 Tue Jan 20 13:37:16 2004 +++ presentations/slides/intro/streams.xml Sat Jul 17 17:30:08 2004 @@ -9,22 +9,22 @@ echo "</pre>"; ?>]]></example> -<example fontsize="1.8em"><![CDATA[Array -( - [0] => php - [1] => file - [2] => http - [3] => ftp - [4] => compress.zlib -) - -Array -( - [0] => string.rot13 - [1] => string.toupper - [2] => string.tolower - [3] => string.strip_tags - [4] => convert.* +<example fontsize="1.8em" hide="1" result="1"><![CDATA[Array<br /> +(<br /> + [0] => php<br /> + [1] => file<br /> + [2] => http<br /> + [3] => ftp<br /> + [4] => compress.zlib<br /> +)<br /> +<br /> +Array<br /> +(<br /> + [0] => string.rot13<br /> + [1] => string.toupper<br /> + [2] => string.tolower<br /> + [3] => string.strip_tags<br /> + [4] => convert.*<br /> )]]></example> <example title="Examples" fontsize="1.4em"><![CDATA[<?php http://cvs.php.net/diff.php/presentations/slides/intro/txt.php?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/txt.php diff -u presentations/slides/intro/txt.php:1.3 presentations/slides/intro/txt.php:1.4 --- presentations/slides/intro/txt.php:1.3 Sat Apr 26 13:44:23 2003 +++ presentations/slides/intro/txt.php Sat Jul 17 17:30:08 2004 @@ -1,4 +1,4 @@ -<? +<?php Header("Content-type: image/png"); $im = ImageCreate(630,80); $blue = ImageColorAllocate($im,0x5B,0x69,0xA6);