php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77905 imagecreatefromwebp函数不存在
Submitted: 2019-04-16 09:26 UTC Modified: 2019-04-16 11:10 UTC
From: 513335394 at qq dot com Assigned: cmb (profile)
Status: Not a bug Package: GD related
PHP Version: 7.2.17 OS: CentOS Linux release 7.4.1708 (
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: 513335394 at qq dot com
New email:
PHP Version: OS:

 

 [2019-04-16 09:26 UTC] 513335394 at qq dot com
Description:
------------
---
From manual page: https://php.net/index
---
imagecreatefromwebp (PHP 5 >= 5.4.0, PHP 7)

Test script:
---------------
$a = function_exists('imagecreatefromwebp');
var_dump($a);
bool(false);

Expected result:
----------------
存在imagecreatefromwebp函数

Actual result:
--------------
不存在imagecreatefromwebp函数

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-16 11:10 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2019-04-16 11:10 UTC] cmb@php.net
Support for WebP (as well as for some other image formats) may not
be built in[1].  Nonetheless, the function *can* be available.

[1] <https://www.php.net/manual/en/image.installation.php>
 [2019-04-17 01:59 UTC] 513335394 at qq dot com
https://www.php.net/manual/zh/image.installation.php和https://www.php.net/manual/en/image.installation.php文档
在增强GD处理图像格式时的--with-XXXX,所支持的图像格式不一样,
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 12 22:01:30 2025 UTC