PHP  
 PHP_5_4
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Skip Report for ext/sockets/tests/socket_set_option_bindtodevice.phpt

Script

<?php
if (!extension_loaded('sockets')) {
        die(
'SKIP sockets extension not available.');
}
if (!
defined("SO_BINDTODEVICE")) {
    die(
'SKIP SO_BINDTODEVICE not supported on this platform.');
}
if (!
function_exists("posix_getuid") || posix_getuid() != 0) {
    die(
'SKIP SO_BINDTODEVICE requires root permissions.');
}
?>

Reason

SO_BINDTODEVICE requires root permissions.

 

Generated at Fri, 24 Oct 2014 05:22:02 +0000 (7 days ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.