mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-01-22 12:54:15 +00:00
silentize simplexml warning
This commit is contained in:
parent
e4b36f10d7
commit
08ebb81ac8
@ -280,7 +280,7 @@ class Manticore
|
|||||||
case null !== json_decode((string) $value, null, 2147483647):
|
case null !== json_decode((string) $value, null, 2147483647):
|
||||||
return $type = self::TYPE_JSON;
|
return $type = self::TYPE_JSON;
|
||||||
|
|
||||||
case false !== simplexml_load_string((string) $value):
|
case false !== @simplexml_load_string((string) $value):
|
||||||
return $type = self::TYPE_XML;
|
return $type = self::TYPE_XML;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user