svn: /web/presentations/trunk/slides/intro/ php54_arraywarn.xml php54_callable.xml php54_disc.xml php54_server.xml
| From: | Rasmus Lerdorf | Date: | Fri, 28 Oct 2011 16:21:50 +0000 |
| Subject: | svn: /web/presentations/trunk/slides/intro/ php54_arraywarn.xml php54_callable.xml php54_disc.xml php54_server.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1760@lists.php.net to get a copy of this message | ||
rasmus Fri, 28 Oct 2011 16:21:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=318526
Log:
Tweaks
Changed paths:
A web/presentations/trunk/slides/intro/php54_arraywarn.xml
A web/presentations/trunk/slides/intro/php54_callable.xml
U web/presentations/trunk/slides/intro/php54_disc.xml
A web/presentations/trunk/slides/intro/php54_server.xml
Added: web/presentations/trunk/slides/intro/php54_arraywarn.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_arraywarn.xml (rev 0)
+++ web/presentations/trunk/slides/intro/php54_arraywarn.xml 2011-10-28 16:21:50 UTC (rev 318526)
@@ -0,0 +1,9 @@
+<slide title="Array to String Warning">
+
+<blurb fontsize="4em">Array to String conversion notice</blurb>
+<example fontsize="2em" result='0'
title=""><![CDATA[<?php
+error_reporting(-1);
+$a = [1,2,3];
+echo $a;]]></example>
+
+</slide>
Added: web/presentations/trunk/slides/intro/php54_callable.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_callable.xml (rev 0)
+++ web/presentations/trunk/slides/intro/php54_callable.xml 2011-10-28 16:21:50 UTC (rev 318526)
@@ -0,0 +1,16 @@
+<slide title="Callable Typehint">
+
+<break lines="1" />
+<blurb fontsize="4em">Callable Typehint</blurb>
+<example fontsize="2em" result='0'
title=""><![CDATA[<?php
+function foo(callable $do) {
+ $do();
+}
+
+foo("phpinfo");
+foo(function() {});
+$o = new ArrayObject();
+foo(array($o, "count"));
+]]></example>
+
+</slide>
Modified: web/presentations/trunk/slides/intro/php54_disc.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_disc.xml 2011-10-28 16:21:04 UTC (rev 318525)
+++ web/presentations/trunk/slides/intro/php54_disc.xml 2011-10-28 16:21:50 UTC (rev 318526)
@@ -1,13 +1,6 @@
<slide title="Discussing">
<break lines="1" />
-<blurb fontsize="4em">Built-in Web server for testing</blurb>
-<example fontsize="2em" result='0' title=""
type="shell"><![CDATA[
-% php -S localhost:8000
-Server is listening on localhost:8000... Press CTRL-C to quit.
-]]></example>
-
-<break lines="1" />
<blurb fontsize="4em">method call/property access on instantiation</blurb>
<example fontsize="2em" result='0'
title=""><![CDATA[<?php
new foo()->bar()
Added: web/presentations/trunk/slides/intro/php54_server.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_server.xml (rev 0)
+++ web/presentations/trunk/slides/intro/php54_server.xml 2011-10-28 16:21:50 UTC (rev 318526)
@@ -0,0 +1,10 @@
+<slide title="Web Server">
+
+<break lines="1" />
+<blurb fontsize="4em">Built-in Web server for testing</blurb>
+<example fontsize="2em" result='0' title=""
type="shell"><![CDATA[
+% php -S localhost:8000
+Server is listening on localhost:8000... Press CTRL-C to quit.
+]]></example>
+
+</slide>