PHP - Manual: CairoSurface::__construct
2024-12-28
(PECL cairo >= 0.1.0)
CairoSurface::__construct — The __construct purpose
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.
官方地址:https://www.php.net/manual/en/cairosurface.construct.php