shlogg · Early preview
Paul Redmond @paulredmond

Check PHP Function Availability With Can I PHP Extension

Check if a function or method is available in different PHP versions with Can I PHP? Extension by @DianaScharf, like caniuse.com but for PHP! Search 'Can I PHP' in Raycast store to get started.

The Can I PHP? Raycast extension by Diana Scharf lets you check if a certain function or method is available in different versions of PHP. You can see which versions are supported and the deprecation status at a glance:
If you hit Enter, you get a helpful details page from the caniphp.com project. The Can I PHP API is like caniuse.com, but for PHP. The alternative to this extension is manually looking up the PHP documentation and finding when something was introduced; for example, here's the uft8_decode documentation:
To get started with this extension, you can search the store for "Can I PHP"...