Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../Requests/src/Transpor...
File: Fsockopen.php
* @param array<string, bool> $capabilities Optional. Associative array of capabilities to test against, i.e. `['<capability>' => true]`.
[500] Fix | Delete
* @return bool Whether the transport can be used.
[501] Fix | Delete
*/
[502] Fix | Delete
public static function test($capabilities = []) {
[503] Fix | Delete
if (!function_exists('fsockopen')) {
[504] Fix | Delete
return false;
[505] Fix | Delete
}
[506] Fix | Delete
[507] Fix | Delete
// If needed, check that streams support SSL
[508] Fix | Delete
if (isset($capabilities[Capability::SSL]) && $capabilities[Capability::SSL]) {
[509] Fix | Delete
if (!extension_loaded('openssl') || !function_exists('openssl_x509_parse')) {
[510] Fix | Delete
return false;
[511] Fix | Delete
}
[512] Fix | Delete
}
[513] Fix | Delete
[514] Fix | Delete
return true;
[515] Fix | Delete
}
[516] Fix | Delete
}
[517] Fix | Delete
[518] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function