Lines Matching refs:result
23 $result = null;
24 if ($result === null) {
25 $result = Address\IPv4::fromString($address, $mayIncludePort);
27 if ($result === null) {
28 $result = Address\IPv6::fromString($address, $mayIncludePort, $mayIncludeZoneID);
31 return $result;
43 $result = null;
44 if ($result === null) {
45 $result = Address\IPv4::fromBytes($bytes);
47 if ($result === null) {
48 $result = Address\IPv6::fromBytes($bytes);
51 return $result;
63 $result = null;
64 if ($result === null) {
65 $result = Range\Subnet::fromString($range);
67 if ($result === null) {
68 $result = Range\Pattern::fromString($range);
70 if ($result === null) {
71 $result = Range\Single::fromString($range);
74 return $result;
87 $result = null;
103 $result = static::rangeFromBoundaryAddresses($from, $to);
106 return $result;
118 $result = null;
120 $result = Range\Single::fromAddress($from);
122 $result = Range\Single::fromAddress($to);
124 $result = null;
129 $result = Range\Single::fromAddress($from);
149 $result = static::rangeFromString($from->toString(true).'/'.(string) $sameBits);
154 return $result;