PHP Class NumPHP\Core\NumArray\StringHelper

Since: 1.0.0
Author: Gordon Lesti ([email protected])
ファイルを表示 Open project: numphp/numphp Class Usage Examples

Public Methods

Method Description
toString ( mixed $data ) : string Returns a string representing an array

Protected Methods

Method Description
toStringRecursive ( mixed $data, integer $level ) : string Returns a string representing an array recursive

Method Details

toString() public static method

Returns a string representing an array
Since: 1.0.0
public static toString ( mixed $data ) : string
$data mixed given data
return string

toStringRecursive() protected static method

Returns a string representing an array recursive
Since: 1.0.0
protected static toStringRecursive ( mixed $data, integer $level ) : string
$data mixed given data
$level integer current level
return string