Re: Segfault when posting Wiki content with {CODE(colors=>php)}
I'm using PHP v4.3.6. I know that PHP highlighting works fine, it's just in this context where it fails. I tried using the PEAR Code highlighter instead of the built-in one, but that also segfauls. Seems to be only for large pieces of text, small 5-line entries work.
I also tried switching to PEAR's Text_Highlight package and it still crashes.
I tried commenting out the decodeHTML code and it doesn't crash. I tried using a foreach instead of a strtr and that doesn't do it, still segfaults. The funny thing is, it segfaults *after* this whole plugin returns.
Could someone else try putting a hige chunk of PHP in a code block and see if it works for them?