SVG is standard XML based format specified by the W3 Consortium to describe vectorial graphics documents.
Since vectorial graphics can be rescaled smoothly without loosing details, it is ideal for tasks that require changing the dimensions of the graphics, like for instance, adjusting the size of the graphics to show them in larger screens or even printing them in high resolution printers.
This class presents an uncommon but interesting application of the generation of SVG documents, that is outputting PHP application debugging information in real time, making it possible to read or print immediately.
This class provides a simple way to generate SVG files that contain debugging information during the execution of a script.
The debugging information that is outputted includes the time and the values of variables passed to the class.
The class can generate multiple SVG files to fit all the information that is stored, as well HTML files that can be used to view the generated SVG files.