HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/intranet.kauko.lt/wp-content/plugins/loco-translate/src/compat/TokenizerExtension.php
<?php
/**
 * Placeholder for missing PHP "tokenizer" extension.
 * Just avoids fatal errors. Does not actually replace functionality.
 * 
 * If this extension is missing PHP string extraction will not work at all.
 */
abstract class Loco_compat_TokenizerExtension {
    
    public static function token_get_all( $value ){
        return [];
    }
    
}



// @codeCoverageIgnoreStart
 
if( ! function_exists('token_get_all') ){
    function token_get_all( $value ){
        return Loco_compat_TokenizerExtension::token_get_all($value);
    }
}