/var/www/html_sp/wp-content/plugins/loco-translate/src/compat/TokenizerExtension.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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);
    }
}