Please note that this tool is still in its infancy. This is capable to convert user defined functions and some inbuilt Php method. Whose parity is less than 40% now. However it can be made more precise. We are working on it continuously. And will try to give you a better medium.
How to use?
Your php code must be inside <?php ?> tag.
And your code must be valid not produce any kind of warning and error.