frdl/oid2weid

v1.0.2 2021-08-28 18:22 UTC

This package is auto-updated.

Last update: 2024-11-29 01:18:42 UTC


README

OID 2 WEID Konverter

Converts an OID to WEID or a WEID to an OID.

What is WEID?

https://look-up.webfan3.de/?goto=oid%3A1.3.6.1.4.1.37553.8

Usage

$oid = '1.3.6.1.4.1.37553.8.9';
$weid = \WeidOidConverter::oid2weid($oid); // weid:9-1
$oid2 = \WeidOidConverter::weid2oid($weid);
print_r(($oid ===$oid2) ? 'OK' : 'ERROR'); 

Authors

https://www.viathinksoft.com