Display the drop-down list

Test of mb_ereg_match()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #1
$input = [
  
'encoding' => 'UTF-8',
  
=> 'a',
  
=> 'some apples',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => true,
    
'bool' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
'encoding' => 'UTF-8',
  
=> 'a',
  
=> 'a kiwi',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => true,
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
'encoding' => 'UTF-8',
  
=> '.*a',
  
=> 'some apples',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => true,
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]