svn: /phpdoc/en/trunk/language/ functions.xml
| From: | Peter Cowburn | Date: | Thu, 23 Jun 2016 11:47:40 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ functions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14235@lists.php.net to get a copy of this message | ||
salathe Thu, 23 Jun 2016 11:47:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339458
Log:
add php tags to example
Changed paths:
U phpdoc/en/trunk/language/functions.xml
Modified: phpdoc/en/trunk/language/functions.xml
===================================================================
--- phpdoc/en/trunk/language/functions.xml 2016-06-23 11:47:02 UTC (rev 339457)
+++ phpdoc/en/trunk/language/functions.xml 2016-06-23 11:47:40 UTC (rev 339458)
@@ -1203,6 +1203,7 @@
<title>Complex callables</title>
<programlisting role="php">
<![CDATA[
+<?php
class Foo
{
static function bar()
@@ -1221,6 +1222,7 @@
$func(); // prints "baz"
$func = "Foo::bar";
$func(); // prints "bar" as of PHP 7.0.0; prior, it raised a fatal error
+?>
]]>
</programlisting>
</example>