2,8 → 2,8 |
|
/* |
* UUID utils for PHP |
* Copyright 2011 - 2021 Daniel Marschall, ViaThinkSoft |
* Version 2021-12-29 |
* Copyright 2011 - 2022 Daniel Marschall, ViaThinkSoft |
* Version 2022-01-06 |
* |
* Licensed under the Apache License, Version 2.0 (the "License"); |
* you may not use this file except in compliance with the License. |
313,7 → 313,7 |
} |
|
function is_uuid_oid($oid, $only_allow_root=false) { |
if (substr(oid,0,1) == '.') $oid = substr($oid, 1); // remove leading dot |
if (substr($oid,0,1) == '.') $oid = substr($oid, 1); // remove leading dot |
|
$ary = explode('.', $oid); |
|