1--TEST--
2Trigger __call() in lieu of non visible methods when called via a callback.
3--FILE--
4<?php
5class C {
6	protected function prot() { }
7	private function priv() { }
8	public function __call($name, $args)    {
9        echo "In __call() for method $name()\n";
10    }
11}
12
13$c = new C;
14call_user_func(array($c, 'none'));
15call_user_func(array($c, 'prot'));
16call_user_func(array($c, 'priv'));
17?>
18--EXPECTF--
19In __call() for method none()
20In __call() for method prot()
21In __call() for method priv()
22