hphp_create_object_without_constructor

hphp_create_object_without_constructor() - Used by ReflectionClass to create a new instance of an object, without calling the constructor

Description

function hphp_create_object_without_constructor(
  string $name,
): object

Parameters

  • string$name - The name of the object to create.

Return Values

  • object - - The newly created object