php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60834 Imagick::getFilename() is NOT a function
Submitted: 2012-01-21 20:37 UTC Modified: 2012-01-21 22:00 UTC
From: alexmicek at gmail dot com Assigned:
Status: Not a bug Package: imagick (PECL)
PHP Version: 5.3.9 OS: Linux
Private report: No CVE-ID: None
 [2012-01-21 20:37 UTC] alexmicek at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/imagick.getfilename
---

SHOULD read:

string Imagick::getImageFilename ( void )


Test script:
---------------
$image-> new Imagick($path);

// current (wrong) documentation
echo $image->getFilename();

// new, CORRECT documentation
echo $image->getImageFilename();

// Please fix this documentation error. Thanks!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-21 22:00 UTC] frozenfire@php.net
-Status: Open +Status: Bogus
 [2012-01-21 22:00 UTC] frozenfire@php.net
Both Imagick::getFilename and Imagick::getImageFilename are methods.

The former performs the function of getting the filename of the sequence itself, 
while the latter gets the filename of a particular image in a sequence.

This is a subtle but important difference.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 05:01:31 2024 UTC