Skip to content

Failed to catch: Fatal error: Cannot use $this as parameter in ... #130

@stuntdawg

Description

@stuntdawg

this will fail when I run code on a server with php 7, but will not display this as a problem when I run php7cc. I had this in several files and it gave me greens across the board.

function randomName($this) {
    $do = $this;
    return $do;
}

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