Skip to content

Parse error #123

@sphoto

Description

@sphoto

Getting this parse error (PHP 5.4.29):

Parse error: syntax error, unexpected 'list' (T_LIST) in .../MysqliDb.php on line 622

When splitting:

foreach ($this->_where as list($concat, $wValue, $wKey)) {

into:

foreach ($this->_where as $value) {
list($concat, $wValue, $wKey) = $value;

It works!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions