-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8 compatibility #23
Comments
Hey, the neccessary change was already implemented and suggested as a pull reuqest (#22). |
Search for all calls of and it should work fine again. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
using php 7.4, code is ok but not ok on php 8.0
$final_image = rand(1000,1000000).$img;
$path = "assets/image/staff/".strtolower($final_image);
$magicianObj = new imageLib($path);
$magicianObj -> resizeImage(64, 64, 'crop');
$newPath = "assets/image/staf/".$id.".jpg";
$magicianObj -> saveImage($newPath,100);
error saveImage: This is not a resource..
The text was updated successfully, but these errors were encountered: