com presentations: PHP London talk: php-london20.xml slides/internals/php74-null-coalesce-assignment.xml slides/internals/php74-numeric-literal-separator.xml slides/internals/php74-variance-properties-ok.xml slides/internals/php74-variance-properties-wrong.xml slides/internals/radians.png slides/xdebug/cc-speedup.xml slides/xdebug/xdebug-2.9.xml
[email protected] (Derick Rethans) Thu, 02 Jan 2020 10:39:04 +0000
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: acfb146bd45006bb151ba4d0486719f4b15e8a05 Author: Derick Rethans <[email protected]> Thu, 2 Jan 2020 10:39:04 +0000 Parents: bcbe5b0fad1aa06b40a708379ecae08248eca7a7 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=acfb146bd45006bb151ba4d0486719f4b15e8a05 Log: PHP London talk Changed paths: A php-london20.xml M slides/internals/php74-null-coalesce-assignment.xml M slides/internals/php74-numeric-literal-separator.xml M slides/internals/php74-variance-properties-ok.xml M slides/internals/php74-variance-properties-wrong.xml A slides/internals/radians.png A slides/xdebug/cc-speedup.xml A slides/xdebug/xdebug-2.9.xml Diff: diff --git a/php-london20.xml b/php-london20.xml new file mode 100644 index 00000000..06946fb8 --- /dev/null +++ b/php-london20.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8"?> +<presentation css="derick.css"> +<topic>PHP</topic> +<title>The La(te)st PHP 7 — What's new in PHP 7.4</title> +<event>PHP London</event> +<location>London, UK</location> +<date>January 2nd, 2020</date> +<speaker>Derick Rethans</speaker> +<email>[email protected]</email> +<twitter>derickr</twitter> +<url>https://derickrethans.nl/talks/php-london20</url> +<joindin></joindin> +<slide>slides/xdebug/title.xml</slide> +<slide>slides/mongodb/me.xml</slide> + +<slide>slides/internals/php74-typed-properties.xml</slide> +<slide>slides/internals/php74-typed-properties-read.xml</slide> +<slide>slides/internals/php74-typed-properties-write.xml</slide> +<slide>slides/internals/php74-typed-properties-write-coersive.xml</slide> +<slide>slides/internals/php74-typed-properties-write-strict.xml</slide> +<slide>slides/internals/php74-variance-return-ok.xml</slide> +<slide>slides/internals/php74-variance-return-wrong.xml</slide> +<slide>slides/internals/php74-variance-argument-ok.xml</slide> +<slide>slides/internals/php74-variance-argument-wrong.xml</slide> +<slide>slides/internals/php74-variance-properties-ok.xml</slide> +<slide>slides/internals/php74-variance-properties-wrong.xml</slide> + +<slide>slides/internals/php74-null-coalesce-assignment.xml</slide> +<slide>slides/internals/php74-spread-operator.xml</slide> +<slide>slides/internals/php74-invalid-container-read.xml</slide> + +<slide>slides/internals/php74-ffi.xml</slide> +<slide>slides/internals/php74-ffi-example.xml</slide> +<slide>slides/internals/php74-preloading.xml</slide> +<slide>slides/internals/php74-preloading-setup.xml</slide> +<slide>slides/internals/php74-preloading-zf.xml</slide> +<slide>slides/internals/php74-preloading-with-ffi.xml</slide> + +<slide>slides/internals/php74-reference-reflection.xml</slide> +<slide>slides/internals/php74-custom-serialization.xml</slide> +<slide>slides/internals/php74-custom-serialization-inheritence.xml</slide> + +<slide>slides/internals/php74-always-hash.xml</slide> +<slide>slides/internals/php74-unbundle.xml</slide> + +<slide>slides/xdebug/phpinternalsnews.xml</slide> +<slide>slides/internals/phpinternalsnews-me.xml</slide> + +<slide>slides/internals/php74-saner-string-number-comparisons.xml</slide> +<slide>slides/internals/php74-weakref.xml</slide> +<slide>slides/internals/php74-short-arrow-functions.xml</slide> +<slide>slides/internals/php74-short-arrow-functions-example.xml</slide> +<slide>slides/internals/php74-lsp-operator-precedence-lsp.xml</slide> +<slide>slides/internals/php74-operator-precedence-ternary.xml</slide> +<slide>slides/internals/php74-concat-operator-precedence.xml</slide> +<slide>slides/internals/php74-hash-argon.xml</slide> +<slide>slides/internals/php74-__tostring-exceptions.xml</slide> +<slide>slides/internals/php74-base-convert.xml</slide> +<slide>slides/internals/php74-numeric-literal-separator.xml</slide> +<slide>slides/internals/php74-deprecate-curly-brace.xml</slide> +<slide>slides/internals/php74-postgresql-escape.xml</slide> +<!-- <slide>slides/internals/php74-arginfo.xml</slide> --> +<slide>slides/internals/php74-deprecations.xml</slide> +<slide>slides/internals/php74-timeline.xml</slide> + +<slide>slides/internals/questions-new.xml</slide> +<slide>slides/xdebug/resources.xml</slide> + +</presentation> diff --git a/slides/internals/php74-null-coalesce-assignment.xml b/slides/internals/php74-null-coalesce-assignment.xml index c876bca9..bb8e3041 100644 --- a/slides/internals/php74-null-coalesce-assignment.xml +++ b/slides/internals/php74-null-coalesce-assignment.xml @@ -1,6 +1,7 @@ <slide> <title>Null Coalescing Assignment Operator</title> +<image filename="radians.png" align="right"/> Null Coalescing Assignment Operator — Midori Kocak https://wiki.php.net/rfc/null_coalesce_equal_operator — https://github.com/php/php-src/pull/1795 diff --git a/slides/internals/php74-numeric-literal-separator.xml b/slides/internals/php74-numeric-literal-separator.xml index cd84a30b..199e0275 100644 --- a/slides/internals/php74-numeric-literal-separator.xml +++ b/slides/internals/php74-numeric-literal-separator.xml @@ -42,8 +42,8 @@ $gpio = 0b01010100_01101000_01100101_01101111; <blurb>To avoid:</blurb> <example> -$phoneNumber = 345_6789; -$creditCard = 231_6547_9081_2543; +$phoneNumber = 44_7503_067089; +$creditCard = 4231_6547_9081_2543; $socialSecurity = 111_11_1111; </example> </div> diff --git a/slides/internals/php74-variance-properties-ok.xml b/slides/internals/php74-variance-properties-ok.xml index b6ae151f..65380820 100644 --- a/slides/internals/php74-variance-properties-ok.xml +++ b/slides/internals/php74-variance-properties-ok.xml @@ -11,12 +11,12 @@ typed properties are invariant class 🌐sphere {} class 🌏planet extends 🌐sphere {} -class Bakery +class Copernicus { public 🌏planet $gravity; } -class Patisserie extends Bakery +class Galileo extends Copernicus { public 🌏planet $gravity; } diff --git a/slides/internals/php74-variance-properties-wrong.xml b/slides/internals/php74-variance-properties-wrong.xml index b46cb2ab..4f18741f 100644 --- a/slides/internals/php74-variance-properties-wrong.xml +++ b/slides/internals/php74-variance-properties-wrong.xml @@ -11,19 +11,19 @@ typed properties are invariant class 🌐sphere {} class 🌏planet extends 🌐sphere {} -class Bakery +class Copernicus { - public 🌐sphere $temperature; + public 🌐sphere $gravity; } -class Patisserie extends Bakery +class Galileo extends Copernicus { - public 🌏planet $temperature; + public 🌏planet $gravity; } ?> </example> -<blurb class="error">Fatal error: Type of Patisserie::$temperature must be 🌐sphere (as in class Bakery)</blurb> +<blurb class="error">Fatal error: Type of Galileo::$gravity must be 🌐sphere (as in class Copernicus)</blurb> <break lines="2"/> <blurb class="center">Property types are *in-variant*:<br/>~they can *not* represent a more specific or a more broad type~</blurb> </slide> diff --git a/slides/internals/radians.png b/slides/internals/radians.png new file mode 100644 index 00000000..77e34ec3 Binary files /dev/null and b/slides/internals/radians.png differ diff --git a/slides/xdebug/cc-speedup.xml b/slides/xdebug/cc-speedup.xml new file mode 100644 index 00000000..8795c055 --- /dev/null +++ b/slides/xdebug/cc-speedup.xml @@ -0,0 +1,11 @@ +<slide> +<title>Xdebug 2.9: Code Coverage</title> + +<blurb class="center">Running time of Zeta Document package tests</blurb> +<break lines="3"/> +<div effect="fade-in"><blurb class="center">*2.7.2*: Time: 2.83 minutes</blurb></div> +<div effect="fade-in"><blurb class="center">*2.8.0*: Time: 46.04 minutes</blurb></div> +<div effect="fade-in"><blurb class="center">*2.8.1*: Time: 22.26 minutes</blurb></div> +<div effect="fade-in"><blurb class="center">*2.9.0*: Time: *1.21* minutes</blurb></div> + +</slide> diff --git a/slides/xdebug/xdebug-2.9.xml b/slides/xdebug/xdebug-2.9.xml new file mode 100644 index 00000000..198fb05c --- /dev/null +++ b/slides/xdebug/xdebug-2.9.xml @@ -0,0 +1,4 @@ +<slide class="title"> +<break lines="8"/> +<blurb class="big-centre">Xdebug 2.9</blurb> +</slide>