PHP Chinese functions are serialized. Function Abs () description: mixedabs (mixednumber); Returnstheabsolutevalueofnumber. Iftheargumentnumberisfloat, returntypeisalsofloat, otherwiseitisint (return the number function Abs ()
Description:
Mixed abs (mixed number );
Returns the absolute value of number. if the argument number is float, return type is also float, otherwise it is int (returns the absolute value of the input number, float type returns the float type, and other returns the integer type)
Function Acos ()
Description:
Float acos (float arg );
Returns the arc cosine of arg in radians (Returns the cosine of the angle)
Adabas D function
Function ada_afetch ()
Description:
Fetch a result row into an array (returns the result to an array)
Function ada_autocommit ()
Description:
Toggle autocommit behaviour
Function ada_close ()
Description:
Close a connection to an Adabas D server (disconnect a database)
Function ada_commit ()
Description:
Commit a transaction (submit a process)
Function ada_connect ()
Description:
Connect to an Adabas D datasource (connect to a database)
Function ada_exec ()
Description:
Prepare and execute a SQL statement (execute an SQL statement)
Function ada_fetchrow ()
Description:
Fetch a row from a result (retrieve a record from the database)
Function ada_fieldname ()
Description:
Get the columnname (obtain the field name)
Function ada_fieldnum ()
Description:
Get column number (obtain the total number of fields)
Function ada_fieldtype ()
Description:
Get the datatype of a field (obtain the field type)
Function ada_freeresult ()
Description:
Free resources associated with a result
Function count ()
Description:
Calculate the number of elements in a variable.
Int count (mixed var );
Returns the number of elements in var, which is typically an array (since anything else will have one element ).
Returns 0 if the variable is not set.
Returns 1 if the variable is not an array.
Function current ()
Description:
Returns the elements currently referred to by the array pointer.
Mixed current (array );
Each array variable has an internal pointer that points to one of its elements. in addition, all of the elements in the array are linked by a bidirectional linked list for traversing purposes. the internal pointer points to the first element that was inserted to the array until you run one of the functions that modify that pointer on that array.
The current () function simply returns the array element that's currently being pointed by the internal pointer. it does not move the pointer in any way. if the internal pointer points beyond the end of the elements list, current () returns false.
Function each ()
Description:
Returns the value of the next key/value in the array.
Array each (array );
Returns the current key/value pair from the array and advances the array cursor. this pair is returned in a four-element array, with the keys 0, 1, key, and value. elements 0 and key each contain the key name of the array element, and 1 and value contain the data.
Example 1. each () examples
$ Foo = array ("bob", "fred", "jussi", "jouni"); $ bar = each ($ foo );
$ Bar now contains the following key/value pairs:
0 => 0
1 => 'Bob'
Key => 0
Value => 'Bob'
$ Foo = array ("Robert" => "Bob", "Seppo" => "Sepi"); $ bar = each ($ foo );
$ Bar now contains the following key/value pairs:
0 => 'Robert'
1 => 'Bob'
Key => 'Robert'
Value => 'Bob'
Example 2. Traversing $ HTTP_POST_VARS with each ()
Description: mixed abs (mixed number); Returns the absolute value of number. if the argument number is float, return type is also float, otherwise it is int (return the number of inputs...