'Do we still need 'declare(strict_types=1)' in PHP 8.1?
As asked above, are we still required to put declare(strict_types=1) in the header of every single program in our projects in PHP 8.1?
I'd love for it to be just strict all the time.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
