Display the drop-down list

Test of filegroup()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test not validated (platform dependant or random result etc.)
Example #1
$input = '/home/micmap/cgi-bin/php-by-example/functions/f/filegroup.php'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => '353',
    
'array' => [
      
'name' => 'qasda',
      
'passwd' => 'c',
      
'members' => [
      ],
      
'gid' => '353',
    ],
  ],
  
'errors' => [
    
=> [
      
'code' => 1024,
      
'message' => 'the result is hashed with pbx_hash for security reasons.',
    ],
  ],
  
'php_version' => '7.1.26 Linux x86_64',
]
Example #2
$input = '/path/to/foo.txt'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => false,
  ],
  
'errors' => [
    
=> [
      
'code' => 2,
      
'message' => 'filegroup(): stat failed for /path/to/foo.txt',
    ],
  ],
  
'php_version' => '7.1.26 Linux x86_64',
]