diff --git a/Zend/tests/access_modifiers_009.phpt b/Zend/tests/access_modifiers_009.phpt new file mode 100644 index 00000000000..b377ce4d977 --- /dev/null +++ b/Zend/tests/access_modifiers_009.phpt @@ -0,0 +1,24 @@ +--TEST-- +Inconsistencies when accessing protected members - 2 +--FILE-- + +--EXPECTF-- +bool(false) + +Fatal error: Call to protected method B1::f() from context 'B2' in %s on line %d