PHP Extension 5.4.34 released

  • New Feature: Keep Exception Code as part of error instrumentation for rendering in UI in a future version (requires future daemon update).
  • Improvement: Allow to disable use of observer API on PHP 8.0 and 8.1 to avoid attribute constructor crash.

Several previous releases have tried to workaround a PHP bug that has no fix in a current stable PHP release yet. However there are still scenarios when these workarounds are not possible, specifically we have seen this with Symfony Route and Constraint Validation attributes. In these cases we have now added the possibility to disable the Zend Observer API that causes the crash in combination with PHP 8+ Attributes. This will make the instrumentation slightly slower, using the same instrumentation approach that Tideways uses for PHP 7. To disable using the observer API, set the following INI setting:

tideways.features.observer=0

About the author

  • Benjamin

Benjamin
Founder & CEO

I am the founder and CEO of Tideways. I started the company over 10 years ago with the mission to move the PHP ecosystem forward, starting with performance. As managing director, I work across product, strategy, and the day-to-day of building a developer-focused SaaS business.

I’m a core contributor to the Doctrine open-source project and a founding board member of the PHP Foundation, which reflects my long-standing commitment to the PHP ecosystem. I particularly enjoy working at the intersection of application performance, developer experience, and the open-source community that makes PHP what it is. Outside of work, I enjoy board games, hiking, and coffee.