# Bug: XSLT php:functionString

- Thread: https://externals.io/message/6338
- Original archive: https://news-web.php.net/php.internals/6338
- Started by Adam Maccabee Trachtenberg on 2003-12-10T21:04:43+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #6338 — Adam Maccabee Trachtenberg — 2003-12-10T21:04:43+00:00

URL: https://externals.io/message/6338#6338

The XSLT extension crashes when you call php:functionString() with a
non-string handler, like:

<xsl:value-of select="php:functionString(foo)"/>

This patch fixes this problem:
http://www.trachtenberg.com/patches/xslt_function_handler.txt

-adam

-- 
adam@trachtenberg.com

---

## #6340 — Christian Stocker — 2003-12-10T22:33:09+00:00

URL: https://externals.io/message/6338#6340 · In reply to: #6338

thanks a lot and commited

chregu



> The XSLT extension crashes when you call php:functionString() with a
> non-string handler, like:
> 
> <xsl:value-of select="php:functionString(foo)"/>
> 
> This patch fixes this problem:
> http://www.trachtenberg.com/patches/xslt_function_handler.txt
> 
> -adam
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  chregu@bitflux.ch  |  gnupg-keyid 0x5CE1DECB
