!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/local/wp/vendor/wp-cli/i18n-command/src/   drwxr-xr-x
Free 712.74 GB of 879.6 GB (81.03%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     BladeCodeExtractor.php (1.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace WP_CLI\I18n;

use Exception;
use Gettext\Translations;
use WP_CLI;

final class BladeCodeExtractor extends BladeGettextExtractor {
    use IterableCodeExtractor;

    public static $options = [
        'extractComments' => [ 'translators', 'Translators' ],
        'constants'       => [],
        'functions'       => [
            '__'              => 'text_domain',
            'esc_attr__'      => 'text_domain',
            'esc_html__'      => 'text_domain',
            'esc_xml__'       => 'text_domain',
            '_e'              => 'text_domain',
            'esc_attr_e'      => 'text_domain',
            'esc_html_e'      => 'text_domain',
            'esc_xml_e'       => 'text_domain',
            '_x'              => 'text_context_domain',
            '_ex'             => 'text_context_domain',
            'esc_attr_x'      => 'text_context_domain',
            'esc_html_x'      => 'text_context_domain',
            'esc_xml_x'       => 'text_context_domain',
            '_n'              => 'single_plural_number_domain',
            '_nx'             => 'single_plural_number_context_domain',
            '_n_noop'         => 'single_plural_domain',
            '_nx_noop'        => 'single_plural_context_domain',

            // Compat.
            '_'               => 'gettext', // Same as 'text_domain'.

            // Deprecated.
            '_c'              => 'text_domain',
            '_nc'             => 'single_plural_number_domain',
            '__ngettext'      => 'single_plural_number_domain',
            '__ngettext_noop' => 'single_plural_domain',
        ],
    ];

    protected static $functionsScannerClass = 'WP_CLI\I18n\PhpFunctionsScanner';

    /**
     * {@inheritdoc}
     */
    public static function fromString( $text, Translations $translations, array $options = [] ) {
        WP_CLI::debug( "Parsing file {$options['file']}", 'make-pot' );

        try {
            self::fromStringMultiple( $text, [ $translations ], $options );
        } catch ( Exception $exception ) {
            WP_CLI::debug(
                sprintf(
                    'Could not parse file %1$s: %2$s',
                    $options['file'],
                    $exception->getMessage()
                ),
                'make-pot'
            );
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0258 ]--