ThinkPHP/Extend/Vendor/phpRPCcompat.php

Functions

file_get_contents()

file_get_contents(  $filename,   $incpath = false,   $resource_context = null) 

Parameters

$filename
$incpath
$resource_context

ob_get_clean()

ob_get_clean() 

gzdecode()

gzdecode(  $data,   $filename = '',   $error = '',   $maxlength = null) 

3 more bugs found and fixed: 1. failed to work when the gz contained a filename - FIXED 2. failed to work on 64-bit architecture (checksum) - FIXED 3. failed to work when the gz contained a comment - cannot verify.

Returns some errors (not all!) and filename.

Parameters

$data
$filename
$error
$maxlength

serialize_fix()

serialize_fix(  $v) 

Parameters

$v

declare_empty_class()

declare_empty_class(  $classname) 

Parameters

$classname