3v4l.org

run code in 300+ PHP versions simultaneously
<tr> <td class='inaltime'>1845</td> <td> <?php $length = 2000; $height = 1845; ?> <?= getPrice($length, $height ); ?> </td> <td><?php $length = 2100; $height = 1845;?> <?= getPrice($length , $height); ?> </td> <td><?php $length = 2200; $height = 1845; ?> <?= getPrice($length , $height); ?> </td> </tr>

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.3.60.0210.00018.56
8.3.50.0070.00716.48
8.3.40.0040.01119.00
8.3.30.0130.00618.81
8.3.20.0040.00418.96
8.3.10.0050.00321.60
8.3.00.0050.00319.69
8.2.180.0140.00716.50
8.2.170.0120.00922.96
8.2.160.0100.01019.46
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00622.29
8.2.120.0110.00726.35
8.2.110.0220.00421.07
8.2.100.0070.00417.91
8.2.90.0030.00618.22
8.2.80.0050.00318.22
8.2.70.0000.00817.50
8.2.60.0050.00517.50
8.2.50.0000.00817.55
8.2.40.0040.00817.75
8.2.30.0040.00419.09
8.2.20.0080.00018.05
8.2.10.0040.00418.06
8.2.00.0000.00818.04
8.1.280.0070.01025.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00023.97
8.1.230.0040.00820.97
8.1.220.0030.00517.74
8.1.210.0050.00518.77
8.1.200.0000.00817.38
8.1.190.0050.00317.35
8.1.180.0080.00018.10
8.1.170.0060.00317.62
8.1.160.0000.00718.73
8.1.150.0070.00020.13
8.1.140.0000.00819.52
8.1.130.0030.00318.87
8.1.120.0040.00417.32
8.1.110.0000.00717.45
8.1.100.0050.00217.39
8.1.90.0040.00417.42
8.1.80.0000.00817.40
8.1.70.0030.00317.31
8.1.60.0000.00817.57
8.1.50.0000.00817.59
8.1.40.0050.00317.46
8.1.30.0040.00717.66
8.1.20.0030.00617.65
8.1.10.0060.00317.55
8.1.00.0000.00717.36
8.0.300.0000.00720.03
8.0.290.0070.00016.73
8.0.280.0000.00718.36
8.0.270.0040.00417.16
8.0.260.0030.00618.99
8.0.250.0070.00016.83
8.0.240.0030.00316.92
8.0.230.0000.00716.93
8.0.220.0070.00016.80
8.0.210.0000.00716.79
8.0.200.0000.00816.94
8.0.190.0040.00416.95
8.0.180.0070.00016.94
8.0.170.0040.00316.80
8.0.160.0100.00316.82
8.0.150.0040.00416.86
8.0.140.0040.00416.73
8.0.130.0050.00013.25
8.0.120.0000.00716.85
8.0.110.0040.00416.79
8.0.100.0000.00717.00
8.0.90.0040.00416.89
8.0.80.0120.00916.79
8.0.70.0000.00716.75
8.0.60.0030.00516.95
8.0.50.0040.00416.90
8.0.30.0100.00917.10
8.0.20.0110.01017.40
8.0.10.0000.00716.99
8.0.00.0070.01716.74
7.4.330.0000.00515.55
7.4.320.0060.00016.50
7.4.300.0060.00016.46
7.4.290.0050.00216.57
7.4.280.0090.00016.49
7.4.270.0070.00016.48
7.4.260.0000.00716.41
7.4.250.0000.01016.57
7.4.240.0070.00016.55
7.4.230.0030.00316.66
7.4.220.0140.00316.58
7.4.210.0060.01216.54
7.4.200.0000.00816.57
7.4.160.0120.00916.43
7.4.150.0150.00317.40
7.4.140.0100.01117.86
7.4.130.0110.00716.54
7.4.120.0130.00716.47
7.4.110.0080.00816.57
7.4.100.0100.01016.39
7.4.90.0100.00716.55
7.4.80.0060.01219.39
7.4.70.0060.01316.43
7.4.60.0110.00616.45
7.4.50.0050.00716.61
7.4.40.0060.01016.60
7.4.30.0100.00716.48
7.4.00.0030.01314.95
7.3.330.0050.00013.08
7.3.320.0000.00513.18
7.3.310.0030.00316.03
7.3.300.0030.00316.24
7.3.290.0060.00016.24
7.3.280.0090.01016.27
7.3.270.0000.02417.40
7.3.260.0100.01016.46
7.3.250.0130.00816.29
7.3.240.0130.00716.34
7.3.230.0190.00416.32
7.3.210.0100.00716.51
7.3.200.0130.00316.22
7.3.190.0000.01616.22
7.3.180.0080.00816.15
7.3.170.0100.00716.38
7.3.160.0120.00316.29
7.2.330.0060.01316.62
7.2.320.0090.00916.34
7.2.310.0100.00716.23
7.2.300.0140.00316.32
7.2.290.0130.00316.32
7.2.60.0040.01416.71
7.2.00.0060.00619.29
7.1.200.0040.01115.66
7.1.70.0040.00416.46
7.1.60.0060.00616.89
7.1.50.0230.00334.38
7.1.40.0230.01732.29
7.1.30.0130.02034.16
7.1.20.0230.00734.59
7.1.10.0100.01016.21
7.1.00.0000.01716.53
7.0.200.0080.00416.43
7.0.190.0130.01014.79
7.0.180.0070.01316.05
7.0.170.0030.01016.07
7.0.160.0070.00716.22
7.0.150.0330.00316.19
7.0.140.0100.01016.30
7.0.130.0200.01316.34
7.0.120.0670.00714.60
7.0.110.0100.00716.13
7.0.100.0030.01316.20
7.0.90.0300.01014.30
7.0.80.0270.00714.49
7.0.70.0300.01014.28
7.0.60.0230.01313.89
7.0.50.0400.02014.35
7.0.40.0030.01316.22
7.0.30.0000.01716.38
7.0.20.0070.00716.08
7.0.10.0030.01316.12
7.0.00.0100.00716.20

preferences:
70.92 ms | 400 KiB | 5 Q