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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 23:01:30 2024 UTC