Add php output function

Thank you for provide awesome spacer.gif! :)

Now, I wrote output spacer.gif function for php.
Please merge if you liked it.