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

Using $this when not in object context #138

Open
petergyarmati opened this issue Apr 23, 2015 · 0 comments
Open

Using $this when not in object context #138

petergyarmati opened this issue Apr 23, 2015 · 0 comments

Comments

@petergyarmati
Copy link

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;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant