SVG Graphic generator in PHP