略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoSurface::__construct

2024-12-28

CairoSurface::__construct

(PECL cairo >= 0.1.0)

CairoSurface::__constructThe __construct purpose

说明

public CairoSurface::__construct ( void )

CairoSurface is an abstract type and, as such, should not be instantiated in your PHP scripts.

参数

此函数没有参数。

返回值

No return value

注释

Note:

If you're using a PHP version before 5.3, you must destroy the CairoContext associated with a CairoSurface after you destroy the CairoSurface. Otherwise, you're left with a Circular-reference memory leak.

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/cairosurface.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3