--TEST-- Bug #76869 (Incorrect bypassing protected method accessibility check) --FILE-- f()); } catch (Throwable $e) { echo "Exception: ", $e->getMessage(), "\n"; } ?> --EXPECT-- Exception: Call to protected method B::f() from global scope