3v4l.org

run code in 500+ PHP versions simultaneously
<?php use Not\Installed\TranslatableInterface; if ('aa' instanceof TranslatableInterface) { echo 'yep'; } else { echo 'nope'; } // This would trigger a Fatal Error Interface "Not\Installed\TranslatableInterface" not found // $foo = new class implements TranslatableInterface {};
Output for 8.1.32 - 8.1.34, 8.2.0 - 8.2.32, 8.3.0 - 8.3.32, 8.4.1 - 8.4.23, 8.5.0 - 8.5.8
nope

preferences:
59.82 ms | 880 KiB | 4 Q