PHP 8: Assign "resource" as property, parameter, or return type – PHP Versions
I am updating my project from PHP 7.0 to PHP 8.0 and I couldn't find out, if it is allowed to EXPLICITLY assign resource as the data type: of a class property, of a method/function parameter, returned by a method/function,…