From: jellyNoone Date: Mon, 14 Dec 2020 22:03:12 +0000 (+0100) Subject: Add more tests that document late static binding X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1e977f1bbd29bffc2404d96acc1dd7773aeea4a;p=php Add more tests that document late static binding Closes GH-6515. --- diff --git a/Zend/tests/lsb_023.phpt b/Zend/tests/lsb_023.phpt new file mode 100644 index 0000000000..a8051aa85f --- /dev/null +++ b/Zend/tests/lsb_023.phpt @@ -0,0 +1,26 @@ +--TEST-- +Late Static Binding static:: calls protected / public method of child class even then +the method is private in parent class +--FILE-- +