Display the drop-down list

Test of disk_total_space()

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 #1
$input = '/'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'float' => '9248',
  ],
  
'errors' => [
    
=> [
      
'code' => 1024,
      
'message' => 'the result is hashed with pbx_hash for security reasons.',
    ],
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]
Example #2
$input = 'C:'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'float' => false,
  ],
  
'errors' => [
    
=> [
      
'code' => 2,
      
'message' => 'disk_total_space(): No such file or directory',
    ],
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]
Example #3
$input = 'D:'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'float' => false,
  ],
  
'errors' => [
    
=> [
      
'code' => 2,
      
'message' => 'disk_total_space(): No such file or directory',
    ],
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]