[presentations] master: Fix title here
[email protected] (Rasmus Lerdorf) Tue, 6 Dec 2022 22:00:51 +0000
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Author: Rasmus Lerdorf (rlerdorf)
Date: 2022-12-06T15:49:17-06:00
Commit: https://github.com/php/presentations/commit/87afbad427cf692542a8fcc54d775e3a7b3fb1c6
Raw diff: https://github.com/php/presentations/commit/87afbad427cf692542a8fcc54d775e3a7b3fb1c6.diff
Fix title here
Changed paths:
M etsymex22.html
M slides/intro/php81_2021.xml
Diff:
diff --git a/etsymex22.html b/etsymex22.html
index 95b9b68d..1aa9f2d3 100644
--- a/etsymex22.html
+++ b/etsymex22.html
@@ -615,7 +615,7 @@ <h1 style="text-align:center;">PHP 8.1</h1>
}</code></pre>
</section>
<section id="php81_first_class_callable" >
- <p class="p" style="font-size:1.1em;text-align:left;">new expressions can be used in initializers</p>
+ <p class="p" style="font-size:1.1em;text-align:left;">First-class callables</p>
<pre><code class="php" data-trim style="font-size:1em;" >$fn = strlen(...);
$fn = $this->method(...)
$fn = Foo::method(...);
diff --git a/slides/intro/php81_2021.xml b/slides/intro/php81_2021.xml
index f0729fbb..b8e10667 100644
--- a/slides/intro/php81_2021.xml
+++ b/slides/intro/php81_2021.xml
@@ -116,7 +116,7 @@ class Test {
]]></example>
<break lines="1" section="php81_first_class_callable"/>
-<blurb fontsize="1.1em" align="left">new expressions can be used in initializers</blurb>
+<blurb fontsize="1.1em" align="left">First-class callables</blurb>
<example fontsize="1em" result='0' title="" type="php"><![CDATA[<?php
$fn = strlen(...);
$fn = $this->method(...)