3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=27; echo "$a \n"; echo "-$a \n"; echo "$a += 3 \n"; echo "$a -= 5 \n"; echo "$a *= 2 \n"; echo "$a /= 5 \n"; echo "$a %= 2 \n"; echo "pow($a,3) \n"; echo 'Wartość zmiennej $a wynosi: ' . $a . ' i się nie zmieni';
based on HW0T5

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.0.30.0130.01016.75
8.0.20.0200.00017.02
8.0.10.0090.00917.12
8.0.00.0040.01417.00
7.4.150.0120.00616.53
7.4.140.0090.00916.44
7.4.130.0070.01016.35
7.4.120.0120.00616.43
7.4.110.0090.00916.51
7.4.100.0120.01216.48
7.4.90.0070.01716.55
7.4.80.0030.01316.54
7.4.70.0030.01416.46
7.4.60.0130.00616.41
7.4.50.0060.01116.38
7.4.40.0140.00316.28
7.4.30.0120.00416.45
7.4.20.0100.00716.39
7.4.10.0100.00716.53
7.4.00.0110.00616.42
7.3.270.0090.00816.20
7.3.260.0120.00616.63
7.3.250.0060.01016.33
7.3.240.0080.00816.30
7.3.230.0100.00716.29
7.3.220.0060.01716.43
7.3.210.0100.01016.19
7.3.200.0160.00316.17
7.3.190.0100.00616.20
7.3.180.0070.01016.35
7.3.170.0070.01016.43
7.3.160.0120.00316.49
7.3.150.0130.00316.32
7.3.140.0070.01016.53
7.3.130.0100.00616.43
7.3.120.0030.01416.34
7.3.110.0060.01016.57
7.3.100.0120.00416.37
7.3.90.0030.01416.48
7.3.80.0120.01216.31
7.3.70.0090.00816.27
7.3.60.0140.00316.21
7.3.50.0060.01116.29
7.3.40.0060.01316.40
7.3.30.0130.01016.38
7.3.20.0090.01516.39
7.3.10.0120.00616.52
7.3.00.0100.01016.25