@@ 1455-1461 (lines=7) @@ | ||
1452 | while ($i<$p_size) { |
|
1453 | ||
1454 | // ----- Check if the option is supported |
|
1455 | if (!isset($v_requested_options[$p_options_list[$i]])) { |
|
1456 | // ----- Error log |
|
1457 | PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid optional parameter '".$p_options_list[$i]."' for this method"); |
|
1458 | ||
1459 | // ----- Return |
|
1460 | return PclZip::errorCode(); |
|
1461 | } |
|
1462 | ||
1463 | // ----- Look for next option |
|
1464 | switch ($p_options_list[$i]) { |
|
@@ 1898-1904 (lines=7) @@ | ||
1895 | foreach ($p_file_list as $v_key => $v_value) { |
|
1896 | ||
1897 | // ----- Check if the option is supported |
|
1898 | if (!isset($v_requested_options[$v_key])) { |
|
1899 | // ----- Error log |
|
1900 | PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file attribute '".$v_key."' for this file"); |
|
1901 | ||
1902 | // ----- Return |
|
1903 | return PclZip::errorCode(); |
|
1904 | } |
|
1905 | ||
1906 | // ----- Look for attribute |
|
1907 | switch ($v_key) { |