Fixed bug #48770: when call_user_func() fails to call parent from inheriting class (2)

When using call_user_function() with 'parent::' or 'self::' prefix in method name with object context - we need to check current class scop, or result well be unexpected.

Second try.
Previous: https://github.com/php/php-src/pull/375.

Thank you.