[PRES] [presentations] master: Tweaks to transitions

From: Date: Tue, 19 Nov 2024 12:07:17 +0000
Subject: [PRES] [presentations] master: Tweaks to transitions
Groups: php.pres 
Request: Send a blank email to pres+get-2461@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2024-11-19T12:02:58Z Commit: https://github.com/php/presentations/commit/4889185bfe258feda09f117ebbdf4a620310a596 Raw diff: https://github.com/php/presentations/commit/4889185bfe258feda09f117ebbdf4a620310a596.diff Tweaks to transitions Changed paths: M slides/internals/php84-grapheme-str-split-2.xml M slides/internals/php84-grapheme-str-split-3.xml M slides/internals/php84-grapheme-str-split.xml Diff: diff --git a/slides/internals/php84-grapheme-str-split-2.xml b/slides/internals/php84-grapheme-str-split-2.xml index 60b0169f..3f4fe9b6 100644 --- a/slides/internals/php84-grapheme-str-split-2.xml +++ b/slides/internals/php84-grapheme-str-split-2.xml @@ -1,10 +1,22 @@ <slide> <title>PHP 8.4: grapheme_str_split</title> -<example result="1"><![CDATA[<?php +<div effect="fade-in"> +<example><![CDATA[<?php foreach (mb_str_split("🙇‍♂️") as $element) { printf("%8s : %s\n", bin2hex($element), $element); } ?>]]></example> +</div> + +<div effect="fade-in"> +<blurb>Result:</blurb> +<example><![CDATA[ +f09f9987 : 🙇 + e2808d : ‍ + e29982 : ♂ + efb88f : ️ +]]></example> +</div> </slide> diff --git a/slides/internals/php84-grapheme-str-split-3.xml b/slides/internals/php84-grapheme-str-split-3.xml index a4f601bd..56e1eb0b 100644 --- a/slides/internals/php84-grapheme-str-split-3.xml +++ b/slides/internals/php84-grapheme-str-split-3.xml @@ -1,18 +1,40 @@ <slide> <title>PHP 8.4: grapheme_str_split</title> -<example result="1"><![CDATA[<?php +<div effect="fade-in"> +<example><![CDATA[<?php foreach (grapheme_str_split("🙇‍♂️") as $element) { printf("%8s : %s\n", bin2hex($element), $element); -} -?>]]></example> +}]]></example> +</div> + +<div effect="fade-in"> +<blurb>Result:</blurb> +<example><![CDATA[ +f09f9987e2808de29982efb88f : 🙇‍♂️ +]]></example> +</div> <div effect="fade-in"> -<example result="1"><![CDATA[<?php +<break lines="1"/> +<example><![CDATA[<?php foreach (grapheme_str_split("Hḁ̢̆llo 🇫🇷!") as $element) { printf("%20s : %s\n", bin2hex($element), $element); -} -?>]]></example> +}]]></example> +</div> + +<div effect="fade-in"> +<blurb>Result:</blurb> +<example><![CDATA[ + 48 : H + 61cc86cca2cca5 : ḁ̢̆ + 6c : l + 6c : l + 6f : o + 20 : + f09f87abf09f87b7 : 🇫🇷 + 21 : ! +]]></example> </div> </slide> diff --git a/slides/internals/php84-grapheme-str-split.xml b/slides/internals/php84-grapheme-str-split.xml index 69343c29..776f42fe 100644 --- a/slides/internals/php84-grapheme-str-split.xml +++ b/slides/internals/php84-grapheme-str-split.xml @@ -1,10 +1,31 @@ <slide> <title>PHP 8.4: grapheme_str_split</title> -<example result="1"><![CDATA[<?php +<div effect="fade-in"> +<example><![CDATA[<?php foreach (str_split("🙇‍♂️") as $element) { printf("%8s : %s\n", bin2hex($element), $element); } ?>]]></example> +</div> + +<div effect="fade-in"> +<blurb>Result:</blurb> +<example><![CDATA[ + f0 : � + 9f : � + 99 : � + 87 : � + e2 : � + 80 : � + 8d : � + e2 : � + 99 : � + 82 : � + ef : � + b8 : � + 8f : � +]]></example> +</div> </slide>

« previous php.pres (#2461) next »