'OpenBSD' => 'BSD',
'Linux' => 'Linux',
'SunOS' => 'Solaris',
];
return $map[\PHP_OS
] ?? 'Unknown';
} public static function spl_object_id($object) { if (null === self::
$hashMask) { self::
initHashMask();
} if (null ===
$hash =
spl_object_hash($object)) { return;
} // On 32-bit systems, PHP_INT_SIZE is 4,
return self::
$hashMask ^
hexdec(substr($hash, 16 -
(\PHP_INT_SIZE * 2 - 1
), \PHP_INT_SIZE * 2 - 1
));
} public static function sapi_windows_vt100_support($stream,
$enable = null
) {