Display the drop-down list

Test of mb_strrichr()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #1
$input = [
  
=> 'española',
  
=> 'ol',
  
=> false,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'ola',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'española',
  
=> 'ol',
  
=> true,
  
=> 'UTF-8',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'españ',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 'española',
  
=> 'OL',
  
=> false,
  
=> 'UTF-8',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'ola',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
=> 'española',
  
=> 'an',
  
=> false,
  
=> 'UTF-8',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]