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