Leonardo Losoviz has shared his discovery of Rector and transpiling in PHP. 🐘
A transpiler is “a type of translator that takes the source code of a program written in a programming language as its input and produces an equivalent source code in the same or a different programming language.”
Leonardo notes that “by transpiling, we can use modern PHP features (such as union types, typed properties, and arrow functions) in themes and plugins, and release them for PHP 7.1.”