Updated Articles

  1. sgapiSort(%%array, %%flag)

    This is equivalent to the sort function in PHP. This function sorts an array. Elements will be arranged from lowest to highest when this function has completed. The %%flag parameter defaults to "SORT_REGULAR". See the PHP documentation to lea...
  2. sgapiArray_Multisort(%%array1, %%array2)

    This function is equivalent to the array_multisort function in PHP. This function can be used to sort several arrays at once, or a multi-dimensional array by one or more dimensions. To see an example or learn more other PHP functions and ...
  3. sgapiPreg_Match(%%pattern, %%subject, %%matches, %%flags, %%offset)

    This is equivalent to the preg_match function in PHP. Use to perform a regular expression match. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  4. sgapiBase64Decode(%%data)

    This is equivalent to the base64_decode function in PHP. It decodes base64 encoded %%data. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  5. sgapiKRSort(%%array, %%flag)

    This is equivalent to the krsort function in PHP. This function sorts an array by key in reverse order. Elements will be arranged in reverse order when this function has completed. The %%flag parameter defaults to "SORT_REGULAR". See the PHP ...
  6. sgapiRSort(%%array, %%flag)

    This is equivalent to the rsort function in PHP. This function sorts an array in reverse order (highest to lowest), and then reindexes it. This means the keys are now numerical. The %%flag parameter defaults to "SORT_REGULAR". See the PHP do...
  7. sgapiMin (%%array)

    This is equivalent to the min function in PHP. It is used to find the lowest value. Example %%minvalue = array(85,66,22,99); %%output .= sgapiPrint_R(sgapiMin(%%minvalue)); // will output 22 To see an example or learn more...
  8. sgapiArraySearch(%%needle,%%haystack)

    This is equivalent to the array_search function in PHP. Given a value(%%needle) and an array (%%haystack) this function will return the key. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation...
  9. sgapiMax(%%array)

    This is equivalent to the max function in PHP. It is used to find the highest value. Example %%maxvalue = array(85,66,22,99); %%output .= sgapiPrint_R(sgapiMax(%%maxvalue)); // will output 99 To see an example or learn mor...
  10. sgapiArrayCombine(%%keys array,%%values array)

    This is equivalent to the array_combine function in PHP. Creates an array by using one array for keys and another for its values. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...