Cairo::version

(PECL cairo >= 0.1.0)
Retrives cairo's library version
public static int Cairo::version ( void )

Object oriented style (method):

Procedural style:

int cairo_version ( void )

Retrieves the current version of the cairo library as an integer value

Returns:

Current Cairo library version integer

Examples:
Object oriented style
<?php
var_dump(Cairo::version());
?>

The above example will output something similar to:

int(10808)
Procedural style
<?php
var_dump(cairo_version());
?>

The above example will output something similar to:

int(10808)
See also:

Cairo::versionString() -

doc_php
2016-02-24 15:58:49
Comments
Leave a Comment

Please login to continue.