[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/funchand/functions/_call-user-func.xml?=
From: Peter_Cowburn <salathe () php ! net>
Date: 2014-11-17 20:47:41
Message-ID: svn-salathe-1416257261-335189-1879863252 () svn ! php ! net
[Download RAW message or body]
salathe Mon, 17 Nov 2014 20:47:41 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=335189
Log:
fixed comment in example of call_user_func with array (doc bug #62080)
Bug: https://bugs.php.net/62080 (Re-Opened) Vague/misleading example in call_user_func()
Changed paths:
U phpdoc/en/trunk/reference/funchand/functions/call-user-func.xml
Modified: phpdoc/en/trunk/reference/funchand/functions/call-user-func.xml
===================================================================
--- phpdoc/en/trunk/reference/funchand/functions/call-user-func.xml 2014-11-17 20:33:50 UTC (rev 335188)
+++ phpdoc/en/trunk/reference/funchand/functions/call-user-func.xml 2014-11-17 20:47:41 UTC (rev 335189)
@@ -57,7 +57,8 @@
call_user_func('increment', $a);
echo $a."\n";
-call_user_func_array('increment', array(&$a)); // You can use this instead before PHP 5.3
+// You can use this instead
+call_user_func_array('increment', array(&$a));
echo $a."\n";
?>
]]>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic