svn: /web/presentations/trunk/slides/intro/ php54_binary.xml php54_disc.xml php54_emsgs.xml php54_sarrays.xml
| From: | Rasmus Lerdorf | Date: | Thu, 28 Jul 2011 15:47:54 +0000 |
| Subject: | svn: /web/presentations/trunk/slides/intro/ php54_binary.xml php54_disc.xml php54_emsgs.xml php54_sarrays.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1739@lists.php.net to get a copy of this message | ||
rasmus Thu, 28 Jul 2011 15:47:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313886
Log:
Tweaks
Changed paths:
A web/presentations/trunk/slides/intro/php54_binary.xml
U web/presentations/trunk/slides/intro/php54_disc.xml
A web/presentations/trunk/slides/intro/php54_emsgs.xml
A web/presentations/trunk/slides/intro/php54_sarrays.xml
Added: web/presentations/trunk/slides/intro/php54_binary.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_binary.xml (rev 0)
+++ web/presentations/trunk/slides/intro/php54_binary.xml 2011-07-28 15:47:54 UTC (rev 313886)
@@ -0,0 +1,8 @@
+<slide title="Binary Notation">
+
+<blurb fontsize="4em">To go along with PHP's octal and hex
notation</blurb>
+<example fontsize="2em" result='0'
title=""><![CDATA[<?php
+$mask = 0b010101;
+?>]]></example>
+
+</slide>
Modified: web/presentations/trunk/slides/intro/php54_disc.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_disc.xml 2011-07-28 15:47:27 UTC (rev 313885)
+++ web/presentations/trunk/slides/intro/php54_disc.xml 2011-07-28 15:47:54 UTC (rev 313886)
@@ -1,11 +1,5 @@
<slide title="Discussing">
-<blurb fontsize="4em">Short syntax for arrays</blurb>
-<example fontsize="2em" result='0'
title=""><![CDATA[<?php
-$a = [1, 2, 3];
-$b = ['foo' => 'orange', 'bar' => 'apple'];
-?>]]></example>
-
<break lines="1" />
<blurb fontsize="4em">Built-in Web server for testing</blurb>
<example fontsize="2em" result='0' title=""
type="shell"><![CDATA[
@@ -25,10 +19,4 @@
foo()();
?>]]></example>
-<break lines="1" />
-<blurb fontsize="4em">Binary notation</blurb>
-<example fontsize="2em" result='0'
title=""><![CDATA[<?php
-$mask = 0b010101;
-?>]]></example>
-
</slide>
Added: web/presentations/trunk/slides/intro/php54_emsgs.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_emsgs.xml (rev 0)
+++ web/presentations/trunk/slides/intro/php54_emsgs.xml 2011-07-28 15:47:54 UTC (rev 313886)
@@ -0,0 +1,21 @@
+<slide title="Improved Error Messages">
+
+<blurb fontsize="4em">Slightly improved error messages</blurb>
+<example fontsize="1.5em" result='0' title=""
type="shell"><![CDATA[
+% php -r 'class abc foo'
+
+Parse error: syntax error, unexpected 'foo' (T_STRING), expecting '{'
+in Command line code on line
+
+]]></example>
+
+<blurb fontsize="5.5em">vs.</blurb>
+<example fontsize="1.5em" result='0' title=""
type="shell"><![CDATA[
+% php -r 'class abc foo'
+
+Parse error: syntax error, unexpected T_STRING, expecting '{'
+in Command line code on line 1
+
+]]></example>
+
+</slide>
Added: web/presentations/trunk/slides/intro/php54_sarrays.xml
===================================================================
--- web/presentations/trunk/slides/intro/php54_sarrays.xml (rev 0)
+++ web/presentations/trunk/slides/intro/php54_sarrays.xml 2011-07-28 15:47:54 UTC (rev 313886)
@@ -0,0 +1,9 @@
+<slide title="Short Array Syntax">
+
+<blurb fontsize="4em">You can leave out array() and use []'s now</blurb>
+<example fontsize="2em" result='0'
title=""><![CDATA[<?php
+$a = [1, 2, 3];
+$b = ['foo' => 'orange', 'bar' => 'apple'];
+?>]]></example>
+
+</slide>