CanIPHP - Like CanIUse But For PHP
Written by Ian Elliot   
Tuesday, 10 May 2022

A new tool called CanIPHP has been released. As the name suggests, the tool is like caniuse.com but for PHP features.

CanIPHP offers a simple search of PHP features that added, deprecated and removed in recent versions of PHP, specifically in version v5.6 and onwards. The author, Ross Wintle, says that the tool is intended for developers who know a feature was added/removed in a recent version of PHP and want to check which versions of the language the feature is supported in. It isn't a list of all PHP features, functions, methods and classes and when they were added or removed.

phplogo

Wintle has been curating the information as he says there doesn't currently seem to be an easily machine-readable and definitive source. The tool is a work in progress and Wintle says that not all features are added yet and more will be added over time.

The list has been created using AlpineJS and TailwindCSS, with no PHP!

The inspiration for CanIPHP, CanIUse, provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.

The way CanIPHP provides information is through entries that begin with the name of the feature, followed by a short description - so Fibers are described as:

"Lightweight concurrency for PHP. Fibers represent full-stack, interruptible functions. Fibers may be suspended from anywhere in the call-stack, pausing execution within the fiber until the fiber is resumed at a later time."


This info is then supplemented by links to any useful resources, and a tabular list of PHP versions with those supporting the feature shown in green, unsupported in red.

CanIPHP is available on GitHub and on the CanIPHP website.

phplogo

More Information

CanIPHP On GitHub

CanIPHP Website

Related Articles

PHP Articles On I-Programmer

MDN Is 15 - How Did It Reach Top Of The Docs?  

Mozilla's Browser Compatibility Project

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Python Is TIOBE Index Language Of The Year 2024
06/01/2025

This news was widely anticipated and, as it's the sixth time Python has won this accolade, it might even be attracting some yawns. However, you would be wrong to view Python as boring. When you delve  [ ... ]



Sqlime - Αn Online SQLite Playground
28/01/2025

SQLite lives in the browser thanks to WebAssembly. With Sqlime you can run your workload online with no need of setting up anything. On top of that ask questions on your data with AI enabled CLI  [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 10 May 2022 )