downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SplFileInfo::getInode> <SplFileInfo::getFilename
[edit] Last updated: Fri, 24 Jun 2011

view this page in

SplFileInfo::getGroup

(PHP 5 >= 5.1.2)

SplFileInfo::getGroupدریافت گروه فایل

Description

public int SplFileInfo::getGroup ( void )

دریافت گروه فایل. ID گروه به صورت عددی بازگردانده می‌شود.

Parameters

This function has no parameters.

Return Values

id گروه به صورت عددی.

Errors/Exceptions

ایجاد RuntimeException در صورت خطا.

Examples

Example #1 مثال SplFileInfo::getGroup()

<?php
$info 
= new SplFileInfo(__FILE__);
print_r(posix_getgrgid($info->getGroup()));
?>

The above example will output something similar to:

See Also



add a note add a note User Contributed Notes SplFileInfo::getGroup - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites