code: public static File createTmpPhpFileFromResource(String resourceName, boolean deleteOnExit) throws IOException {
  		InputStream is = getInstance().getClass().getResourceAsStream(resourceName);
  		if (is == null) {
  			throw new IOException("Unable to find php file " + resourceName);
  		}
  		return copyFile(is, deleteOnExit);
  	}
docs: <p>createTmpPhpFileFromResource.</p>
  
  @param resourceName a {@link java.lang.String} object.
  @param deleteOnExit a boolean.
  @return a {@link java.io.File} object.
  @throws java.io.IOException if any.