Cairo::versionString

(PECL cairo >= 0.1.0)
Retrieves cairo version as string
public static string Cairo::versionString ( void )

Object oriented style (method):

Procedural style:

string cairo_version_string ( void )

Retrieves the current cairo library version as a string.

Returns:

Current Cairo library version string

Examples:
Object oriented style
<?php

var_dump(Cairo::versionString());

?>

The above example will output something similar to:

string(5) "1.8.8"
Procedural style
<?php

var_dump(cairo_version_string());

?>

The above example will output something similar to:

string(5) "1.8.8"
See also:

Cairo::version() -

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

Please login to continue.