• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Languages
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Login
  • Request a demo
  • Free Trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now
Blog
Thumbnail

Deploy with PHP 7.3 this Friday, er, Thursday

php
06 December, 2018
Larry Garfield
Larry Garfield
Director of Developer Experience

PHP continues its steady march forward, and today marks the release of the latest version, PHP 7.3.

It also marks its release on Platform.sh, and our first holiday gift to you this season.

So what's new?

PHP 7.3 brings continued incremental performance improvements to the language. It's not as big as the jump to 7.0 was (few things can be), but the same code running under PHP 7.3 should be a bit faster than on 7.2.

While there's no earth-shattering additions in this version, there are a few nice pluses. Like a handful of new utility functions, such as is_countable(), array_key_first(), and array_key_last() (all of which are fairly self-explanatory). What's most exciting for language nerds that follow PHP's development (like yours truly)? Trailing commas in function calls are now legal, just as they have been on array definitions for years; Heredoc and Nowdoc syntax are now also more forgiving, allowing for more nicely formatted, multiline strings; the JSON utilities can now be set to throw exceptions, like most newer functionality, allowing error handling to be more consistent throughout the application.

OK, it's not going to change the world, but it's still nice.

There are also a number of deprecations around edge cases to flag behaviors that are expected to go away in PHP 8.0. (Yes, we did just say that number.) See the Changelog for the full list of changes and fixes.

Cool, so how do I do it?

As always at Platform.sh, it's just a YAML tweak away. In your .platform.app.yaml file (not on the master branch), change your application type to php:7.3, like so:

type: php:7.3

That's it. When next you push on that branch, you'll get the PHP 7.3 container. Test it out, and make sure everything is working (it should be fine), then merge back to master when you're ready.

Enjoy the latest and greatest PHP has to offer—any day of the week!

Get the latest Platform.sh news and resources
Subscribe

Related Content

A festive treat: PHP 8.3 is already available on Platform.sh

A festive treat: PHP 8.3 is already available on Platform.sh

Company
AboutSecurity and complianceTrust CenterCareersPressContact us
Thank you for subscribing!
  •  
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺