3v4l.org

run code in 300+ PHP versions simultaneously
<?php use const true as false; var_dump(true ); // true var_dump(false); // true var_dump(true === false); // true
Output for 7.1.25 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.24, 7.4.0 - 7.4.13, 8.0.0
bool(true) bool(true) bool(true)