3v4l.org

run code in 300+ PHP versions simultaneously
<?php $teller = 0; $teller++; $teller++; if($teller == 2) { $doeditdan = $teller + 5; } echo $doeditdan;

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.4.10.0060.00317.70
8.3.140.0090.00018.51
8.3.130.0130.00716.75
8.3.120.0050.00318.90
8.3.110.0080.00016.73
8.3.100.0040.00416.37
8.3.90.0150.00326.77
8.3.80.0030.00616.50
8.3.70.0070.01118.55
8.3.60.0110.01116.50
8.3.50.0130.00516.45
8.3.40.0040.01118.69
8.3.30.0100.01018.77
8.3.20.0000.00721.72
8.3.10.0040.00423.66
8.3.00.0080.00019.66
8.2.260.0030.00518.31
8.2.250.0110.00718.39
8.2.240.0040.01116.95
8.2.230.0060.00320.94
8.2.220.0030.00637.54
8.2.210.0100.00726.77
8.2.200.0040.00416.50
8.2.190.0090.01216.58
8.2.180.0070.01118.33
8.2.170.0070.00722.96
8.2.160.0070.00719.33
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0050.00320.52
8.2.120.0070.00026.35
8.2.110.0050.00522.11
8.2.100.0110.00017.59
8.2.90.0040.00417.75
8.2.80.0040.00418.73
8.2.70.0040.00417.38
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0080.00018.22
8.2.30.0110.00017.94
8.2.20.0000.00717.96
8.2.10.0030.00518.12
8.2.00.0000.00718.14
8.1.300.0080.00020.25
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0080.00023.96
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00720.71
8.1.230.0070.00417.77
8.1.220.0060.00317.78
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00717.23
8.1.180.0000.00818.10
8.1.170.0000.00818.63
8.1.160.0030.00518.88
8.1.150.0030.00518.94
8.1.140.0040.00419.58
8.1.130.0040.00417.42
8.1.120.0040.00417.47
8.1.110.0000.00817.48
8.1.100.0040.00417.50
8.1.90.0080.00017.40
8.1.80.0040.00417.38
8.1.70.0070.00317.48
8.1.60.0050.00317.56
8.1.50.0040.00417.57
8.1.40.0040.00417.57
8.1.30.0040.00417.57
8.1.20.0030.00617.54
8.1.10.0000.00817.50
8.1.00.0050.00317.31
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.49
8.0.270.0030.00317.20
8.0.260.0000.00716.73
8.0.250.0030.00316.95
8.0.240.0000.00916.98
8.0.230.0070.00016.80
8.0.220.0030.00316.68
8.0.210.0040.00416.72
8.0.200.0040.00416.86
8.0.190.0040.00416.86
8.0.180.0030.00316.89
8.0.170.0040.00416.84
8.0.160.0040.00416.84
8.0.150.0030.00616.75
8.0.140.0040.00416.78
8.0.130.0030.00313.25
8.0.120.0030.00716.76
8.0.110.0040.00416.80
8.0.100.0000.00816.70
8.0.90.0000.00816.86
8.0.80.0060.00916.86
8.0.70.0040.00416.76
8.0.60.0030.00516.91
8.0.50.0030.00516.95
8.0.30.0100.01016.95
8.0.20.0070.01217.41
8.0.10.0050.00316.96
8.0.00.0120.01316.88
7.4.330.0000.00515.55
7.4.320.0030.00316.41
7.4.300.0030.00316.64
7.4.290.0100.00016.48
7.4.280.0040.00416.39
7.4.270.0040.00216.50
7.4.260.0050.00216.49
7.4.250.0040.00416.44
7.4.240.0000.00716.53
7.4.230.0040.00416.39
7.4.220.0130.00716.48
7.4.210.0110.00316.70
7.4.200.0030.00516.59
7.4.160.0100.00616.45
7.4.150.0070.01317.40
7.4.140.0150.00817.86
7.4.130.0100.00616.51
7.4.120.0110.01116.47
7.4.110.0070.01016.47
7.4.100.0090.01416.52
7.4.90.0030.01416.62
7.4.80.0070.01119.39
7.4.70.0070.01016.52
7.4.60.0030.01316.41
7.4.50.0060.00316.38
7.4.40.0060.01616.54
7.4.30.0090.01316.55
7.4.00.0070.00714.97
7.3.330.0020.00212.96
7.3.320.0000.00513.09
7.3.310.0000.00716.26
7.3.300.0030.00316.27
7.3.290.0070.00016.29
7.3.280.0060.01016.25
7.3.270.0070.01417.40
7.3.260.0070.01216.36
7.3.250.0090.00816.43
7.3.240.0060.01416.30
7.3.230.0030.01316.47
7.3.210.0040.01316.39
7.3.200.0130.00316.35
7.3.190.0040.02116.55
7.3.180.0090.01216.38
7.3.170.0030.01316.42
7.3.160.0090.00616.24
7.3.120.0060.01215.06
7.3.110.0100.00715.09
7.3.100.0130.00314.66
7.3.90.0000.01614.50
7.3.80.0030.01414.89
7.3.70.0040.01114.78
7.3.60.0100.00714.59
7.3.50.0030.01014.46
7.3.40.0070.00714.64
7.3.30.0070.00414.89
7.3.20.0040.01116.79
7.3.10.0000.01316.34
7.3.00.0070.00716.69
7.2.330.0100.00716.72
7.2.320.0090.00916.59
7.2.310.0060.01016.48
7.2.300.0130.00516.50
7.2.290.0160.00516.74
7.2.250.0030.01315.01
7.2.240.0090.00914.74
7.2.230.0150.00415.28
7.2.220.0080.00314.94
7.2.210.0060.00914.67
7.2.200.0060.00315.06
7.2.190.0100.00314.93
7.2.180.0000.01015.03
7.2.170.0060.00914.64
7.2.60.0030.01017.03
7.1.330.0040.00815.72
7.1.320.0000.01115.35
7.1.310.0030.01315.89
7.1.300.0070.00715.72
7.1.290.0100.00315.71
7.1.280.0030.01015.51
7.1.270.0000.01515.81
7.1.260.0100.00315.53
7.1.200.0060.00615.63
7.1.70.0040.00417.14
7.1.60.0070.00317.10
7.1.50.0230.01734.73
7.1.40.0100.01334.29
7.1.30.0130.01034.31
7.1.20.0200.00334.25
7.1.10.0000.01716.38
7.1.00.0000.01316.53
7.0.200.0070.01416.69
7.0.190.0000.01016.49
7.0.180.0070.01315.98
7.0.170.0070.00316.23
7.0.160.0030.00715.99
7.0.150.0030.01316.10
7.0.140.0070.00716.34
7.0.130.0100.00716.24
7.0.120.0100.00716.47
7.0.110.0100.00716.12
7.0.100.0070.01016.08
7.0.90.0070.01016.00
7.0.80.0100.00716.14
7.0.70.0070.01016.07
7.0.60.0030.01315.99
7.0.50.0000.01716.15
7.0.40.0030.01316.27
7.0.30.0000.01316.29
7.0.20.0000.01316.12
7.0.10.0100.00315.96
7.0.00.0070.00716.11

preferences:
55.01 ms | 403 KiB | 5 Q