Test: /Zend/tests/bug81626.phpt - Version 7.4.3        

Bug #81626 Error on use static:: in __сallStatic() wrapped to Closure::fromCallable()
Submitted: 2021-11-16 11:36:34 Modified: 2021-11-16 11:42:03
From: sergey.predvoditelev Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 8.0.12 OS:

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Fatal error: Uncaught Error: Cannot access static:: when no class scope is active in %s/bug81626.php:6 001- string(2) "ok" 002+ Stack trace: 003+ #0 [internal function]: TestClass::__callStatic('foo', Array) 004+ #1 %s/bug81626.php(11): TestClass::foo() 005+ #2 {main} 006+ thrown in %s/bug81626.php on line 6