From c1e977f1bbd29bffc2404d96acc1dd7773aeea4a Mon Sep 17 00:00:00 2001 From: jellyNoone Date: Mon, 14 Dec 2020 23:03:12 +0100 Subject: [PATCH] Add more tests that document late static binding Closes GH-6515. --- Zend/tests/lsb_023.phpt | 26 ++++++++++++++++++++++++++ Zend/tests/lsb_024.phpt | 25 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 Zend/tests/lsb_023.phpt create mode 100644 Zend/tests/lsb_024.phpt 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-- +