/PHP-5.6/ext/snmp/tests/ |
H A D | snmp2_set.phpt | 22 echo "No type & no value (timeout & retries instead)\n"; 23 $z = snmp2_set($hostname, $communityWrite, 'SNMPv2-MIB::sysLocation.0', $timeout, $retries); 26 echo "No value (timeout instead), retries instead of timeout\n"; 36 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 39 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 43 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries); 45 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 46 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries); 48 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 149 No type & no value (timeout & retries instead) [all …]
|
H A D | snmpset.phpt | 22 echo "No type & no value (timeout & retries instead)\n"; 23 $z = snmpset($hostname, $communityWrite, 'SNMPv2-MIB::sysLocation.0', $timeout, $retries); 26 echo "No value (timeout instead), retries instead of timeout\n"; 36 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 39 $oldvalue2 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 43 $z = snmpset($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries); 45 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 46 $z = snmpset($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries); 48 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1)); 149 No type & no value (timeout & retries instead) [all …]
|
H A D | snmp3.phpt | 15 // string object_id [, int timeout [, int retries]]); 20 …hostname, $user_noauth, 'noAuthNoPriv', '', '', '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 35 …me, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 38 …ame, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 44 …ame, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 50 …ostname, $username, 'authNoPriv', 'MD5', $auth_pass, '', '', '.1.3.6.1.2.1.1', $timeout, $retries); 57 …name, $username, 'authNoPriv', 'MD5', $auth_pass, 'AES', '', '.1.3.6.1.2.1.1', $timeout, $retries); 65 …t($hostname, $rwuser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, $timeout, $retries); 68 …ser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, 's', $newvalue1, $timeout, $retries); 70 …ser, 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, $oid1, $timeout, $retries) === $newvalue1)); [all …]
|
H A D | snmpget.phpt | 22 echo "Single OID, default timeout and retries\n"; 24 echo "Single OID, default retries\n"; 27 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 29 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 31 …get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout, $retries)); 35 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1..1.1.0', $timeout, $retries)); 37 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries)); 43 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 45 var_dump(snmpget($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries)); 60 Single OID, default timeout and retries [all …]
|
H A D | snmp2_set-nomib.phpt | 23 … snmp2_set($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retries); 27 …nmp2_set($hostname, $communityWrite, '.1.3.6...777.888.999.444.0', 's', 'bbb', $timeout, $retries); 32 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 36 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries); 38 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 39 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries); 41 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
|
H A D | snmpset-nomib.phpt | 23 $z = snmpset($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retries… 27 … snmpset($hostname, $communityWrite, '.1.3...6.777.888.999.444.0', 's', 'bbb', $timeout, $retries); 33 $oldvalue1 = snmpget($hostname, $communityWrite, $oid1, $timeout, $retries); 37 $z = snmpset($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries); 39 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $newvalue1)); 40 $z = snmpset($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries); 42 var_dump((snmpget($hostname, $communityWrite, $oid1, $timeout, $retries) === $oldvalue1));
|
H A D | snmp2_get.phpt | 21 var_dump(snmp2_get($hostname, $community, array(), $timeout, $retries)); 25 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 27 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 29 …get($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout, $retries)); 33 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2..1.1.1.0', $timeout, $retries)); 35 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1...1.1.0'), $timeout, $retries)); 37 …t($hostname, $community, array('.1.3.6.1.2.1...1.1.0', '.1.3.6.1.2.1.1.3.0'), $timeout, $retries)); 41 var_dump(snmp2_get($hostname, $community, '.1.3.6.1.2.1.1.1.110', $timeout, $retries)); 43 var_dump(snmp2_get($hostname, $community, array('.1.3.6.1.2.1.1.1.110'), $timeout, $retries)); 45 …t($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.3.220'), $timeout, $retries));
|
H A D | snmp_getvalue.phpt | 18 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 22 var_dump(snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 26 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 33 $z = snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries); 40 ….2.1.88.1.4.2.1.3.6.95.115.110.109.112.100.95.108.105.110.107.68.111.119.110', $timeout, $retries); 47 ….2.1.88.1.4.2.1.3.6.95.115.110.109.112.100.95.108.105.110.107.68.111.119.110', $timeout, $retries); 56 var_dump(count(snmp2_walk($hostname, $community, '.', $timeout, $retries)));
|
H A D | snmp2_walk.phpt | 23 $return = snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 31 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 36 $return = snmpwalk($hostname, $community, '', $timeout, $retries); 42 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries); 46 $return = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries); 50 …urn = snmp2_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries); 52 …urn = snmp2_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries); 56 $return = snmp2_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
|
H A D | snmpwalk.phpt | 23 $return = snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 31 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 36 $return = snmpwalk($hostname, $community, '', $timeout, $retries); 42 $return = snmpwalk($hostname, $community, '.1.3.6...1', $timeout, $retries); 46 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries); 50 $return = snmpwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries… 52 $return = snmpwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries… 56 $return = snmpwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
|
H A D | snmp2_getnext.phpt | 18 var_dump(snmp2_getnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 20 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 22 …ext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $timeout, $retries));
|
H A D | snmpgetnext.phpt | 18 var_dump(snmpgetnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 20 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 22 …ext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $timeout, $retries));
|
H A D | snmprealwalk.phpt | 23 $return = snmprealwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 30 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 38 $return = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries… 42 …n = snmprealwalk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries); 44 …n = snmprealwalk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries); 48 $return = snmprealwalk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries…
|
H A D | snmp-object.phpt | 20 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries); 28 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 34 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 43 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 52 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 61 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 70 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 110 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); 118 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); 134 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); [all …]
|
H A D | snmp2_real_walk.phpt | 23 $return = snmp2_real_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries); 30 $return = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1'), $timeout, $retries); 38 …rn = snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6'), $timeout, $retries); 42 … snmp2_real_walk($hostname, $community, array('.1.3.6.1.2.1.1', '.1.3.6...1'), $timeout, $retries); 44 … snmp2_real_walk($hostname, $community, array('.1.3.6...1', '.1.3.6.1.2.1.1'), $timeout, $retries); 48 …rn = snmp2_real_walk($hostname, $community, array('.1.3.6.99999.0.99999.111'), $timeout, $retries);
|
H A D | snmp-object-errno-errstr.phpt | 20 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 27 $session = new SNMP(SNMP::VERSION_2c, $hostname, 'timeout_community_432', $timeout, $retries); 35 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 42 $session = new SNMP(SNMP::VERSION_3, $hostname, 'somebogususer', $timeout, $retries); 52 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 58 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 64 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 70 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); 80 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
|
H A D | snmp-object-properties.phpt | 21 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries); 79 ["retries"]=> 106 ["retries"]=> 133 ["retries"]=> 163 ["retries"]=> 205 ["retries"]=>
|
H A D | generic_timeout_error.phpt | 17 var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 18 …dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries));
|
H A D | snmp3-error.phpt | 17 // string object_id [, int timeout [, int retries]]); 28 …ser', 'authPriv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 32 …riv', 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777...7.5.3', 's', 'ttt', $timeout, $retries)); 33 … 'MD5', $auth_pass, 'AES', $priv_pass, '.1.3.6.777.7.5.3', array('s'), 'yyy', $timeout, $retries));
|
H A D | wrong_hostname.phpt | 17 var_dump(snmpget('192.168..6.1', 'community', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
|
H A D | skipif.inc | 9 //string $object_id [, int $timeout [, int $retries ]] )
|
/PHP-5.6/ext/imap/tests/ |
H A D | imap_errors_basic.phpt | 18 echo "Issue open with invalid password with normal default number of retries, i.e 3\n"; 24 echo "\n\nIssue open with invalid password with retries == 1\n"; 33 Issue open with invalid password with normal default number of retries, i.e 3 47 Issue open with invalid password with retries == 1
|
H A D | skipif.inc | 9 $retries = 0; // dont retry connect on failure 11 $mbox = @imap_open($mailbox, $username, $password, $options, $retries);
|
/PHP-5.6/ext/standard/tests/mail/ |
H A D | mail_skipif.inc | 19 $retries = 0; // dont retry connect on failure 21 $mbox = imap_open($mailbox, $username, $password, $options, $retries);
|
/PHP-5.6/ext/snmp/ |
H A D | snmp.c | 153 ZEND_ARG_INFO(0, retries) 161 ZEND_ARG_INFO(0, retries) 169 ZEND_ARG_INFO(0, retries) 177 ZEND_ARG_INFO(0, retries) 187 ZEND_ARG_INFO(0, retries) 212 ZEND_ARG_INFO(0, retries) 220 ZEND_ARG_INFO(0, retries) 228 ZEND_ARG_INFO(0, retries) 236 ZEND_ARG_INFO(0, retries) 246 ZEND_ARG_INFO(0, retries) [all …]
|