"Can I PHP?" Raycast Extension
Last updated on by Paul Redmond
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":
You can also check out the extension's Raycast page in the Raycast store. The source code is also available on GitHub in the Racast extensions repository.