Display the drop-down list

Test of posix_getgrnam()

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 = 'qasda'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'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.30 Linux x86_64',
]
Example #2
$input = 'toons'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'array' => false,
  ],
  
'errors' => [
    
=> [
      
'code' => 1024,
      
'message' => 'the result is hashed with pbx_hash for security reasons.',
    ],
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]