com presentations: Tweaks: confoo19.html confoo19.xml slides/intro/php74_2019.xml

[email protected] (Rasmus Lerdorf) Fri, 15 Mar 2019 11:34:28 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    9fbfead8025e0ef549cfff0755519ece47289b43
Author:    Rasmus Lerdorf <[email protected]>         Fri, 15 Mar 2019 07:34:28 -0400
Parents:   ef4dca69b4f7aa2ca717b54b1de0d862c27c2bb5
Branches:  master

Link:       http://git.php.net/?p=presentations.git;a=commitdiff;h=9fbfead8025e0ef549cfff0755519ece47289b43

Log:
Tweaks

Changed paths:
  M  confoo19.html
  M  confoo19.xml
  M  slides/intro/php74_2019.xml


Diff:
diff --git a/confoo19.html b/confoo19.html
index d22f602..0dec728 100644
--- a/confoo19.html
+++ b/confoo19.html
@@ -125,8 +125,8 @@
 			<div class="slides">
 				<section>
 					<h1>PHP in 2019</h1>
-					<h3>Confoop</h3>
-					<h3>London</h3>
+					<h3>Confoo</h3>
+					<h3>Montréal</h3>
 					<h3>Mar.15, 2019</h3>
 					<a href="http://talks.php.net/confoo19">http://talks.php.net/confoo19</a><br><br>
 					<p>Rasmus Lerdorf<br>
@@ -838,6 +838,11 @@ $ cat /tmp/output | stackcollapse-phpspy.pl | flamegraph.pl &gt; flame.svg</code
 		<pre><code data-trim style="font-size:1em;" >$this-&gt;config['value']   = $this-&gt;config['value'] ?? 'default_value';
 $this-&gt;config['value'] ??= 'default_value';</code></pre>
 		</section>
+<section id="weakref">
+		<p class="p" style="font-size:1em;text-align:left;">Weak References</p>
+		<pre><code data-trim style="font-size:1em;" >$std = new stdClass;
+$wr = WeakReference::create($std);</code></pre>
+		</section>
 <section id="php74_preload">
 		<p class="p" style="font-size:1em;text-align:left;">Without Opcache Preloading</p>
 		<pre><code data-trim style="font-size:1.1em;" >class A {
diff --git a/confoo19.xml b/confoo19.xml
index 2c849ef..09a143a 100644
--- a/confoo19.xml
+++ b/confoo19.xml
@@ -15,8 +15,8 @@
 
 <topic>PHP</topic>
 <title>PHP in 2019</title>
-<event>Confoop</event>
-<location>London</location>
+<event>Confoo</event>
+<location>Montréal</location>
 <date>Mar.15, 2019</date>
 <speaker>Rasmus Lerdorf</speaker>
 <url>http://talks.php.net/confoo19</url>
diff --git a/slides/intro/php74_2019.xml b/slides/intro/php74_2019.xml
index e4ac521..9c3641c 100644
--- a/slides/intro/php74_2019.xml
+++ b/slides/intro/php74_2019.xml
@@ -26,6 +26,15 @@ $this->config['value']   = $this->config['value'] ?? 'default_value';
 $this->config['value'] ??= 'default_value';
 ]]></example>
 
+<break lines="1" section="weakref"/>
+
+<blurb fontsize="1em" align="left">Weak References</blurb>
+
+<example fontsize="1em" result='0' title="" type=""><![CDATA[<?php
+$std = new stdClass;
+$wr = WeakReference::create($std);
+]]></example>
+
 <break lines="1" section="php74_preload"/>
 <blurb fontsize="1em" align="left">Without Opcache Preloading</blurb>