Opened 4 years ago

Closed 4 years ago

#1191 closed Bug (fixed)

PHP 5.2.0 syntax issue

Reported by: vipsoft Owned by:
Priority: normal Milestone: Piwik 0.5.5
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (1)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.