显示下拉菜单

Test of token_get_all() 本页面仅提供英文版本。

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test not validated (platform dependant or random result etc.)
Example #1
$input = '<?php echo; ?>'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'array' => [
      
=> [
        
=> 379,
        
=> '<?php ',
        
=> 1,
      ],
      
=> [
        
=> 328,
        
=> 'echo',
        
=> 1,
      ],
      
=> ';',
      
=> [
        
=> 382,
        
=> ' ',
        
=> 1,
      ],
      
=> [
        
=> 381,
        
=> '?>',
        
=> 1,
      ],
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = '/* comment */'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'array' => [
      
=> [
        
=> 321,
        
=> '/* comment */',
        
=> 1,
      ],
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]