<p>I code perl in vim.... and have a nice, simple little macro* that saves the file (to a temp name), then runs it with perl -cw (which checks the syntax).</p>
<p>I'd like, if possible, to do the same with php.... but, I can't find out (on my standard installs) how to go about this... I've install php from the debian packages (so this may be a limiation, but I've checked on systems where I've done custom installs, and can't seem to find a stand alone binary)</p>
<p>Anyone got any hints?</p>
<p>Cheers</p>
<p>Malach</p>
<p>*for those that are interested.....<br>
map <f1> :w! vimtemp.pl <CR> :!perl -cw vimtemp.pl > ~/aj 2>&1 <CR>:new<CR>:edit ~/aj<CR> <br>
map <f2> :close<CR> </p>