ZF-12068: Nirvanix service Imfs.php cannot be parsed.

Issue Type: Bug Created: 2012-02-24T21:49:01.000+0000 Last Updated: 2012-02-24T22:47:52.000+0000 Status: Closed Fix version(s): Reporter: Barry Ruffner (bruffner) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Service_Nirvanix

Related issues: Attachments:


When trying to instantiate the IMFS class in Zend_Service_Nirvanix the imfs.php cannot be parsed in PHP 5.3.8:

Parse error: parse error, expecting `')'' in Zend/Service/Nirvanix/Namespace/Imfs.php on line 71

Line 71: public function putArrayContents($uploadData[])

Should be: public function putArrayContents($uploadData)

This could be handled better for PHP 5+ by passing the array as ref also.


Posted by Adam Lundrigan (adamlundrigan) on 2012-02-24T22:08:05.000+0000

Could you please post the SVN revision ID of that file? (@version part of file-level docblock) I've checked that class in both SVN trunk and release-1.11.11 tag (click link to see each file) and neither have a putArrayContents method.

Posted by Barry Ruffner (bruffner) on 2012-02-24T22:47:52.000+0000

Apologies, this was not an issue. Was working with an old revision that I mixed with the latest. Thanks for giving me a reality check.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.