ThinkPHP/Library/Vendor/Hprose/HproseCommon.php
(开头部分) 29KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.net/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* HproseCommon.php *
* *
* hprose common library for php5. *
* *
* LastModified: Nov 15, 2013 *
* Author: Ma Bingyao <andot@hprfc.com> *
* *
\**********************************************************/
class HproseResultMode {
const Normal = 0;
const Serialized = 1;
const Raw = 2;
const RawWithEndTag = 3;
}
class HproseException extends Exception {}
interface HproseFilter {
function inputFilter($data);
function outputFilter($data);
}
class HproseDate {
public $year;
public $month;
public $day;
public $utc = false;
public function __construct() {
$args_num = func_num_args();
$args = func_get_args();
switch ($args_num) {
case 0:
$time = getdate();
$this->year = $time['year'];
$this->month = $time['mon'];
$this->day = $time['mday'];
break;
case 1:
$time = false;
if (is_int($args[0])) {
$time = getdate($args[0]);
}
elseif (is_string($args[0])) {
$time = getdate(strtotime($args[0]));
}
if (is_array($time)) {
后面还有 756 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
