note 80073 added to function.xsl-xsltprocessor-register-php-functions
| From: | thsoft at vipmail dot hu | Date: | Thu, 27 Dec 2007 22:22:17 +0000 |
| Subject: | note 80073 added to function.xsl-xsltprocessor-register-php-functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-134056@lists.php.net to get a copy of this message | ||
Unfortunately, you can't pass arrays to PHP from XLST.
But you can pass an arbitrary number of arguments to a PHP function and then get them with
func_get_args() as an array.
[There's no sense writing a function that is identical to the array() construct, because a
function's return value is converted to a string when passed as an argument to another
function. This means deep arrays cannot be handled this way.]
----
Server IP: 69.147.83.197
Probable Submitter: 89.133.3.112
----
Manual Page -- http://www.php.net/manual/en/function.xsl-xsltprocessor-register-php-functions.php
Edit -- https://master.php.net/note/edit/80073
Del: integrated -- https://master.php.net/note/delete/80073/integrated
Del: useless -- https://master.php.net/note/delete/80073/useless
Del: bad code -- https://master.php.net/note/delete/80073/bad+code
Del: spam -- https://master.php.net/note/delete/80073/spam
Del: non-english -- https://master.php.net/note/delete/80073/non-english
Del: in docs -- https://master.php.net/note/delete/80073/in+docs
Del: other reasons-- https://master.php.net/note/delete/80073
Reject -- https://master.php.net/note/reject/80073
Search -- https://master.php.net/manage/user-notes.php