Modifier and Type | Method and Description |
---|---|
Value |
ApcModule.apc_fetch(Env env,
java.lang.String key,
Value isSuccessful)
Returns a value.
|
static Value |
ArrayModule.array_pop(Env env,
Value array)
Pops off the top element
|
static int |
ArrayModule.array_push(Env env,
Value array,
Value[] values)
Appends a value to the array
|
static Value |
ArrayModule.array_shift(Env env,
Value value)
Shifts the elements in the array left by one, returning the leftmost value
|
static Value |
ArrayModule.array_splice(Env env,
Value arrayVar,
int offset,
Value length,
Value replace)
Returns the removed chunk of the arrayV and splices in replace.
|
static Value |
ArrayModule.array_unshift(Env env,
Value value,
Value[] values)
Prepends the elements to the array
|
static boolean |
ArrayModule.array_walk_recursive(Env env,
Value arrayVar,
Callable callback,
Value extra)
Recursively executes a callback function on all elements in the array,
including elements of elements (i.e., arrays within arrays).
|
static boolean |
ArrayModule.array_walk(Env env,
Value arrayVar,
Callable callback,
Value userData)
Executes a callback on each of the elements in the array.
|
static boolean |
ArrayModule.arsort(Env env,
Value arrayVar,
long sortFlag)
Sorts the array based on values in reverse order, preserving keys
|
static boolean |
ArrayModule.asort(Env env,
Value arrayVar,
long sortFlag)
Sorts the array based on values in ascending order, preserving keys
|
static boolean |
NetworkModule.dns_get_mx(Env env,
java.lang.String hostname,
Value mxhosts,
Value weight)
Finds the mx hosts for the given hostname, placing them in mxhosts and
their corresponding weights in weight, if provided.
|
static boolean |
NetworkModule.dns_get_mx(Env env,
java.lang.String hostname,
Value mxhosts,
Value weight)
Finds the mx hosts for the given hostname, placing them in mxhosts and
their corresponding weights in weight, if provided.
|
ArrayValue |
NetworkModule.dns_get_record(Env env,
java.lang.String hostname,
int type,
Value authnsRef,
Value addtlRef) |
ArrayValue |
NetworkModule.dns_get_record(Env env,
java.lang.String hostname,
int type,
Value authnsRef,
Value addtlRef) |
static Value |
ArrayModule.each(Env env,
Value value)
Returns the next value of the array.
|
static Value |
ArrayModule.end(Value value)
Resets the pointer to the end
|
static java.lang.String |
MiscModule.exec(Env env,
java.lang.String command,
Value output,
Value result)
Execute a system command.
|
static java.lang.String |
MiscModule.exec(Env env,
java.lang.String command,
Value output,
Value result)
Execute a system command.
|
static SocketInputOutput |
NetworkModule.fsockopen(Env env,
java.lang.String host,
int port,
Value errno,
Value errstr,
double timeout)
Opens a socket
|
static SocketInputOutput |
NetworkModule.fsockopen(Env env,
java.lang.String host,
int port,
Value errno,
Value errstr,
double timeout)
Opens a socket
|
static boolean |
NetworkModule.getmxrr(Env env,
java.lang.String hostname,
Value mxhosts,
Value weight) |
static boolean |
NetworkModule.getmxrr(Env env,
java.lang.String hostname,
Value mxhosts,
Value weight) |
static boolean |
HttpModule.headers_sent(Env env,
Value file,
Value line)
Return true if the headers have been sent.
|
static boolean |
HttpModule.headers_sent(Env env,
Value file,
Value line)
Return true if the headers have been sent.
|
static boolean |
VariableModule.is_callable(Env env,
Value v,
boolean isCheckSyntaxOnly,
Value nameRef)
Returns the type string for the variable
|
static boolean |
ArrayModule.krsort(Env env,
Value arrayVar,
long sortFlag)
Sorts the array based on keys in reverse order, preserving keys
|
static boolean |
ArrayModule.ksort(Env env,
Value arrayVar,
long sortFlag)
Sorts the array based on keys in ascending order, preserving keys
|
static Value |
ArrayModule.natcasesort(Env env,
Value arrayVar)
Sorts the array based on string values using natural order, preserving
keys, case insensitive
|
static Value |
ArrayModule.natsort(Env env,
Value arrayVar)
Sorts the array based on string values using natural order, preserving
keys, case sensitive
|
static Value |
ArrayModule.next(Value value)
Returns the next value of the array.
|
static void |
MiscModule.passthru(Env env,
java.lang.String command,
Value result)
Execute a system command.
|
static SocketInputOutput |
NetworkModule.pfsockopen(Env env,
java.lang.String host,
int port,
Value errno,
Value errstr,
double timeout)
Persistent version of fsockopen.
|
static SocketInputOutput |
NetworkModule.pfsockopen(Env env,
java.lang.String host,
int port,
Value errno,
Value errstr,
double timeout)
Persistent version of fsockopen.
|
static Value |
ArrayModule.prev(Value array)
Returns the previous value of the array.
|
static ProcOpenResource |
MiscModule.proc_open(Env env,
java.lang.String command,
ArrayValue descriptorArray,
Value pipes,
Path pwd,
ArrayValue envArray,
ArrayValue options)
Basic implementation of proc_open.
|
static Value |
ArrayModule.reset(Value array)
Resets the pointer
|
static boolean |
ArrayModule.rsort(Env env,
Value arrayVar,
long sortFlag)
Sorts the array based on values in reverse order
|
static boolean |
VariableModule.settype(Env env,
Value var,
java.lang.String type)
Converts the variable to a specified tyep.
|
static Value |
ArrayModule.shuffle(Env env,
Value array)
Returns the current value of the array.
|
static boolean |
ArrayModule.sort(Env env,
Value arrayVar,
long sortFlag)
Sorts the array based on values in ascending order
|
static java.lang.String |
MiscModule.system(Env env,
java.lang.String command,
Value result)
Execute a system command.
|
static boolean |
ArrayModule.uasort(Env env,
Value arrayVar,
Callable func,
long sortFlag)
Sorts the array based on values in ascending order using a callback
function
|
static boolean |
ArrayModule.uksort(Env env,
Value arrayVar,
Callable func,
long sortFlag)
Sorts the array based on values in ascending order using a callback
function
|
static boolean |
ArrayModule.usort(Env env,
Value arrayVar,
Callable func,
long sortFlag)
Sorts the array based on values in ascending order using a callback
function
|
Modifier and Type | Method and Description |
---|---|
static int |
CurlModule.curl_multi_exec(Env env,
CurlMultiResource multi,
Value stillRunning)
int curl_multi_exec ( resource $mh , int &$still_running )
|
static Value |
CurlModule.curl_multi_info_read(Env env,
CurlMultiResource multi,
Value msgsInQueue)
XXX: not documented by PHP
|
Modifier and Type | Method and Description |
---|---|
boolean |
MysqliStatement.bind_param(Env env,
StringValue typeStr,
Value[] params)
Binds variables to a prepared statement as parameters.
|
boolean |
MysqliStatement.bind_result(Env env,
Value[] outParams)
Binds variables to a prepared statement for result storage.
|
boolean |
PDOStatement.bindColumn(Env env,
Value column,
Value var,
int type) |
boolean |
PDOStatement.bindParam(Env env,
Value parameter,
Value value,
int dataType,
int length,
Value driverOptions) |
static boolean |
MysqliModule.mysqli_bind_param(Env env,
MysqliStatement stmt,
StringValue types,
Value[] params)
|
static boolean |
MysqliModule.mysqli_bind_result(Env env,
MysqliStatement stmt,
Value[] outParams)
|
static boolean |
MysqliModule.mysqli_stmt_bind_param(Env env,
MysqliStatement stmt,
StringValue types,
Value[] params)
Binds variables for the parameter markers
in SQL statement that was passed to
MysqliModule.mysqli_prepare(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.Mysqli, java.lang.String) . |
static boolean |
MysqliModule.mysqli_stmt_bind_result(Env env,
MysqliStatement stmt,
Value[] outParams)
Binds outparams to result set.
|
static boolean |
OracleModule.oci_define_by_name(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Uses a PHP variable for the define-step during a SELECT
|
static Value |
OracleModule.ocifetchinto(Env env,
OracleStatement stmt,
Value result,
int mode)
Fetches the next row into an array
|
Modifier and Type | Method and Description |
---|---|
static SocketInputOutput |
StreamModule.stream_socket_client(Env env,
java.lang.String remoteSocket,
Value errorInt,
Value errorStr,
double timeout,
int flags,
StreamContextResource context)
Opens an Internet connection.
|
static SocketInputOutput |
StreamModule.stream_socket_client(Env env,
java.lang.String remoteSocket,
Value errorInt,
Value errorStr,
double timeout,
int flags,
StreamContextResource context)
Opens an Internet connection.
|
Modifier and Type | Method and Description |
---|---|
static StringValue |
MbstringModule.mb_convert_variables(Env env,
java.lang.String toEncoding,
java.lang.String fromEncodings,
Value vars)
Decodes and then encodes variables.
|
static BooleanValue |
MbstringModule.mb_parse_str(Env env,
StringValue strValue,
Value result)
Multibyte version of parse_str.
|
Modifier and Type | Method and Description |
---|---|
static Value |
RegexpModule.ereg(Env env,
Ereg regexp,
StringValue string,
Value regsV)
Returns the index of the first match.
|
static Value |
RegexpModule.eregi(Env env,
Eregi regexp,
StringValue string,
Value regsV)
Returns the index of the first match.
|
static Value |
RegexpModule.preg_match_all(Env env,
Regexp regexp,
StringValue subject,
Value matchRef,
int flags,
int offset)
Returns the number of full pattern matches or FALSE on error.
|
static Value |
RegexpModule.preg_match(Env env,
Regexp regexp,
StringValue subject,
Value matchRef,
int flags,
int offset) |
static Value |
RegexpModule.preg_replace_callback(Env env,
Value regexpValue,
Callable fun,
Value subject,
long limit,
Value count)
Loops through subject if subject is array of strings
|
static Value |
RegexpModule.preg_replace(Env env,
Regexp[] regexpList,
Value replacement,
Value subject,
long limit,
Value count)
Loops through subject if subject is array of strings
XXX: need to be able to take in Regexp[] for compiled code
|
Modifier and Type | Method and Description |
---|---|
static Value |
StringModule.parse_str(Env env,
StringValue str,
Value ref)
Parses the string as a query string.
|
static Value |
StringModule.sscanf(Env env,
StringValue string,
StringValue format,
Value[] args)
scans a string
|
static Value |
StringModule.sscanfOld(Env env,
StringValue string,
StringValue format,
Value[] args)
scans a string
|
static Value |
StringModule.str_ireplace(Env env,
Value search,
Value replace,
Value subject,
Value count)
replaces substrings.
|
static Value |
StringModule.str_replace(Env env,
Value search,
Value replace,
Value subject,
Value count)
replaces substrings.
|
Modifier and Type | Method and Description |
---|---|
int |
Xml.xml_parse_into_struct(Env env,
StringValue data,
Value valsV,
Value indexV)
Parses data into 2 parallel array structures.
|
int |
Xml.xml_parse_into_struct(Env env,
StringValue data,
Value valsV,
Value indexV)
Parses data into 2 parallel array structures.
|
int |
XmlModule.xml_parse_into_struct(Env env,
Xml parser,
StringValue data,
Value valueArray,
Value indexArray) |
int |
XmlModule.xml_parse_into_struct(Env env,
Xml parser,
StringValue data,
Value valueArray,
Value indexArray) |