HomeDevCentral

Improve PHP 8 compatibility

Description

Improve PHP 8 compatibility

Summary:
Mainly array key issues, at several places keys were used
with the expectation it returns null if the key doesn't exist.

HTTP_HOST can contains only the host, without port.

Side edit: update fortunes path for FreeBSD 12+

Test Plan: Tested on https://tools51.nasqueron.org tool by tool

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D2483

Details

Provenance
derecksonAuthored on Jan 23 2022, 17:36
derecksonPushed on Jan 23 2022, 17:40
Reviewer
dereckson
Differential Revision
D2483: Improve PHP 8 compatibility
Parents
rTOOLS7fb2b80aaddd: Use correct argument order for implode
Branches
Unknown
Tags
Unknown
Tasks
T1675: Fix deprecation introduced by PHP 7.4 and PHP 8