Fatal error: Uncaught Error: Non-static method testStatic::give() cannot be called statically in /in/bHtnI:16
Stack trace:
#0 {main}
thrown in /in/bHtnI on line 16
Process exited with code 255.
Deprecated: Non-static method testStatic::give() should not be called statically in /in/bHtnI on line 16
Fatal error: Uncaught Error: Access to undeclared static property: testStatic::$myvar in /in/bHtnI:12
Stack trace:
#0 /in/bHtnI(16): testStatic::give()
#1 {main}
thrown in /in/bHtnI on line 12
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught Error: Access to undeclared static property: testStatic::$myvar in /in/bHtnI:12
Stack trace:
#0 /in/bHtnI(16): testStatic::give()
#1 {main}
thrown in /in/bHtnI on line 12
Process exited with code 255.
Strict Standards: Non-static method testStatic::give() should not be called statically in /in/bHtnI on line 16
Fatal error: Access to undeclared static property: testStatic::$myvar in /in/bHtnI on line 12
Process exited with code 255.
Output for 5.1.3 - 5.1.6, 5.2.0 - 5.2.5
Strict Standards: Non-static method testStatic::give() should not be called statically in /in/bHtnI on line 16
Fatal error: Access to undeclared static property: testStatic::$myvar in /in/bHtnI on line 12
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.2
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /in/bHtnI on line 4
Strict Standards: Non-static method testStatic::give() should not be called statically in /in/bHtnI on line 16
Fatal error: Access to undeclared static property: testStatic::$myvar in /in/bHtnI on line 12
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected ';', expecting '(' in /in/bHtnI on line 12
Process exited with code 255.