Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]

Method __get_return_type()


Method __get_return_type

type(mixed) __get_return_type(type(mixed) fun_type)

Description

Check what a function of the type fun_type will return if called with no arguments.

Returns

Returns the type of the returned value on success

Returns 0 (zero) on failure.