Skip to content

compatibility with PHP 5.2 #6

@matweew

Description

@matweew

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ETwigViewRenderer.php on line 272
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ETwigViewRenderer.php on line 277

working code:

public function __get($property)
{
    eval('$returnedProperty = '.$this->_staticClassName.'::'.$property.';');
    return $returnedProperty;
}

public function __set($property, $value)
{
    eval('$returnedProperty = '.$this->_staticClassName.'::'.$property.';');
    return ($returnedProperty = $value);
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions