3v4l.org

run code in 300+ PHP versions simultaneously
<?php $original = rand(1, 10000); $x = $original + 5; $x = 2 * $x; $x = $x - 4; $x = $x / 2; $result = $x - $original; print $result;

preferences:
25.23 ms | 404 KiB | 5 Q