/php-src/ext/snmp/tests/ |
H A D | snmp2_getnext.phpt | 20 var_dump(snmp2_getnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 22 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 24 var_dump(snmp2_getnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $t…
|
H A D | snmpgetnext.phpt | 20 var_dump(snmpgetnext($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 22 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0'), $timeout, $retries)); 24 var_dump(snmpgetnext($hostname, $community, array('.1.3.6.1.2.1.1.1.0', '.1.3.6.1.2.1.1.6.0'), $tim…
|
H A D | snmp-object.phpt | 22 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries); 30 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 36 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 45 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 54 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 63 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 72 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 112 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); 120 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); 136 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); [all …]
|
H A D | skipif.inc | 6 //snmpget ( string $hostname , string $community , 9 if (@snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
|
H A D | snmp-object-errno-errstr.phpt | 23 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 30 $session = new SNMP(SNMP::VERSION_2c, $hostname, 'timeout_community_432', $timeout, $retries); 38 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 45 $session = new SNMP(SNMP::VERSION_3, $hostname, 'somebogususer', $timeout, $retries); 55 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 61 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 67 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries); 73 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries); 83 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
|
H A D | generic_timeout_error.phpt | 19 var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries)); 20 var_dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retrie…
|
H A D | snmp-object-properties.phpt | 23 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries); 86 ["hostname"]=> 111 ["hostname"]=> 136 ["hostname"]=> 166 ["hostname"]=>
|
H A D | wrong_hostname.phpt | 2 Wrong hostname
|
H A D | bug64159.phpt | 20 $ext_output = snmpget($hostname, $community, '.1.3.6.1.4.1.2021.8.1.101.1');
|
/php-src/ext/standard/tests/network/ |
H A D | fsockopen_error.phpt | 8 $hostname = 'tcp://127.0.0.1'; // loopback address 13 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) ); 17 $hostname = 'invalid://127.0.0.1'; // loopback address 22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
|
H A D | bug79405.phpt | 18 gethostbyname(): Argument #1 ($hostname) must not contain any null bytes 19 gethostbynamel(): Argument #1 ($hostname) must not contain any null bytes
|
H A D | dns_check_record_error_conditions.phpt | 18 dns_check_record(): Argument #1 ($hostname) must not be empty
|
/php-src/.github/scripts/ |
H A D | setup-slapd.sh | 10 (hostname && hostname -a && hostname -A && hostname -f) | 15 (hostname -i && hostname -I && echo "127.0.0.1 ::1") |
|
/php-src/ext/standard/tests/file/ |
H A D | basename_variation1-win32.phpt | 23 "hostname:", 177 basename for path hostname:foo is: 178 string(12) "hostname:foo" 179 basename for path hostname:foo/ is: 180 string(12) "hostname:foo" 181 basename for path hostname:foo\ is: 182 string(12) "hostname:foo" 183 basename for path hostname:foo.bar is: 184 string(16) "hostname:foo.bar" 186 string(16) "hostname:foo.bar" [all …]
|
/php-src/ext/standard/ |
H A D | dns.c | 150 zend_string *hostname; in PHP_FUNCTION() local 156 hostname = php_gethostbyaddr(addr); in PHP_FUNCTION() 158 if (hostname == NULL) { in PHP_FUNCTION() 166 RETVAL_STR(hostname); in PHP_FUNCTION() 221 char *hostname; in PHP_FUNCTION() local 226 Z_PARAM_PATH(hostname, hostname_len) in PHP_FUNCTION() 247 char *hostname; in PHP_FUNCTION() local 255 Z_PARAM_PATH(hostname, hostname_len) in PHP_FUNCTION() 371 char *hostname; in PHP_FUNCTION() local 810 char *hostname; in PHP_FUNCTION() local [all …]
|
H A D | dns_win32.c | 45 char *hostname; in PHP_FUNCTION() local 52 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz|z", &hostname, &hostname_len, &mx_list, &weight_lis… in PHP_FUNCTION() 56 status = DnsQuery_A(hostname, DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION() 98 char *hostname; in PHP_FUNCTION() local 106 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|S", &hostname, &hostname_len, &rectype) == FAILURE) { in PHP_FUNCTION() 134 status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION() 356 char *hostname; in PHP_FUNCTION() local 364 &hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) { in PHP_FUNCTION() 464 status = DnsQuery_A(hostname, type_to_fetch, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION()
|
/php-src/ext/ldap/tests/ |
H A D | ldap_connect_variation.phpt | 12 // no hostname, no port 28 // bad hostname (connect should work, not bind)
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug32941.phpt | 24 <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">steckovic</ns2:hostname>
|
H A D | bug50675.phpt | 25 <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">steckovic</ns2:hostname>
|
/php-src/ext/filter/tests/ |
H A D | bug64441.phpt | 2 bug 64441, FILTER_VALIDATE_URL will invalidate a hostname that ended by dot
|
H A D | bug51192.phpt | 2 bug 51192, FILTER_VALIDATE_URL will invalidate a hostname that includes '-'
|
/php-src/ext/standard/tests/url/ |
H A D | bug73192.phpt | 2 Bug #73192: parse_url return wrong hostname
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 523 if (hostname.l == sizeof("localhost") - 1 && !strncasecmp(hostname.s, "localhost", hostname.l)) { 532 if (hostname.l == sizeof(".") - 1 && hostname.s[0] == '.') { 556 MYSQLND_CSTRING hostname, 579 hostname.s?hostname.s:"", username.s?username.s:"", database.s?database.s:"", port, mysql_flags, 610 if (!hostname.s || !hostname.s[0]) { 611 hostname.s = "localhost"; 612 hostname.l = strlen(hostname.s); 673 mysqlnd_set_persistent_string(&conn->hostname, hostname.s, hostname.l, conn->persistent); 676 mnd_sprintf(&p, 0, "%s via TCP/IP", conn->hostname.s); 752 const MYSQLND_CSTRING hostname, [all …]
|
/php-src/ext/snmp/ |
H A D | snmp_arginfo.h | 5 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) 15 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) 27 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) 62 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) 77 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) 92 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) 119 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
|
/php-src/ext/mysqli/tests/ |
H A D | bug38003.phpt | 10 private function __construct($hostname, $username, $password, $database) {
|