svn: /web/presentations/trunk/slides/intro/ php53.xml

From: Date: Fri, 30 Jul 2010 00:24:51 +0000
Subject: svn: /web/presentations/trunk/slides/intro/ php53.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1650@lists.php.net to get a copy of this message
rasmus Fri, 30 Jul 2010 00:24:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301711 Log: 5.3.3 constructor note Changed paths: U web/presentations/trunk/slides/intro/php53.xml Modified: web/presentations/trunk/slides/intro/php53.xml =================================================================== --- web/presentations/trunk/slides/intro/php53.xml 2010-07-30 00:22:27 UTC (rev 301710) +++ web/presentations/trunk/slides/intro/php53.xml 2010-07-30 00:24:51 UTC (rev 301711) @@ -35,6 +35,18 @@ $a = new b; ?>]]></example> +<break lines="1"/> +<blurb fontsize="4em">PHP 5.3.3 - Bug fix</blurb> +<example fontsize="1.4em" result='0' title=""><![CDATA[<?php +namespace Foo; +class Bar { + public function Bar() { + // treated as constructor in PHP 5.3.0-5.3.2 + // treated as regular method in PHP 5.3.3 + } +} +?>]]></example> + <example fontsize="1.4em" hide="1" result='1' title="Output"><![CDATA[foo\bar]]></example> <break lines="1" />

« previous php.pres (#1650) next »