File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
arrayPrint
— Similar to print_r but corrects issues such as booleans, also give more useful information about the data
Name | Description |
---|---|
$arrData | n/a |
[$strIndent = ''] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$arrData = array(0 => 'foo', 1 => 'bar');
$strIndent = '';
//Call the function arrayPrint with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> arrayPrint($arrData, $strIndent);