Update website
This commit is contained in:
parent
bb4b0f9be8
commit
011b183e28
4263 changed files with 3014 additions and 720369 deletions
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Safe;
|
||||
|
||||
use Safe\Exceptions\XmlrpcException;
|
||||
|
||||
/**
|
||||
* Sets xmlrpc type, base64 or datetime, for a PHP string value.
|
||||
*
|
||||
* @param string|\DateTime $value Value to set the type
|
||||
* @param string $type 'base64' or 'datetime'
|
||||
* @throws XmlrpcException
|
||||
*
|
||||
*/
|
||||
function xmlrpc_set_type(&$value, string $type): void
|
||||
{
|
||||
error_clear_last();
|
||||
$result = \xmlrpc_set_type($value, $type);
|
||||
if ($result === false) {
|
||||
throw XmlrpcException::createFromPhpError();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue