/PHP-8.0/win32/ |
H A D | sockets.c | 29 struct sockaddr_in address; in socketpair_win32() local 31 int size = sizeof(address); in socketpair_win32() 45 address.sin_addr.s_addr = INADDR_ANY; in socketpair_win32() 46 address.sin_family = AF_INET; in socketpair_win32() 47 address.sin_port = 0; in socketpair_win32() 49 if (bind(sock[0], (struct sockaddr *) &address, sizeof(address)) != 0) { in socketpair_win32() 53 if (getsockname(sock[0], (struct sockaddr *) &address, &size) != 0) { in socketpair_win32() 71 address.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socketpair_win32() 72 if (connect(sock[1], (struct sockaddr *) &address, sizeof(address)) != 0) { in socketpair_win32() 76 redirect = accept(sock[0], (struct sockaddr *) &address, &size); in socketpair_win32()
|
/PHP-8.0/ext/imap/tests/ |
H A D | bug45705_1.phpt | 2 Bug #45705 test #1 (imap rfc822_parse_adrlist() modifies passed address parameter) 10 $address = 'John Doe <john@example.com>'; 11 var_dump($address); 12 imap_rfc822_parse_adrlist($address, null); 13 var_dump($address);
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | stream_002.phpt | 22 Warning: stream_socket_client(): Unable to connect to (Failed to parse address "") in %s on line %d 25 string(26) "Failed to parse address """ 27 Warning: stream_socket_client(): Unable to connect to [ (Failed to parse address "[") in %s on line… 30 string(27) "Failed to parse address "["" 37 Warning: stream_socket_client(): Unable to connect to . (Failed to parse address ".") in %s on line… 40 string(27) "Failed to parse address "."" 42 Warning: stream_socket_client(): Unable to connect to 1 (Failed to parse address "1") in %s on line… 45 string(27) "Failed to parse address "1""
|
/PHP-8.0/ext/sockets/ |
H A D | sockets.stub.php | 32 * @param string $address 35 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {} argument 38 * @param string $address 41 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {} argument 45 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {} argument 49 function socket_bind(Socket $socket, string $address, int $port = 0): bool {} argument 58 * @param string $address 61 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)… argument 106 function socket_addrinfo_connect(AddressInfo $address): Socket|false {} argument 108 function socket_addrinfo_bind(AddressInfo $address): Socket|false {} argument [all …]
|
/PHP-8.0/tests/classes/ |
H A D | class_example.phpt | 9 public $first_name,$family_name,$address,$phone_num; 16 echo "Address:\t ".$this->address."\n"; 20 function initialize($first_name,$family_name,$address,$phone_num) 24 $this->address = $address; 34 $t->address = "New address..."; 83 Address: New address...
|
H A D | clone_006.phpt | 16 $this->address = "New York"; 24 $original->address = "Tel-Aviv"; 32 echo $clone->address . "\n";
|
/PHP-8.0/ext/soap/tests/bugs/ |
H A D | bug38536.phpt | 24 <address href="#i2"/> 27 <xsd:address id="i2" xsi:type="ns1:ClientAddressType" SOAP-ENC:root="0"> 29 <address href="#i3"/> 30 </xsd:address> 31 <address xsi:type="xsd:string" id="i3" SOAP-ENC:root="0">Test</address> 46 [address] => stdClass Object 49 [address] => Test
|
/PHP-8.0/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_unix.phpt | 22 $address = sprintf("/tmp/%s.sock", uniqid()); 23 if (!socket_bind($socket, $address)) { 24 die("Unable to bind to $address"); 29 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address); 31 @unlink($address); 34 @unlink($address); 42 @unlink($address); 45 @unlink($address); 51 @unlink($address);
|
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 22 socket_getsockname($socket, $address, $port); 26 $sent = socket_sendto($socket, $msg, $len, 0, $address, $port); 43 $socket, $buffering, $wants, 0, $address, $port); 67 echo "Received $buf from remote address $address and remote port $port" . PHP_EOL; 70 Received Ping! from remote address %s and remote port %d
|
H A D | socket_sentto_recvfrom_ipv6_udp-win32.phpt | 22 $address = '::1'; 23 if (!socket_bind($socket, $address, 1223)) { 24 die("Unable to bind to $address:1223"); 29 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address, 1223); 44 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL; 50 Received Ping! from remote address ::1 and remote port 1223
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 26 socket_getsockname($socket, $address, $port); 30 $sent = socket_sendto($socket, $msg, $len, 0, $address, $port); 47 $socket, $buffering, $wants, 0, $address, $port); 71 echo "Received $buf from remote address $address and remote port $port" . PHP_EOL; 74 Received Ping! from remote address %s and remote port %d
|
/PHP-8.0/ext/filter/tests/ |
H A D | bug52929.phpt | 7 var_dump(filter_var('valid@email.address', FILTER_VALIDATE_EMAIL)); 9 // Beyond the allowable limit for an e-mail address. 12 // An invalid address likely to crash PHP due to stack exhaustion if it goes to 17 string(19) "valid@email.address"
|
H A D | bug48762.phpt | 2 Bug #48762 (IPv6 address filter still rejects valid address)
|
H A D | bug46973.phpt | 2 Bug #46973 (IPv6 address filter rejects valid address)
|
/PHP-8.0/main/ |
H A D | alloca.c | 337 i00afunc (long *address) in i00afunc() argument 372 if ((block <= address) && (address < (block + size))) in i00afunc() 379 result = address - block; in i00afunc() 411 i00afunc (long address) in i00afunc() argument 446 while (!(this_segment <= address && address <= stkl)) in i00afunc() 449 fprintf (stderr, "%011o %011o %011o\n", this_segment, address, stkl); in i00afunc() 460 result = address - this_segment; in i00afunc()
|
/PHP-8.0/ext/oci8/tests/ |
H A D | bind_rowid.phpt | 12 $s = oci_parse($c, 'select address from rid_tab order by id'); 22 "create table rid_tab (id number, address varchar2(40))", 23 "insert into rid_tab (id, address) values (1, 'original text #1')", 24 "insert into rid_tab (id, address) values (2, 'original text #2')" 32 $s = oci_parse($c, 'select rowid, address from rid_tab where id = :l_bv for update'); 44 $s = oci_parse($c,'update rid_tab set address = :a_bv where rowid = :r_bv');
|
/PHP-8.0/ext/standard/tests/network/ |
H A D | fsockopen_basic.phpt | 19 $hostname = 'tcp://127.0.0.1'; // loopback address 34 echo "\nCalling fsockopen() with address and port in same string:\n"; 35 $address = $hostname . ':' . $port; 36 $third_client = fsockopen($address); 52 Calling fsockopen() with address and port in same string:
|
H A D | fsockopen_variation1.phpt | 22 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n"; 23 $address = $hostname . ':' . $port; 24 $second_client = fsockopen($address); 36 Calling fsockopen() with address and port in same string, without a protocol:
|
H A D | net_get_interfaces_001.phpt | 9 // Test that we have exactly one unicast address with the address 127.0.0.1 17 if (($unicast['address'] ?? null) === '127.0.0.1') {
|
H A D | fsockopen_variation2.phpt | 21 echo "\nCalling fsockopen() with address and port in same string:\n"; 22 $address = $hostname . ':' . $port; 23 $second_client = fsockopen($address); 43 Calling fsockopen() with address and port in same string:
|
H A D | gethostbyaddr_error.phpt | 25 Warning: gethostbyaddr\(\): Address is not (in a.b.c.d form|a valid IPv4 or IPv6 address) in .* on … 28 Warning: gethostbyaddr\(\): Address is not (in a.b.c.d form|a valid IPv4 or IPv6 address) in .* on … 31 Warning: gethostbyaddr\(\): Address is not (in a.b.c.d form|a valid IPv4 or IPv6 address) in .* on …
|
/PHP-8.0/ext/pcre/tests/ |
H A D | bug72463.phpt | 14 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", ""); 15 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
|
H A D | bug72463_2.phpt | 14 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", ""); 15 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
|
/PHP-8.0/ext/pdo_firebird/tests/ |
H A D | payload_test.phpt | 14 $address = run_server(__DIR__ . "/payload_test.data"); 17 $dsn = "firebird:dbname=inet://$address/test";
|
H A D | bug_76452.phpt | 9 $address = run_server(__DIR__ . "/bug_76452.data"); 12 $dsn = "firebird:dbname=inet://$address/test";
|