update to php 8 code example Example: php 8 latest version of php. see new features at https://php.watch/versions/8.0