com presentations: Fix code sample to use with PHP 7.4: slides/intro/php7-dce-vld.xml

From: Date: Fri, 06 Dec 2019 10:31:11 +0000
Subject: com presentations: Fix code sample to use with PHP 7.4: slides/intro/php7-dce-vld.xml
Groups: php.pres 
Request: Send a blank email to pres+get-2374@lists.php.net to get a copy of this message
Commit: 0c041dc7a1e5cdc6d3dce49fedf63b8ca8046f02 Author: Derick Rethans <github@derickrethans.nl> Fri, 6 Dec 2019 10:31:11 +0000 Parents: 33f51df70bf579ffc9991183885753586f8cc770 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=0c041dc7a1e5cdc6d3dce49fedf63b8ca8046f02 Log: Fix code sample to use with PHP 7.4 Changed paths: M slides/intro/php7-dce-vld.xml Diff: diff --git a/slides/intro/php7-dce-vld.xml b/slides/intro/php7-dce-vld.xml index 50584edb..1da570e6 100644 --- a/slides/intro/php7-dce-vld.xml +++ b/slides/intro/php7-dce-vld.xml @@ -8,7 +8,7 @@ php -d opcache.optimization_level=-1 -d vld.active=1 script <example><![CDATA[ <?php -function fn() { +function example() { $a = 1; return 0; }

« previous php.pres (#2374) next »