(PECL cairo >= 0.1.0)
Cairo::version -- cairo_version — Retrives cairo's library version
Object oriented style (method):
Procedural style:
Retrieves the current version of the cairo library as an integer value
此函数没有参数。
Current Cairo library version integer
Example #1 Object oriented style
<?php
var_dump(Cairo::version());
?>
以上例程的输出类似于:
int(10808)
Example #2 Procedural style
<?php
var_dump(cairo_version());
?>
以上例程的输出类似于:
int(10808)