Doc #69387 [Opn->Fbk]: Example code for Imagick::queryFormats() is inaccurate

From: Date: Tue, 07 Apr 2015 11:33:58 +0000
Subject: Doc #69387 [Opn->Fbk]: Example code for Imagick::queryFormats() is inaccurate
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12115@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69387&edit=1 ID: 69387 Updated by: danack@php.net Reported by: justins at journeygroup dot com Summary: Example code for Imagick::queryFormats() is inaccurate -Status: Open +Status: Feedback Type: Documentation Problem Package: imagick Operating System: Mac OS 10.10.2 PHP Version: 5.5.23 Block user comment: N Private report: N New Comment: What makes you say that it can't be called statically? It appears to be working for me - http://phpimagick.com/Imagick/queryFormats Previous Comments: ------------------------------------------------------------------------ [2015-04-06 18:41:56] justins at journeygroup dot com Description: ------------ --- From manual page: http://www.php.net/imagick.queryformats --- The manual's example is faulty. The method Imagick::queryFormats cannot be called statically. Suggest that replacing the example with a var_dump() and an abbreviated list of expected output would be more helpful. Test script: --------------- Example code on: http://www.php.net/imagick.queryformats ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69387&edit=1

« previous php.doc.bugs (#12115) next »