PHP 7.3: Deprecate image2wbmp() function


image2wbmp() function from GD extension is used to output the WBMP (Wireless Bitmap) format of an image.

This function is deprecated in PHP 7.3 in favor of imagewbmp function. If you are using image2wbmp function, simply replace the function name with imagewbmp and you are good to go!

There are over 5,500 hits for PHP image2wbmp in Github, vs over 39,300 hits for the imagewbmp function. It looks like the PHP team deprecated the less used function over to minimize the impact.

Backwards compatibility impact

If you are using image2wbmp function, replace the calls with imagewbmp. Look for automated tools that can fix this for you as well.

RFC discussion Implementation