Display the drop-down list

Test of wordwrap()

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> 'The quick brown fox jumped over the lazy dog.',
  
=> 20,
  
=> '_DOUBLE_QUOTES_<br />\\n_DOUBLE_QUOTES_',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'The quick brown fox<br />
jumped over the lazy<br />
dog.'
,
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]
Example #2
$input = [
  
=> 'A very long woooooooooooord.',
  
=> 8,
  
=> '_DOUBLE_QUOTES_\\n_DOUBLE_QUOTES_',
  
=> true,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'A very
long
wooooooo
ooooord.'
,
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]