1--TEST--
2ZE2 A derived class does not know anything about inherited private methods
3--FILE--
4<?php
5class base {
6	private function show() {
7		echo "base\n";
8	}
9	function test() {
10		$this->show();
11	}
12}
13
14$t = new base();
15$t->test();
16
17class derived extends base {
18	function show() {
19		echo "derived\n";
20	}
21	function test() {
22		echo "test\n";
23		$this->show();
24		parent::test();
25		parent::show();
26	}
27}
28
29$t = new derived();
30$t->test();
31?>
32--EXPECTF--
33base
34test
35derived
36base
37
38Fatal error: Call to private method base::show() from context 'derived' in %s on line %d
39