Skip to content

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

Description

@xenoplexus

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;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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