if ( isset( $ctx['forwarded_for'] ) ||
isset( $ctx['client_ip'] ) ||
isset( $ctx['from'] ) ) {
- // @phan-suppress-next-line PhanTypeArraySuspiciousNullable
$ctx['proxy'] = $_SERVER['REMOTE_ADDR'];
}
/**
* Check if we are running under HHVM
*
+ * @deprecated since 1.34, HHVM is no longer supported
* @return bool
*/
function wfIsHHVM() {
- return defined( 'HHVM_VERSION' );
+ // wfDeprecated( __FUNCTION__, '1.34' );
+ return false;
}
/**