Display the drop-down list

Test of openssl_random_pseudo_bytes()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test not validated (platform dependant or random result etc.)
Example #3 : test not validated (platform dependant or random result etc.)
Example #4 : test not validated (platform dependant or random result etc.)
Example #1
$input = [
  
=> 4,
  
=> '$crypto_strong',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'crypto_strong' => true,
    
'string' => '',
    
'hex' => 'a4899d7f',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 1,
  
=> '$crypto_strong',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'crypto_strong' => true,
    
'string' => '',
    
'hex' => '8e',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 0,
  
=> '$crypto_strong',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'crypto_strong' => false,
    
'string' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
=> -1,
  
=> '$crypto_strong',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'crypto_strong' => false,
    
'string' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]