Class Utils
	
	
	
	Methods summary
	
		| 
			 public static
			string
			
			 | 
		#
		dumpVar( mixed $var, boolean $echo = true )
			Output a dump of a variable 
			Output a dump of a variable Parameters
					$varvariable to dump$echotrue to echo dump, false to return dump as stringReturns
					string
				 | 
	
		| 
			 public static
			string
			
			 | 
		#
		dumpFile( mixed $file, boolean $echo = true )
			Output a dump of a file Parameters
					$filefile to dump$echotrue to echo dump, false to return dump as stringReturns
					string
				 | 
	
		| 
			 public static
			array
			
			 | 
		#
		arrayRecursiveDiff( array $aArray1, array $aArray2 )
			Support for recursive array_diff 
			Support for recursive array_diff Compares first array against the second and returns the difference - that is
the values in the first, but not in the second array Parameters
					$aArray1first array$aArray2second arrayReturns
					array
				 | 
	
		| 
			 public static
			array
			
			 | 
		#
		arrayRecursiveMerge( array $data, mixed $merge )
			This function can be thought of as a hybrid between PHP's array_mergeandarray_merge_recursive.
The difference between this method and the built-in ones, is that if an array key contains another array, then
Utils::arrayRecursiveMerge() will behave in a recursive fashion (unlikearray_merge).  But it
will not act recursively for keys that contain scalar values (unlikearray_merge_recursive). 
			This function can be thought of as a hybrid between PHP's array_mergeandarray_merge_recursive.
The difference between this method and the built-in ones, is that if an array key contains another array, then
Utils::arrayRecursiveMerge() will behave in a recursive fashion (unlikearray_merge).  But it
will not act recursively for keys that contain scalar values (unlikearray_merge_recursive). Note: This function will work with an unlimited amount of arguments and typecasts non-array parameters
into arrays. Parameters
					$dataArray to be merged$mergeArray to merge with. The argument and all trailing arguments will be array cast when mergedReturns
					arrayMerged array
 Link |