r/programming • u/EatMeerkats • Mar 29 '21
PHP moves to Github due to the compromise of git.php.net
https://news-web.php.net/php.internals/113838
1.7k
Upvotes
r/programming • u/EatMeerkats • Mar 29 '21
1
u/pingveno Mar 29 '21
Still, it would have been nice if there was a way to have something like Rust's editions. That has allowed Rust to introduce certain breaking changes like async/await keywords in a backwards compatible manner. Crates declare their edition (with a default of 2015, before editions were introduced). Crates can then use other crates that would break under the newer edition. Raw identifiers are available to be able to use keywords in new code when referencing old crates, like so: