com presentations: DPC talk: dpc12.xml slides/intro/contrib0.xml slides/intro/contrib1.xml slides/intro/contrib2.xml slides/intro/contrib3.xml
slides/intro/contrib4.xml slides/intro/contrib5.xml slides/intro/contrib6.xml slides/intro/contrib7.xml slides/intro/key_matter.xml sli
des/intro/php54.xml

From: Date: Thu, 07 Jun 2012 14:29:38 +0000
Subject: com presentations: DPC talk: dpc12.xml slides/intro/contrib0.xml slides/intro/contrib1.xml slides/intro/contrib2.xml slides/intro/contrib3.xml
slides/intro/contrib4.xml slides/intro/contrib5.xml slides/intro/contrib6.xml slides/intro/contrib7.xml slides/intro/key_matter.xml sli
des/intro/php54.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1811@lists.php.net to get a copy of this message
Commit: 2d124079cb2630144a08fad0e89324ed3243fbb2 Author: Rasmus Lerdorf <rasmus@php.net> Thu, 7 Jun 2012 16:29:38 +0200 Parents: 61189f51cf7048626ead82a0debd5c34d5348a8d Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=2d124079cb2630144a08fad0e89324ed3243fbb2 Log: DPC talk Changed paths: A dpc12.xml A slides/intro/contrib0.xml A slides/intro/contrib1.xml A slides/intro/contrib2.xml A slides/intro/contrib3.xml A slides/intro/contrib4.xml A slides/intro/contrib5.xml A slides/intro/contrib6.xml A slides/intro/contrib7.xml A slides/intro/key_matter.xml M slides/intro/php54.xml

diff --git a/dpc12.xml b/dpc12.xml new file mode 100644 index 0000000..9c58eba --- /dev/null +++ b/dpc12.xml @@ -0,0 +1,72 @@ +<presentation + template="simple" + navmode="html" + titlecolor="#000000" + navbarbackground="#bbbbbb" + navbartopiclinks="0" + logo1="images/php-med-trans.png" + titlesize="6em" + navbarheight="3.5em" + examplebackground="#ffffff" + outputbackground="#ffffff" + exampleclass="noshadow" + exampleoutputclass="noshadow" +> + +<topic>PHP</topic> +<title>Things that matter</title> +<event>DPC</event> +<location>Amsterdam</location> +<date>June 9, 2012</date> +<speaker>Rasmus Lerdorf</speaker> +<url>http://talks.php.net/show/dpc12</url> +<twitter>@rasmus</twitter> + +<slide>slides/intro/titlepage.xml</slide> + +<!-- +Work on things that matter +Examples of things that matter +Examples of things that don't (Farmville, http://pinterest.com/pin/243546292318426005/ Instagram?) +- What motivates you? +- What will motivate you in 10 years? + +Status - Quick 5.4 overview - refer to Davey's talk at 11:45 +How you can help at least build tools for those who work on things that matter +1. Test RCs - show how +2. Track down a failed test - show how tests work +3. Help us write new tests and improve coverage - show gcov +4. File constructive bug reports - show examples of good/bad reports +5. Help us process bug reports - show stats and random +6. Help document - show edit.php.net and user note management +7. Submit a feature RFC - show wiki.php.net +Future direction +--> + +<!-- Intro --> + +<slide>slides/intro/php_slideshow.xml</slide> + +<slide>slides/intro/matter.xml</slide> + +<slide>slides/intro/ecosystem.xml</slide> + +<slide>slides/intro/2012_title.xml</slide> +<slide>slides/intro/php54.xml</slide> +<slide>slides/intro/eventmq.xml</slide> +<slide>slides/intro/eventmq2.xml</slide> +<slide>slides/intro/svm.xml</slide> + +<slide>slides/intro/contrib0.xml</slide> +<slide>slides/intro/contrib1.xml</slide> +<slide>slides/intro/contrib2.xml</slide> +<slide>slides/intro/contrib3.xml</slide> +<slide>slides/intro/contrib4.xml</slide> +<slide>slides/intro/contrib5.xml</slide> +<slide>slides/intro/contrib6.xml</slide> +<slide>slides/intro/contrib7.xml</slide> + +<slide>slides/intro/future3.xml</slide> +<slide>slides/intro/key_matter.xml</slide> + +</presentation> diff --git a/slides/intro/contrib0.xml b/slides/intro/contrib0.xml new file mode 100644 index 0000000..ebcdad0 --- /dev/null +++ b/slides/intro/contrib0.xml @@ -0,0 +1,4 @@ +<slide title=""> +<break lines="12"/> +<blurb fontsize="14em" align="center">Contribute</blurb> +</slide> diff --git a/slides/intro/contrib1.xml b/slides/intro/contrib1.xml new file mode 100644 index 0000000..5ab7b8a --- /dev/null +++ b/slides/intro/contrib1.xml @@ -0,0 +1,92 @@ +<slide title="Test RCs"> +<break lines="1"/> +<link fontsize="2.8em" marginleft="1.5em" href="http://qa.php.net"/> + +<blurb fontsize="4em">Get your current configure flags</blurb> + +<example fontsize="1.4em" type="shell" ><![CDATA[ +|0077aa|~>| php -i | grep Configure +Configure Command => './configure' '--with-apxs2=/usr/bin/apxs2' +'--with-curlwrappers' '--disable-zend-signals' '--with-gd' +'--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-vpx-dir=/usr' +'--with-freetype-dir=/usr' '--with-t1lib=/usr' '--enable-gd-native-ttf' +'--enable-exif' '--with-config-file-path=/etc/php5/apache2' +'--with-config-file-scan-dir=/etc/php5/apache2/conf.d' +'--with-mysql=mysqlnd' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' +'--with-zlib' '--with-gmp' '--with-zlib-dir=/usr' '--with-gettext' +'--with-kerberos' '--with-imap-ssl' '--with-mcrypt=/usr/local' +'--with-iconv' '--enable-sockets' '--with-openssl' '--with-pspell' +'--with-pdo-mysql=mysqlnd' '--with-pdo-sqlite' '--enable-soap' +'--enable-xmlreader' '--with-xsl' '--enable-ftp' '--enable-cgi' +'--with-curl=/usr' '--with-tidy' '--with-xmlrpc' '--enable-mbstring' +'--enable-sysvsem' '--enable-sysvshm' '--enable-shmop' '--with-readline' +'--enable-pcntl' '--enable-fpm' '--with-imap' '--with-mysqli=mysqlnd' +'--prefix=/usr/local' +]]></example> + +<blurb fontsize="4em">Configure, build and run the tests</blurb> + +<example fontsize="1.4em" type="shell" ><![CDATA[ +|0077aa|~>| ./configure --enable-cgi --enable-fpm --with-apxs2=/usr/bin/apxs2 +|0077aa|~>| make +|0077aa|~>| make test +]]></example> + +<blurb fontsize="4em">Go do something else for a while...</blurb> + +<example fontsize="1.2em" type="shell" ><![CDATA[ +|0077aa|~>| make test + +===================================================================== +PHP : /home/rasmus/src/54/sapi/cli/php +PHP_SAPI : cli +PHP_VERSION : 5.4.5-dev +ZEND_VERSION: 2.4.0 +PHP_OS : Linux - Linux x220 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 +INI actual : /home/rasmus/src/54/tmp-php.ini +More .INIs : +CWD : /home/rasmus/src/54 +Extra dirs : +VALGRIND : Not used +===================================================================== +TIME START 2012-06-06 23:26:11 +===================================================================== +PASS EXPECT [tests/run-test/test001.phpt] +PASS EXPECTF [tests/run-test/test002.phpt] +PASS EXPECTREGEX [tests/run-test/test003.phpt] +... + +FAILED TEST SUMMARY +--------------------------------------------------------------------- +Bug #43073 (TrueType bounding box is wrong for angle<>0) [ext/gd/tests/bug43073.phpt] +Bug #51647 (Certificate file without private key (pk in another file) doesn't work) [ext/mysqli/tests/bug51647.phpt] +Bug #55283 (SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections) [ext/mysqli/tests/bug55283.phpt] +Forking a child and using the same connection. [ext/mysqli/tests/mysqli_fork.phpt] +Bug #39858 (Lost connection to MySQL server during query by a repeated call stored proced) [ext/pdo_mysql/tests/bug_39858.phpt] +PDO MySQL Bug #41997 (stored procedure call returning single rowset blocks future queries) [ext/pdo_mysql/tests/bug_41997.phpt] +MySQL PDO->exec(), affected rows [ext/pdo_mysql/tests/pdo_mysql_exec.phpt] +MySQL PDO->exec(), affected rows [ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt] +MySQL PDOStatement->nextRowSet() [ext/pdo_mysql/tests/pdo_mysql_stmt_nextrowset.phpt] +MySQL Prepared Statements and different column counts [ext/pdo_mysql/tests/pdo_mysql_stmt_variable_columncount.phpt] +Bug #38802 (ignore_errors and max_redirects) [ext/standard/tests/http/bug38802.phpt] +Bug #48929 (duplicate \r\n sent after last header line) [ext/standard/tests/http/bug48929.phpt] +Bug #53198 (From: header cannot be changed with ini_set) [ext/standard/tests/http/bug53198.phpt] +Bug #60570 (Stream context leaks when http request fails) [ext/standard/tests/http/bug60570.phpt] +http:// and ignore_errors [ext/standard/tests/http/ignore_errors.phpt] +===================================================================== + +===================================================================== +WARNED TEST SUMMARY +--------------------------------------------------------------------- +Bug #44454 (Unexpected exception thrown in foreach() statement) [ext/pdo_mysql/tests/bug_44454.phpt] (warn: XFAIL section but test passes) +MySQL PDO->prepare(), emulated PS [ext/pdo_mysql/tests/pdo_mysql_prepare_emulated.phpt] (warn: XFAIL section but test passes) +===================================================================== + +... + +Posting to http://qa.php.net/buildtest-process.php + +Thank you for helping to make PHP better. +]]></example> + +</slide> diff --git a/slides/intro/contrib2.xml b/slides/intro/contrib2.xml new file mode 100644 index 0000000..aafc2d9 --- /dev/null +++ b/slides/intro/contrib2.xml @@ -0,0 +1,45 @@ +<slide title="Track down a failed test"> +<break lines="2"/> +<example fontsize="1.4em" type="shell" ><![CDATA[ +MySQL PDO->exec(), affected rows [ext/pdo_mysql/tests/pdo_mysql_exec.phpt] +]]></example> + +<blurb fontsize="4em">Files generated when a test fails</blurb> + +<example fontsize="1.4em" type="shell" ><![CDATA[ +|0077aa|~>| ls ext/pdo_mysql/tests/pdo_mysql_exec.* +ext/pdo_mysql/tests/pdo_mysql_exec.diff +ext/pdo_mysql/tests/pdo_mysql_exec.exp +ext/pdo_mysql/tests/pdo_mysql_exec.log +ext/pdo_mysql/tests/pdo_mysql_exec.out +ext/pdo_mysql/tests/pdo_mysql_exec.php +ext/pdo_mysql/tests/pdo_mysql_exec.phpt +ext/pdo_mysql/tests/pdo_mysql_exec.sh* +]]></example> + +<blurb fontsize="4em">Check the diff</blurb> +<example fontsize="1.4em" type="shell" ><![CDATA[ +|0077aa|~>| cat ext/pdo_mysql/tests/pdo_mysql_exec.diff +003+ [020] Expecting '0'/integer got '1'/integer when running 'CALL p(@version)', [00000] 00000 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1 +]]></example> + +<blurb fontsize="4em">Run the test program</blurb> +<example fontsize="1.4em" type="shell" ><![CDATA[ +|0077aa|~>| ext/pdo_mysql/tests/pdo_mysql_exec.sh + +Warning: PDO::exec(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1 in /home/rasmus/src/54/ext/pdo_mysql/tests/pdo_mysql_exec.php on line 6 +[016] [42000] 42000 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1 +[020] Expecting '0'/integer got '1'/integer when running 'CALL p(@version)', [00000] 00000 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1 +[035] With emulated PS it works but makes no sense given that exec() returns sort of affected rows... +done! +]]></example> + +<blurb fontsize="4em">Fix the test</blurb> + +<blurb fontsize="4em">Then re-run tests just for that section</blurb> + +<example fontsize="1.4em" type="shell"><![CDATA[ +|0077aa|~>| make test TESTS=ext/pdo_mysql +]]></example> + +</slide> diff --git a/slides/intro/contrib3.xml b/slides/intro/contrib3.xml new file mode 100644 index 0000000..272d978 --- /dev/null +++ b/slides/intro/contrib3.xml @@ -0,0 +1,64 @@ +<slide title="Help us write new tests"> +<break lines="1"/> +<link fontsize="2.8em" marginleft="1.5em" href="http://gcov.php.net"/> + +<break lines="1"/> +<blurb fontsize="4em">Writing tests is easy</blurb> + +<example title="" fontsize="1.75em"><![CDATA[--TEST-- +Hello World test +--FILE-- +<?php + echo "Hello World"; +?> +--EXPECT-- +Hello World]]></example> + +<break lines="1"/> +<blurb fontsize="4em">Conditional tests and GET/POST args</blurb> + +<example title="" fontsize="1.75em"><![CDATA[--TEST-- +Input Filter test +--SKIPIF-- +if(!extension_loaded('input_filter')) print "skip"; +--POST-- +a=<b>1</b> +--GET-- +b=<i>2</i> +--FILE-- +<?php + echo $_POST['a']; + echo $_GET['b']; +?> +--EXPECT-- +12]]></example> + +<break lines="1"/> +<table columns="2" fontsize="3em" title="PHPT Sections"> +<cell>--TEST--</cell><cell>title of the test</cell> +<cell>--EXTENSIONS--</cell><cell>load additional extensions</cell> +<cell>--XFAIL--</cell><cell>explain why the test is expected to fail</cell> +<cell>--CREDITS--</cell><cell>give yourself some credit for writing a test</cell> +<cell>--SKIPIF--</cell><cell>php code which prints &quot;skip&quot;</cell> +<cell>--REDIRECTTEST--</cell><cell>Reuse test from a different dir</cell> +<cell>--ARGS--</cell><cell>CLI args</cell> +<cell>--POST--</cell><cell>POST variables passed to test script</cell> +<cell>--POST_RAW--</cell><cell>Raw post data</cell> +<cell>--GZIP_POST--</cell><cell>Gzipped post data</cell> +<cell>--DEFLATE_POST--</cell><cell>Deflated (compressed) post data</cell> +<cell>--PUT--</cell><cell>Put data</cell> +<cell>--GET--</cell><cell>GET variables passed to test script</cell> +<cell>--COOKIE--</cell><cell>Cookie data</cell> +<cell>--ENV--</cell><cell>Environment variables</cell> +<cell>--INI--</cell><cell>each line contains an ini setting e.g. foo=bar</cell> +<cell>--FILE--</cell><cell>the test script</cell> +<cell>--FILE_EXTERNAL--</cell><cell>load the test script from file</cell> +<cell>--FILEEOF--</cell><cell>Make sure there is no trailing crlf</cell> +<cell>--EXPECT--</cell><cell>the expected output from the test script</cell> +<cell>--EXPECTF--</cell><cell>sscanf version of expected output</cell> +<cell>--EXPECTREGEX--</cell><cell>regex version of expected output</cell> +<cell>--EXPECTHEADERS--</cell><cell>Expected output headers</cell> +<cell>--CLEAN--</cell><cell>Cleanup code to run after test completes</cell> +</table> + +</slide> diff --git a/slides/intro/contrib4.xml b/slides/intro/contrib4.xml new file mode 100644 index 0000000..15f58b6 --- /dev/null +++ b/slides/intro/contrib4.xml @@ -0,0 +1,15 @@ +<slide title="File useful bug reports"> + +<break lines="2"/> +<blurb fontsize="3.5em">A Farmville IQ Test?</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://bugs.php.net/bug.php?id=52435"/> +<blurb fontsize="3.5em">goto hell;</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://bugs.php.net/bug.php?id=48669"/> +<blurb fontsize="3.5em">Beowulve has trouble with PHP+MySQL on Windows XP</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://bugs.php.net/bug.php?id=48139"/> +<blurb fontsize="3.5em">Please escalate this issue</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://bugs.php.net/bug.php?id=50696"/> +<blurb fontsize="3.5em">Best fan mail ever</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="http://lerdorf.com/fanmail.txt"/> + +</slide> diff --git a/slides/intro/contrib5.xml b/slides/intro/contrib5.xml new file mode 100644 index 0000000..a4dbc32 --- /dev/null +++ b/slides/intro/contrib5.xml @@ -0,0 +1,9 @@ +<slide title="Help us process bug reports"> + +<break lines="2"/> +<blurb fontsize="3.5em">1/3 of reported bugs aren't</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://bugs.php.net/stats.php"/> +<blurb fontsize="3.5em">Don't know where to start?</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://bugs.php.net/random"/> + +</slide> diff --git a/slides/intro/contrib6.xml b/slides/intro/contrib6.xml new file mode 100644 index 0000000..ba14adc --- /dev/null +++ b/slides/intro/contrib6.xml @@ -0,0 +1,10 @@ +<slide title="Help the Doc team"> + +<break lines="2"/> +<blurb fontsize="3.5em">Edit tool</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://edit.php.net"/> + +<blurb fontsize="3.5em">The Notes team could use help too</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://master.php.net/manage/user-notes.php"/> + +</slide> diff --git a/slides/intro/contrib7.xml b/slides/intro/contrib7.xml new file mode 100644 index 0000000..3b45ff0 --- /dev/null +++ b/slides/intro/contrib7.xml @@ -0,0 +1,7 @@ +<slide title="Submit a feature RFC"> + +<break lines="2"/> +<blurb fontsize="3.5em">Wiki</blurb> +<link fontsize="2.8em" marginleft="3em" leader="" href="https://wiki.php.net/rfc"/> + +</slide> diff --git a/slides/intro/key_matter.xml b/slides/intro/key_matter.xml new file mode 100644 index 0000000..d1d0004 --- /dev/null +++ b/slides/intro/key_matter.xml @@ -0,0 +1,19 @@ +<slide title="Conclusion"> +<break lines="2"/> +<list fontsize="4em"> +<bullet>Still running PHP &lt; 5.3? Upgrade!</bullet> +<bullet>Test your code on PHP 5.4 and upgrade soon</bullet> +<bullet>Contribute!</bullet> +<bullet>Work on things that matter</bullet> +</list> +<break lines="2"/> +<link fontsize="2.5em" marginleft="2em" leader="Slides: " href=":-:url:-:"/> +<link fontsize="2.5em" marginleft="2em" leader="5.2->5.3: " href="http://php.net/migration53"/> +<link fontsize="2.5em" marginleft="2em" leader="5.3->5.4: " href="http://php.net/migration54"/> +<link fontsize="2.5em" marginleft="2em" leader="Wiki: " href="http://wiki.php.net"/> +<link fontsize="2.5em" marginleft="2em" leader="Bugs: " href="http://bugs.php.net"/> +<link fontsize="2.5em" marginleft="2em" leader="SVM: " href="http://pecl.php.net/package/svm"/> +<link fontsize="2.5em" marginleft="2em" leader="LibEvent: " href="http://pecl.php.net/package/libevent"/> +<link fontsize="2.5em" marginleft="2em" leader="ZeroMQ: " href="http://php.zero.mq"/> +<link fontsize="2.5em" marginleft="2em" leader="Node.PHP: " href="http://nodephp.org"/> +</slide> diff --git a/slides/intro/php54.xml b/slides/intro/php54.xml index 39a4b70..519120e 100644 --- a/slides/intro/php54.xml +++ b/slides/intro/php54.xml @@ -16,31 +16,21 @@ </list> <break lines="1" /> -<blurb fontsize="4em">Traits aka Horizontal Code Reuse</blurb> -<blurb fontsize="4em">(Compiler-assisted Copy-and-Paste)</blurb> -<example fontsize="2em" result='0' title=""><![CDATA[<?php -trait Singleton { - public static function getInstance() { ... } -} +<blurb fontsize="4em">✔ Built-in Web Server</blurb> -class A { - use Singleton; - // ... -} - -class B extends ArrayObject { - use Singleton; - // ... -} - -// Singleton method is now available for both classes -A::getInstance(); -B::getInstance(); -?>]]></example> +<break lines="1" /> +<blurb fontsize="4em">✔ Traits aka Horizontal Code Reuse</blurb> +<blurb fontsize="3em" margintop="-0.5em">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(Compiler-assisted Copy-and-Paste)</blurb> +<break lines="1" /> +<blurb fontsize="4em">✔ Short Array Syntax</blurb> +<example fontsize="2em" result='0' title=""><![CDATA[<?php +$a = [1, 2, 3]; +$b = ['foo' => 'orange', 'bar' => 'apple']; +]]></example> <break lines="1" /> -<blurb fontsize="4em">Function Array Dereferencing</blurb> +<blurb fontsize="4em">✔ Function Array Dereferencing</blurb> <example fontsize="2em" result='0' title=""><![CDATA[<?php function fruits() { return array('apple', 'banana', 'orange'); @@ -49,7 +39,7 @@ echo fruits()[0]; // Outputs: apple ?>]]></example> <break lines="1" /> -<blurb fontsize="4em">$this from current scope supported in Closures</blurb> +<blurb fontsize="4em">✔ $this from current scope supported in Closures</blurb> <example fontsize="2em" result='0' title=""><![CDATA[<?php class Foo { private $prop = "bar"; @@ -64,19 +54,25 @@ $func(); // Outputs: Bar ?>]]></example> <break lines="1" /> -<blurb fontsize="4em">New Output API (internal code cleanup)</blurb> +<blurb fontsize="4em">✔ &amp;lt;?= is now always available</blurb> <break lines="1" /> -<blurb fontsize="4em">&amp;lt;?= is now always available</blurb> +<blurb fontsize="4em">✔ New Session Object</blurb> <break lines="1" /> -<blurb fontsize="4em">default charset is UTF-8 instead of ISO-8859-1</blurb> +<blurb fontsize="4em">✔ Callable Typehint</blurb> <break lines="1" /> -<blurb fontsize="4em">Multibyte support is now configurable at runtime</blurb> +<blurb fontsize="4em">✔ Better support for asian chars in htmlspecialchars/htmlentities</blurb> <break lines="1" /> -<blurb fontsize="4em">JSON Improvements:</blurb> +<blurb fontsize="4em">✔ default charset is UTF-8 instead of ISO-8859-1</blurb> + +<break lines="1" /> +<blurb fontsize="4em">✔ Multibyte support is now configurable at runtime</blurb> + +<break lines="1" /> +<blurb fontsize="4em">✔ JSON Improvements</blurb> <list><item>JsonSerializable</item></list> <example fontsize="2em" result='0' title=""><![CDATA[<?php class Foo implements JsonSerializable { @@ -88,22 +84,12 @@ class Foo implements JsonSerializable { echo json_encode(new Foo); // Outputs: {"data":"Bar"} ?>]]></example> -<list><item>JSON Pretty Printer</item></list> +<break lines="1" /> +<blurb fontsize="4em">✔ mysqlnd used by default everywhere</blurb> + +<blurb fontsize="4em">✔ Binary notation</blurb> <example fontsize="2em" result='0' title=""><![CDATA[<?php -$a = array(1,2,3,array(4,5,6)); -echo json_encode($a,JSON_PRETTY_PRINT); -?>]]></example> -<example fontsize="2em" result='0' title=""><![CDATA[ -[ - 1, - 2, - 3, - [ - 4, - 5, - 6 - ] -] +$mask = 0b010101; ]]></example> </slide>
« previous php.pres (#1811) next »