Display the drop-down list

Test of preg_grep()

Example #1 : test success
Example #1
$input = [
  
=> '_SINGLE_QUOTE_/^(\\d+)?\\.\\d+$/_SINGLE_QUOTE_',
  
=> [
    
=> 123,
    
=> 0.456,
    
=> 'xyz',
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
=> 0.456,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]