Skip to content


PHP 5.2.0 syntax issue #1191

robocoder opened this Issue · 1 comment

1 participant


Confirmed in ZF-9313, there will be no further workarounds/fixes for php 5.2.0 issues, as was raised in ZF-1743, e.g.,

$identifier1->$identifier2['array'] = $value;

This will be a recurring maintenance issue until we raise Piwik's PHP requirement and/or ZF moves to php 5.3.x as the minimum supported issue.

Use the following to locate the problematic code in source files:

grep -R -E '\->[a-zA-Z0-9_]+\->[a-zA-Z0-9_]+\[' * | fgrep -v .svn

As of r1881, these files require the tmp variable workaround:

  • HTML/QuickForm/Renderer/ObjectFlexy.php
  • HTML/QuickForm/Renderer/Object.php
  • Zend/Feed/Rss.php

(In [1882]) workaround/fixes #1191 - php 5.2.0 syntax issue

@robocoder robocoder added this to the Piwik 0.5.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.