HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/shoetique/wp-content/plugins/wp-all-export-pro/src/Csv/CsvRcfWriter.php
<?php

/*
 * AJGL CSV RFC Component
 *
 * Copyright (C) Antonio J. GarcĂ­a Lagar <aj@garcialagar.es>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Wpae\Csv;

class CsvRcfWriter
{
    /**
     * @see http://php.net/manual/en/function.fputcsv.php
     *
     * @param resource $handle
     * @param array $fields
     * @param string $delimiter
     * @param string $enclosure
     * @param string $escape
     */
    public static function fputcsv($handle, array $fields, $delimiter = ',', $enclosure = '"', $escape = '\\')
    {
        CsvRfcUtils::fPutCsv($handle, $fields, $delimiter, $enclosure, $escape);
    }

    /**
     * @see http://php.net/manual/en/function.fgetcsv.php
     *
     * @param resource $handle
     * @param array $length
     * @param string $delimiter
     * @param string $enclosure
     * @param string $escape
     *
     * @return array|false|null
     */
    public static function fgetcsv($handle, $length = 0, $delimiter = ',', $enclosure = '"', $escape = '"')
    {
        return CsvRfcUtils::fGetCsv($handle, $length, $delimiter, $enclosure, $escape);
    }

    /**
     * @see http://php.net/manual/en/function.str_getcsv.php
     *
     * @param string $input
     * @param string $delimiter
     * @param string $enclosure
     * @param string $escape
     *
     * @return array
     */
    public static function str_getcsv($input, $delimiter = ',', $enclosure = '"', $escape = '"')
    {
        return CsvRfcUtils::strGetCsv($input, $delimiter, $enclosure, $escape);
    }

}