With PHP7 just around the corner – scheduled to be released on November 12 – it was time we started testing Gravity PDF to ensure compatibility. After compiling the latest release candidate (PHP7.0RC4) and attempting to view a PDF generated with Gravity PDF we found a few problems that needed to be addressed.
This release patches these issues and will be available through your WordPress dashboard in the next 24 hours. Alternatively you can download it directly from WordPress.org.
- Remove multiple ‘default’ conditions inside a switch statement in mPDF
- Convert all PHP4-style constructs in mPDF to PHP5-style
- Remove closing PHP tags from mPDF classes
- Stripe excess whitespace from mPDF classes