Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Using $this when not in object context #138

Open
@petergyarmati

Description

@petergyarmati

I installed and try using but I received an error message.
Fatal error: Using $this when not in object context in C:\xampp\htdocs\projectfolder\vendor\phpsec\phpsec\lib\phpSec\Crypt\Hash.php on line 98

content of index.php

<?php
//phpSec test
require 'vendor/autoload.php';

$hash = \phpSec\Crypt\Hash::create('password');
echo $hash;

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