CAIRO_VERSION(3) 1 CAIRO_VERSION(3)
Cairo::version - Retrives cairo's library version
Object oriented style (method):
SYNOPSIS
publicstatic int Cairo::version (void )
DESCRIPTION
Procedural style:
int cairo_version (void )
Retrieves the current version of the cairo library as an integer value
PARAMETERS
This function has no parameters.
RETURN VALUES
Current Cairo library version integer
EXAMPLES
Example #1
Object oriented style
<?php
var_dump(Cairo::version());
?>
The above example will output something similar to:
int(10808)
Example #2
Procedural style
<?php
var_dump(cairo_version());
?>
The above example will output something similar to:
int(10808)
SEE ALSO
Cairo::versionString.
PHP Documentation Group CAIRO_VERSION(3)