WordPress at a glance
function is not described

PclZipUtilOptionText() WP 1.0

Function : PclZipUtilOptionText() Description : Translate option value in text. Mainly for debug purpose. Parameters : $p_option : the option value. Return Values : The option text value.

No Hooks.

Return

Nothing (null).

Usage

PclZipUtilOptionText( $p_option );

Code of PclZipUtilOptionText: wp-admin/includes/class-pclzip.php WP 5.2.2

<?php
function PclZipUtilOptionText($p_option)
{

  $v_list = get_defined_constants();
  for (reset($v_list); $v_key = key($v_list); next($v_list)) {
	    $v_prefix = substr($v_key, 0, 10);
	    if ((   ($v_prefix == 'PCLZIP_OPT')
         || ($v_prefix == 'PCLZIP_CB_')
         || ($v_prefix == 'PCLZIP_ATT'))
	        && ($v_list[$v_key] == $p_option)) {
      return $v_key;
	    }
  }

  $v_result = 'Unknown';

  return $v_result;
}