Display the drop-down list

Test of strrpos()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #1
$input = [
  
=> '0123456789a123456789b123456789c',
  
=> '7',
  
=> -5,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'int' => 17,
  ],
  
'php_version' => '7.1.26 Linux x86_64',
]
Example #2
$input = [
  
=> '0123456789a123456789b123456789c',
  
=> '7',
  
=> 20,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'int' => 27,
  ],
  
'php_version' => '7.1.26 Linux x86_64',
]
Example #3
$input = [
  
=> '0123456789a123456789b123456789c',
  
=> '7',
  
=> 28,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'int' => false,
  ],
  
'php_version' => '7.1.26 Linux x86_64',
]