Cairo::version
cairo_version
(PECL cairo >= 0.1.0)
Cairo::version -- cairo_version — Retrives 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)
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Обработка и генерация изображений
- Cairo
- Функция Cairo::availableFonts() - Retrieves the availables font types
- Функция Cairo::availableSurfaces() - Retrieves all available surfaces
- Функция Cairo::statusToString() - Retrieves the current status as string
- Функция Cairo::version() - Retrives cairo's library version
- Функция Cairo::versionString() - Retrieves cairo version as string
Коментарии
404 Not Found