PHP 7.4 – Numeric Literal Separator

PHP 7.4 allows for underscores to be used to visually separate numeric values. It looks like this:

The underscores are simply ignored by the engine. i.e both are equal.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

Leave a Reply

Your email address will not be published.