I have nothing to contribute on phpwikify, but this works:
~~MULTI_PLUGIN_OPEN~~
<php>
$x=3;
echo $x;
</php>
~~MULTI_PLUGIN_CLOSE~~
P.S.
ckgedit and ckgdoku have native support for the tag plugin. There is documentation for these plugins on ckgedit/doku.