Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 5.2.0 syntax issue #1191

Closed
robocoder opened this issue Mar 3, 2010 · 1 comment
Closed

PHP 5.2.0 syntax issue #1191

robocoder opened this issue Mar 3, 2010 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@robocoder
Copy link
Contributor

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
@robocoder
Copy link
Contributor Author

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

@robocoder robocoder added this to the Piwik 0.5.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant