(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.
此函数没有参数。
Current Cairo library version string
Example #1 Object oriented style
<?php
var_dump(Cairo::versionString());
?>
以上例程的输出类似于:
string(5) "1.8.8"
Example #2 Procedural style
<?php
var_dump(cairo_version_string());
?>
以上例程的输出类似于:
string(5) "1.8.8"