Skip to content
This repository was archived by the owner on Dec 20, 2019. It is now read-only.
This repository was archived by the owner on Dec 20, 2019. It is now read-only.

eAccelerator not compatible with anonymous function/closure under php 5.4.6 #12

@sskaje

Description

@sskaje

eAccelerator not compatible with anonymous function/closure under php 5.4.6

Error msg:
PHP Fatal error: Function name must be a string in /usr/local/nginx/html/*******.php on line 168

on that line and some lines above:

    $source_sig_func = function($_var_cookie) {
        return substr(md5("..."), 3, 8);
    };

    $cookie_sig_matched = $cookie_source_sig == $source_sig_func($var_cookie); <= this is the line 168.

Metadata

Metadata

Assignees

No one assigned

    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