w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Strict Standards: Only variables should be passed by reference & Strict Standards: Non-static method

The function end() does expect a variable, not a function result, as is documented on php.net: http://php.net/end

The PEAR class does not define it's method isError() as static, so you are not allowed to call it like this: PEAR::isError($foo).

Both errors can be disabled by setting a less strict error level, but they are signs of a codebase getting older and needing a refresh. Without fixing these errors (and not just silencing the error output), you might be unable to use your website on a new PHP installation in some years.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.