3v4l.org

run code in 300+ PHP versions simultaneously
<?php $addnum = 20+30; $addstr="I love "."PHP"; $sub = 35.75 - 28.25; $mul = 8 * 50; $mod = 65 % 2; $inc = 5; $inc = ++$inc; $dec = 5; $dec = --$dec; $result = "addnum:$addnum <br>"; $result .= "addstr:$addstr <br>"; $result .= "sub:$sub <br>"; $result .= "mul:$mul <br>"; $result .= "mod:$mod <br>"; $result .= "inc:$inc <br>"; $result .= "dec:$dec <br>"; ?>

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.70.0120.00318.15
8.3.60.0130.00716.50
8.3.50.0120.00721.97
8.3.40.0170.00318.89
8.3.30.0060.01119.23
8.3.20.0080.00020.33
8.3.10.0050.00321.81
8.3.00.0030.00519.38
8.2.190.0040.01116.75
8.2.180.0120.00916.50
8.2.170.0140.00022.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0040.00419.36
8.2.110.0030.00622.19
8.2.100.0080.00417.75
8.2.90.0040.00419.25
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0020.00518.02
8.2.50.0040.00418.07
8.2.40.0000.00820.07
8.2.30.0040.00718.02
8.2.20.0000.00817.75
8.2.10.0050.00318.06
8.2.00.0030.00617.64
8.1.280.0140.00425.92
8.1.270.0030.00519.05
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0040.00422.19
8.1.230.0040.00817.66
8.1.220.0060.00317.78
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0030.00520.31
8.1.160.0000.00821.98
8.1.150.0040.00418.89
8.1.140.0000.00717.32
8.1.130.0000.00817.82
8.1.120.0020.00517.41
8.1.110.0030.00517.45
8.1.100.0000.00717.38
8.1.90.0040.00417.39
8.1.80.0050.00217.43
8.1.70.0070.00017.38
8.1.60.0100.00317.46
8.1.50.0040.00417.47
8.1.40.0040.00417.49
8.1.30.0040.00417.51
8.1.20.0000.00817.55
8.1.10.0000.00817.52
8.1.00.0040.00717.49
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0080.00018.48
8.0.270.0030.00317.30
8.0.260.0030.00317.20
8.0.250.0030.00417.02
8.0.240.0070.00016.90
8.0.230.0040.00417.00
8.0.220.0070.00016.88
8.0.210.0030.00316.94
8.0.200.0060.00316.87
8.0.190.0000.00716.93
8.0.180.0040.00416.97
8.0.170.0050.00316.89
8.0.160.0030.00516.93
8.0.150.0050.00216.91
8.0.140.0040.00416.90
8.0.130.0030.00313.28
8.0.120.0000.00816.84
8.0.110.0050.00316.80
8.0.100.0000.00716.86
8.0.90.0000.00716.92
8.0.80.0090.00616.89
8.0.70.0040.00416.77
8.0.60.0040.00416.76
8.0.50.0000.00716.79
8.0.30.0080.01216.97
8.0.20.0120.00717.40
8.0.10.0000.00716.84
8.0.00.0110.01416.80
7.4.330.0040.00415.04
7.4.320.0060.00016.52
7.4.300.0030.00316.52
7.4.290.0050.00316.55
7.4.280.0040.00416.57
7.4.270.0070.00016.42
7.4.260.0000.00716.45
7.4.250.0030.00516.43
7.4.240.0000.00816.52
7.4.230.0000.00716.35
7.4.220.0130.00616.39
7.4.210.0100.00716.63
7.4.200.0000.00716.37
7.4.160.0060.00916.24
7.4.150.0100.00817.40
7.4.140.0120.01017.86
7.4.130.0180.01516.45
7.4.120.0050.01216.50
7.4.110.0180.00016.48
7.4.100.0100.01016.33
7.4.90.0080.00816.35
7.4.80.0120.00619.39
7.4.70.0060.01516.47
7.4.60.0150.00816.47
7.4.50.0030.00616.45
7.4.40.0060.01216.41
7.4.30.0150.00816.33
7.4.00.0050.01214.95
7.3.330.0000.00513.09
7.3.320.0080.00413.23
7.3.310.0000.00716.14
7.3.300.0000.00616.26
7.3.290.0030.00316.20
7.3.280.0080.00816.31
7.3.270.0100.01317.40
7.3.260.0110.00716.61
7.3.250.0080.01016.29
7.3.240.0100.00716.32
7.3.230.0070.01716.62
7.3.210.0140.00316.36
7.3.200.0040.01419.39
7.3.190.0100.00716.59
7.3.180.0100.00616.65
7.3.170.0070.01316.36
7.3.160.0100.00716.52
7.3.120.0030.00915.12
7.3.110.0170.00015.09
7.3.100.0060.01014.50
7.3.90.0000.01314.87
7.3.80.0040.00815.01
7.3.70.0040.00414.73
7.3.60.0030.01314.96
7.3.50.0040.01414.86
7.3.40.0110.00414.94
7.3.30.0060.00614.75
7.3.20.0070.00316.77
7.3.10.0080.00316.95
7.3.00.0040.00416.62
7.2.330.0090.00916.64
7.2.320.0100.00616.61
7.2.310.0060.01016.53
7.2.300.0160.00616.43
7.2.290.0150.00316.87
7.2.250.0080.01215.08
7.2.240.0090.01215.28
7.2.230.0070.00714.67
7.2.220.0030.00714.80
7.2.210.0100.00315.20
7.2.200.0060.00915.12
7.2.190.0060.01014.97
7.2.180.0100.00315.16
7.2.170.0030.00714.82
7.2.60.0030.01016.95
7.2.00.0030.01319.09
7.1.330.0030.01015.68
7.1.320.0040.01115.45
7.1.310.0030.01015.88
7.1.300.0000.01415.72
7.1.290.0030.01015.65
7.1.280.0120.00315.45
7.1.270.0030.00715.87
7.1.260.0060.00815.71
7.1.200.0030.00715.70
7.1.100.0000.00918.25
7.1.70.0090.00616.87
7.1.60.0170.00719.50
7.1.50.0050.00516.95
7.1.00.0070.07022.28
7.0.200.0030.01015.09
7.0.140.0070.06321.92
7.0.60.0100.04019.97
7.0.50.0030.07717.90
7.0.40.0100.08020.20
7.0.30.0270.04020.21
7.0.20.0230.03720.30
7.0.10.0430.07320.20
7.0.00.0000.09020.11
5.6.280.0130.06021.07
5.6.210.0130.05720.54
5.6.200.0170.07718.10
5.6.190.0070.08320.48
5.6.180.0370.07020.46
5.6.170.0230.05720.51
5.6.160.0000.04320.41
5.6.150.0030.04018.12
5.6.140.0130.07018.21
5.6.130.0170.07718.11
5.6.120.0200.07021.13
5.6.110.0070.07721.09
5.6.100.0170.05721.14
5.6.90.0030.08721.07
5.6.80.0070.08020.28
5.6.70.0230.04720.53
5.5.350.0270.05020.43
5.5.340.0030.06017.88
5.5.330.0100.05720.40
5.5.320.0030.08720.25
5.5.310.0230.07020.15
5.5.300.0100.04317.96
5.5.290.0070.09017.88
5.5.280.0070.05720.77
5.5.270.0070.04020.87
5.5.260.0030.07720.72
5.5.250.0070.04720.68
5.5.240.0100.06720.23
5.4.450.0400.05319.52
5.4.440.0970.05319.10
5.4.430.1170.07319.57
5.4.420.0500.05319.58
5.4.410.0170.06018.70
5.4.400.1100.06718.72
5.4.390.1070.07718.77
5.4.380.0670.06718.50
5.4.370.0770.04318.46
5.4.360.0930.06318.71
5.4.350.0930.04718.61
5.4.340.1000.05318.53
5.4.320.0700.07318.69
5.4.310.0900.06018.73
5.4.300.0330.05718.68
5.4.290.0830.07318.74
5.4.280.0930.05018.62
5.4.270.0970.03718.56
5.4.260.0900.04318.49
5.4.250.0870.06018.52
5.4.240.0770.06018.71
5.4.230.0900.07018.71
5.4.220.0700.05018.68
5.4.210.0500.05718.60
5.4.200.1100.05716.65
5.4.190.0730.04318.75
5.4.180.0800.06018.56
5.4.170.0700.06718.73
5.4.160.0830.06018.68
5.4.150.0830.06018.50
5.4.140.0570.06316.23
5.4.130.0800.07016.07
5.4.120.0870.06316.17
5.4.110.0970.05716.14
5.4.100.0800.04716.15
5.4.90.0830.05316.07
5.4.80.0630.06716.20
5.4.70.0930.06016.13
5.4.60.0900.04716.32
5.4.50.0770.06316.21
5.4.40.0900.05716.01
5.4.30.0830.05716.00
5.4.20.0900.05716.31
5.4.10.1030.06716.05
5.4.00.0970.06715.62
5.3.290.0670.06014.66
5.3.280.1030.06314.57
5.3.270.0970.07714.58
5.3.260.1100.06314.70
5.3.250.0870.08014.54
5.3.240.1070.06314.60
5.3.230.0900.07714.55
5.3.220.1100.06714.49
5.3.210.0930.07714.57
5.3.200.0930.06714.60
5.3.190.1000.06014.61
5.3.180.1100.05014.53
5.3.170.0870.05314.49
5.3.160.1130.05714.63
5.3.150.0830.06714.56
5.3.140.1070.06014.48
5.3.130.0770.07014.49
5.3.120.0930.07314.52
5.3.110.1030.07014.47
5.3.100.1170.07014.08
5.3.90.0830.06713.93
5.3.80.0600.06013.93
5.3.70.1130.05714.09
5.3.60.1030.04713.95
5.3.50.1000.04713.92
5.3.40.0800.05313.94
5.3.30.0870.06713.82
5.3.20.1000.04713.78
5.3.10.0730.06013.60
5.3.00.1070.04713.67
5.2.170.0770.04711.20
5.2.160.0770.03011.20
5.2.150.0900.05011.28
5.2.140.1100.04711.13
5.2.130.0800.03311.09
5.2.120.0730.05011.13
5.2.110.0770.05011.16
5.2.100.0600.05711.13
5.2.90.0730.05011.09
5.2.80.0730.05311.03
5.2.70.0800.04711.02
5.2.60.0930.04311.22
5.2.50.0670.05310.98
5.2.40.0530.05711.04
5.2.30.0600.06010.93
5.2.20.0800.03310.95
5.2.10.0600.05010.92
5.2.00.0570.05010.90
5.1.60.0630.04710.19
5.1.50.0500.05710.19
5.1.40.0830.04710.16
5.1.30.0730.04710.46
5.1.20.0630.06010.40
5.1.10.0730.04710.25
5.1.00.0900.04310.06
5.0.50.0400.0438.74
5.0.40.0330.0408.45
5.0.30.0330.0578.27
5.0.20.0400.0408.24
5.0.10.0270.0408.37
5.0.00.0430.0578.21
4.4.90.0400.0275.94
4.4.80.0500.0305.89
4.4.70.0500.0235.88
4.4.60.0270.0335.94
4.4.50.0400.0275.90
4.4.40.0370.0406.02
4.4.30.0430.0205.90
4.4.20.0330.0205.99
4.4.10.0230.0235.98
4.4.00.0070.0405.96
4.3.110.0270.0275.86
4.3.100.0430.0335.87
4.3.90.0400.0305.89
4.3.80.0400.0405.93
4.3.70.0330.0205.83
4.3.60.0470.0135.80
4.3.50.0330.0335.89
4.3.40.0270.0475.80
4.3.30.0170.0204.66
4.3.20.0230.0234.63
4.3.10.0170.0304.55
4.3.00.0130.0206.75

preferences:
54.88 ms | 401 KiB | 5 Q