| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]

# Method object_program()

Method object_program

  `program|function object_program(mixed o)`

Description

  Return the program from which o was instantiated. If the object was instantiated from a class using parent references the generating function will be returned.

  If o is not an object or has been destructed `0` (zero) will be returned.