Display the drop-down list

Test of strip_tags()

Example #1 : test success
Example #2 : test success
Example #1
$input = '<p>Test paragraph.</p><!-- Comment --> <a href="#fragment">Other text</a>'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'Test paragraph. Other text',
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]
Example #2
$input = [
  
=> '<p>Test paragraph.</p><!-- Comment --> <a href="#fragment">Other text</a>',
  
=> '<p><a>',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '<p>Test paragraph.</p> <a href="#fragment">Other text</a>',
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]