News for hackers. Stuff that matters.
Re:PHP 7.4 by GrumpyNl on Thursday November 28, 2019 @11:44AM (#21658599)
Why this, can someone please explain.

Numeric literals can contain underscores between digits.

<?php 6.674_083e-11; // float 299_792_458; // decimal 0xCAFE_F00D; // hexadecimal 0b0101_1111; // binary ?>

Re:PHP 7.4 by RadioactiveMan on Thursday November 28, 2019 @12:08PM (#21658784)
Here's the RFC for it with the "why" and discussion of the tradeoffs. https://wiki.php.net/rfc/numeric_literal_separator
Re:PHP 7.4 by tyingq on Thursday November 28, 2019 @12:38PM (#21658970)
Underscores in numeric literals are also now pretty much a defacto standard. Java, JavaScript, Perl, Python, C#, Ruby, Rust, Swift, etc, all support it.
Re:PHP 7.4 by GrumpyNl on Thursday November 28, 2019 @12:09PM (#21658792)
Thanks for the link.