(PECL cairo >= 0.1.0)
Cairo::versionString -- cairo_version_string — Retrieves cairo version as string
Object oriented style (method):
Procedural style:
Retrieves the current cairo library version as a string.
This function has no parameters.
Current Cairo library version string
Example #1 Object oriented style
<?php
var_dump(Cairo::versionString());
?>
The above example will output something similar to:
string(5) "1.8.8"
Example #2 Procedural style
<?php
var_dump(cairo_version_string());
?>
The above example will output something similar to:
string(5) "1.8.8"