downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Cairo::versionString> <Cairo::statusToString
[edit] Last updated: Fri, 25 May 2012

view this page in

Cairo::version

cairo_version

(PECL cairo >= 0.1.0)

Cairo::version -- cairo_versionRetrives cairo's library version

Description

Object oriented style (method):

public static int Cairo::version ( void )

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



add a note add a note User Contributed Notes Cairo::version
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites