com presentations: Tweaks: br14.html slides/intro/php7.xml
| From: | Rasmus Lerdorf | Date: | Wed, 03 Dec 2014 06:53:05 +0000 |
| Subject: | com presentations: Tweaks: br14.html slides/intro/php7.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-2016@lists.php.net to get a copy of this message | ||
Commit: 429c7d69d1ee970f4d5a80374dd23fb2f5fcf246
Author: Rasmus Lerdorf <rasmus@php.net> Tue, 2 Dec 2014 22:53:05 -0800
Parents: 6672405f4883165b135ed0018032f553b7ab31c5
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=429c7d69d1ee970f4d5a80374dd23fb2f5fcf246
Log:
Tweaks
Changed paths:
M br14.html
M slides/intro/php7.xml
Diff:
diff --git a/br14.html b/br14.html
index 142c747..a50f652 100644
--- a/br14.html
+++ b/br14.html
@@ -448,6 +448,18 @@ footer();</code></pre>
<h4 class="p">✔ Abstract Syntax Tree</h4>
<h4 class="p">✔ 64-bit integer support on Windows</h4>
<h4 class="p">✔ Catchable "call to member function of
non-object"</h4>
+ <h4 class="p">✔ Various cleanups (remove old ASP/script tags and
more)</h4>
+ </section>
+<section id="php7coalesce">
+ <h4 class="p">✔ Null Coalesce Operator</h4>
+ <pre><code>$a = NULL;
+$b = 1;
+$c = 2;
+
+echo $a ?? $b; // 1
+echo $c ?? $b; // 2
+echo $a ?? $b ?? $c; // 1
+echo $a ?? $x ?? $c; // 2</code></pre>
</section>
<section id="php7UVS">
<h4 class="p">✔ Uniform variable syntax</h4>
@@ -485,7 +497,8 @@ $foo()()
[$obj, 'method']()
'Foo'::$bar</code></pre>
<h4 class="p"> </h4>
- <p class="p">Still very early. Many more things will likely be added</p>
+ <p class="p">Still early. More things will likely be added</p>
+ <p class="p">First RC scheduled for June 2015</p>
</section> </section>
<section>
<img src="/presentations/slides/intro/lovehack-white-1000.png"
width="1001" height="421">
diff --git a/slides/intro/php7.xml b/slides/intro/php7.xml
index 2313710..db5ab04 100644
--- a/slides/intro/php7.xml
+++ b/slides/intro/php7.xml
@@ -15,6 +15,21 @@
<blurb fontsize="4em">✔ Catchable "call to member function of
non-object"</blurb>
+<blurb fontsize="4em">✔ Various cleanups (remove old ASP/script tags and
more)</blurb>
+
+<break lines="1" section="php7coalesce"/>
+<blurb fontsize="4em">✔ Null Coalesce Operator</blurb>
+<example fontsize="2em" marginleft="7em" result='0'
title=""><![CDATA[<?php
+$a = NULL;
+$b = 1;
+$c = 2;
+
+echo $a ?? $b; // 1
+echo $c ?? $b; // 2
+echo $a ?? $b ?? $c; // 1
+echo $a ?? $x ?? $c; // 2
+]]></example>
+
<break lines="1" section="php7UVS"/>
<blurb fontsize="4em">✔ Uniform variable syntax</blurb>
@@ -56,5 +71,7 @@ $foo()()
<blurb fontsize="4em"> </blurb>
-<blurb fontsize="3em">Still very early. Many more things will likely be
added</blurb>
+<blurb fontsize="3em">Still early. More things will likely be added</blurb>
+
+<blurb fontsize="3em">First RC scheduled for June 2015</blurb>
</slide>