WordPress at a glance
function is not described

getid3_lib::CreateDeepArray() public WP 1.0

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

Array.

Usage

$result = getid3_lib::CreateDeepArray( $ArrayPath, $Separator, $Value );
$ArrayPath(string) (required)
-
$Separator(string) (required)
-
$Value(mixed) (required)
-

Code of getid3_lib::CreateDeepArray() WP 5.7.2

<?php
public static function CreateDeepArray($ArrayPath, $Separator, $Value) {
	// assigns $Value to a nested array path:
	//   $foo = self::CreateDeepArray('/path/to/my', '/', 'file.txt')
	// is the same as:
	//   $foo = array('path'=>array('to'=>'array('my'=>array('file.txt'))));
	// or
	//   $foo['path']['to']['my'] = 'file.txt';
	$ArrayPath = ltrim($ArrayPath, $Separator);
	if (($pos = strpos($ArrayPath, $Separator)) !== false) {
		$ReturnedArray[substr($ArrayPath, 0, $pos)] = self::CreateDeepArray(substr($ArrayPath, $pos + 1), $Separator, $Value);
	} else {
		$ReturnedArray[$ArrayPath] = $Value;
	}
	return $ReturnedArray;
}