Initial commit

This commit is contained in:
2026-03-01 04:20:18 +00:00
commit 894732e8a2
9879 changed files with 878945 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace PayPal\Common;
/**
* Class ArrayUtil
* Util Class for Arrays
*
* @package PayPal\Common
*/
class ArrayUtil
{
/**
*
* @param array $arr
* @return true if $arr is an associative array
*/
public static function isAssocArray(array $arr)
{
foreach ($arr as $k => $v) {
if (is_int($k)) {
return false;
}
}
return true;
}
}