svn: /web/presentations/trunk/slides/intro/ php53_closures.xml
| From: | Rasmus Lerdorf | Date: | Sat, 29 Oct 2011 08:42:40 +0000 |
| Subject: | svn: /web/presentations/trunk/slides/intro/ php53_closures.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1763@lists.php.net to get a copy of this message | ||
rasmus Sat, 29 Oct 2011 08:42:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=318549
Log:
tweak
Changed paths:
U web/presentations/trunk/slides/intro/php53_closures.xml
Modified: web/presentations/trunk/slides/intro/php53_closures.xml
===================================================================
--- web/presentations/trunk/slides/intro/php53_closures.xml 2011-10-29 07:39:02 UTC (rev 318548)
+++ web/presentations/trunk/slides/intro/php53_closures.xml 2011-10-29 08:42:40 UTC (rev 318549)
@@ -12,8 +12,7 @@
return ($a%2) ? 1 : -1;
}
);
-foreach($data as $v) echo "$v ";
-?>]]></example>
+foreach($data as $v) echo "$v ";]]></example>
<break lines="1" />
@@ -25,7 +24,6 @@
};
$closure = $getClosure(2);
-$closure();
-?>]]></example>
+$closure();]]></example>
</slide>