3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump("1" + 0); var_dump("1." + 0); var_dump("1.0" + 0); var_dump("1.5" + 0);

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.0000.01017.45
8.3.140.0140.00016.95
8.3.130.0030.01318.27
8.3.120.0110.00418.75
8.3.110.0030.00720.94
8.3.100.0040.00424.06
8.3.90.0000.00826.77
8.3.80.0030.00616.50
8.3.70.0100.01016.63
8.3.60.0100.00716.50
8.3.50.0210.00918.07
8.3.40.0110.00418.35
8.3.30.0070.00718.34
8.3.20.0050.00220.09
8.3.10.0080.00023.53
8.3.00.0030.00523.52
8.2.250.0070.01318.07
8.2.240.0030.00617.24
8.2.230.0120.00322.58
8.2.220.0030.01237.54
8.2.210.0100.00726.77
8.2.200.0060.00316.38
8.2.190.0140.01016.58
8.2.180.0100.01025.92
8.2.170.0120.00318.84
8.2.160.0060.01222.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00020.99
8.2.110.0030.00620.98
8.2.100.0090.00317.78
8.2.90.0050.00317.72
8.2.80.0000.00818.85
8.2.70.0000.00817.50
8.2.60.0040.00417.50
8.2.50.0030.00617.55
8.2.40.0090.00017.91
8.2.30.0000.00717.80
8.2.20.0040.00417.85
8.2.10.0000.00718.00
8.2.00.0040.00417.79
8.1.300.0050.00317.65
8.1.290.0090.00030.84
8.1.280.0070.01125.92
8.1.270.0080.00023.91
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0050.00522.06
8.1.230.0060.00621.04
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00718.36
8.1.160.0030.00618.79
8.1.150.0000.00718.68
8.1.140.0040.00417.56
8.1.130.0000.00717.34
8.1.120.0000.00817.23
8.1.110.0040.00417.35
8.1.100.0020.00517.31
8.1.90.0030.00317.35
8.1.80.0030.00517.34
8.1.70.0000.01017.36
8.1.60.0050.00217.43
8.1.50.0080.00017.39
8.1.40.0040.00417.43
8.1.30.0030.00617.41
8.1.20.0040.00417.53
8.1.10.0070.00017.36
8.1.00.0030.00617.35
8.0.300.0000.00720.08
8.0.290.0070.00016.63
8.0.280.0040.00418.31
8.0.270.0040.00416.70
8.0.260.0000.00616.71
8.0.250.0000.00716.84
8.0.240.0000.00816.76
8.0.230.0000.00716.77
8.0.220.0070.00016.77
8.0.210.0070.00016.74
8.0.200.0070.00016.78
8.0.190.0060.00616.84
8.0.180.0040.00416.71
8.0.170.0040.00416.77
8.0.160.0000.00816.79
8.0.150.0040.00416.57
8.0.140.0070.00316.71
8.0.130.0000.00613.19
8.0.120.0000.00716.69
8.0.110.0030.00616.75
8.0.100.0020.00516.64
8.0.90.0060.00316.86
8.0.80.0090.00616.82
8.0.70.0040.00416.72
8.0.60.0000.00816.59
8.0.50.0030.00316.66
8.0.30.0060.01317.01
8.0.20.0130.01417.40
8.0.10.0040.00416.98
8.0.00.0060.01616.54
7.4.330.0040.00016.70
7.4.320.0030.00316.36
7.4.300.0060.00016.45
7.4.290.0000.00716.25
7.4.280.0030.00616.30
7.4.270.0090.00016.38
7.4.260.0040.00416.48
7.4.250.0040.00416.41
7.4.240.0020.00516.26
7.4.230.0030.00316.46
7.4.220.0060.01316.16
7.4.210.0150.00616.32
7.4.200.0030.00316.20
7.4.160.0110.00816.37
7.4.150.0070.01117.40
7.4.140.0100.01017.86
7.4.130.0070.01016.30
7.4.120.0090.01116.35
7.4.110.0070.01416.38
7.4.100.0110.00616.32
7.4.90.0070.01616.27
7.4.80.0140.00619.39
7.4.70.0160.00616.41
7.4.60.0100.00616.39
7.4.50.0100.00616.29
7.4.40.0090.01216.44
7.4.30.0080.00816.36
7.4.00.0070.00914.81
7.3.330.0000.00613.00
7.3.320.0030.00313.03
7.3.310.0000.00816.21
7.3.300.0070.00016.15
7.3.290.0070.00016.07
7.3.280.0090.00616.13
7.3.270.0130.00317.40
7.3.260.0110.00616.15
7.3.250.0110.00716.28
7.3.240.0110.00816.28
7.3.230.0090.00616.29
7.3.210.0090.01216.18
7.3.200.0070.01016.33
7.3.190.0030.01316.27
7.3.180.0100.00616.17
7.3.170.0070.01016.26
7.3.160.0090.00916.11
7.3.120.0080.00814.91
7.3.110.0160.00314.80
7.3.100.0060.00614.60
7.3.90.0000.01414.89
7.3.80.0090.00314.30
7.3.70.0060.00614.65
7.3.60.0070.00714.38
7.3.50.0040.01114.42
7.3.40.0120.00314.67
7.3.30.0070.00714.62
7.3.20.0070.00716.49
7.3.10.0100.00316.48
7.3.00.0080.00816.59
7.2.330.0100.00716.41
7.2.320.0030.02116.52
7.2.310.0070.01516.56
7.2.300.0060.01316.23
7.2.290.0080.00816.25
7.2.250.0040.01514.53
7.2.240.0040.01114.98
7.2.230.0070.00715.02
7.2.220.0030.01014.49
7.2.210.0030.01314.84
7.2.200.0080.00814.80
7.2.190.0070.01014.89
7.2.180.0140.00314.95
7.2.170.0060.00614.87
7.2.60.0090.00316.92
7.2.50.0070.00716.91
7.1.330.0070.00715.50
7.1.320.0030.01015.79
7.1.310.0150.00315.80
7.1.300.0000.01415.38
7.1.290.0040.00715.57
7.1.280.0060.00615.58
7.1.270.0060.00615.45
7.1.260.0080.00415.39
7.1.200.0230.00015.61
7.1.120.0380.01016.66
7.1.110.0350.00916.05
7.1.100.0380.00715.89
7.1.90.0460.00515.79
7.1.80.0580.00515.90
7.1.70.0580.01215.12
7.1.60.0750.01532.96
7.1.50.0540.01132.73
7.1.40.0620.01332.36
7.1.30.0760.01432.47
7.1.20.0640.01632.70
7.1.10.0450.00914.57
7.1.00.0550.01314.71
7.0.250.0560.01015.50
7.0.240.0370.00815.57
7.0.230.0680.00915.64
7.0.220.0660.00715.59
7.0.210.0590.00814.69
7.0.200.0510.00814.55
7.0.190.0530.00814.62
7.0.180.0450.01314.21
7.0.170.0450.01114.34
7.0.160.0610.00914.26
7.0.150.0520.00614.25
7.0.140.0350.01014.25
7.0.130.0380.00914.47
7.0.120.0570.01214.67
7.0.110.0510.01014.46
7.0.100.0350.00814.15
7.0.90.0510.01214.33
7.0.80.0300.01014.41
7.0.70.0500.00914.31
7.0.60.0410.00814.10
7.0.50.0400.01114.43
7.0.40.0430.00914.55
7.0.30.0630.01014.50
7.0.20.0380.00914.53
7.0.10.0540.01314.35
7.0.00.0380.01014.46
5.6.300.0190.06120.82
5.6.290.0140.06620.80
5.6.280.0170.06520.83
5.6.270.0110.06020.79
5.6.260.0160.06120.89
5.6.250.0120.05820.77
5.6.240.0140.06820.76
5.6.230.0120.07020.84
5.6.220.0120.06620.77
5.6.210.0140.06520.90
5.6.200.0090.06720.84
5.6.190.0100.06820.86
5.6.180.0190.07420.75
5.6.170.0130.05920.87
5.6.160.0140.05920.89
5.6.150.0080.07220.88
5.6.140.0150.06520.88
5.6.130.0170.06020.87
5.6.120.0130.06320.82
5.6.110.0150.06020.77
5.6.100.0170.05920.86
5.6.90.0100.06220.68
5.6.80.0120.05920.22
5.6.70.0170.05320.16
5.6.60.0050.06720.17
5.6.50.0110.05620.13
5.6.40.0100.05620.21
5.6.30.0110.05620.13
5.6.20.0100.05720.17
5.6.10.0100.05920.18
5.6.00.0130.05620.04
5.5.380.0130.05717.44
5.5.370.0130.06917.41
5.5.360.0090.06117.39
5.5.350.0160.05317.40
5.5.340.0100.05417.72
5.5.330.0030.06117.94
5.5.320.0130.07417.96
5.5.310.0110.05317.90
5.5.300.0070.08018.05
5.5.290.0100.07717.74
5.5.280.0140.06517.80
5.5.270.0070.06617.86
5.5.260.0100.05917.79
5.5.250.0180.05317.87
5.5.240.0160.06917.36
5.5.230.0070.05617.43
5.5.220.0070.05417.37
5.5.210.0170.04417.17
5.5.200.0100.05117.22
5.5.190.0070.05417.32
5.5.180.0070.05817.33
5.5.160.0190.04217.32
5.5.150.0100.05217.31
5.5.140.0070.07417.34
5.5.130.0070.05517.13
5.5.120.0100.07717.40
5.5.110.0100.07117.39
5.5.100.0130.04817.22
5.5.90.0160.06417.13
5.5.80.0070.05417.32
5.5.70.0070.05517.21
5.5.60.0030.05617.04
5.5.50.0070.05217.04
5.5.40.0100.05417.21
5.5.30.0070.05516.94
5.5.20.0070.05517.04
5.5.10.0070.07917.20
5.5.00.0230.06117.20
5.4.450.0100.06319.38
5.4.440.0140.05419.50
5.4.430.0190.07219.09
5.4.420.0190.04719.09
5.4.410.0130.05019.36
5.4.400.0200.05518.84
5.4.390.0030.05718.98
5.4.380.0070.06419.17
5.4.370.0130.04819.04
5.4.360.0070.05418.96
5.4.350.0070.05319.00
5.4.340.0060.05819.08
5.4.320.0130.04919.08
5.4.310.0070.06719.04
5.4.300.0120.05119.17
5.4.290.0170.04618.79
5.4.280.0190.07119.00
5.4.270.0130.07019.20
5.4.260.0070.05318.77
5.4.250.0130.07118.93
5.4.240.0100.05219.03
5.4.230.0120.05519.05
5.4.220.0070.05519.04
5.4.210.0100.05219.07
5.4.200.0070.05418.78
5.4.190.0130.05219.00
5.4.180.0130.04819.16
5.4.170.0140.06818.95
5.4.160.0140.05518.75
5.4.150.0130.07018.90
5.4.140.0130.06716.50
5.4.130.0140.06816.38
5.4.120.0170.04616.53
5.4.110.0100.04916.50
5.4.100.0100.04916.30
5.4.90.0180.04016.48
5.4.80.0090.04916.57
5.4.70.0100.05616.54
5.4.60.0100.04916.33
5.4.50.0190.03916.33
5.4.40.0070.05016.38
5.4.30.0100.06216.44
5.4.20.0100.04616.51
5.4.10.0040.05416.32
5.4.00.0130.04215.92
5.3.290.0070.05414.77
5.3.280.0060.05414.78
5.3.270.0170.05114.77
5.3.260.0070.05414.59
5.3.250.0030.06714.58
5.3.240.0210.04014.77
5.3.230.0100.05314.78
5.3.220.0130.04514.71
5.3.210.0060.05514.76
5.3.200.0200.04714.38
5.3.190.0170.05314.71
5.3.180.0100.04714.70
5.3.170.0140.04414.55
5.3.160.0260.05814.71
5.3.150.0100.04814.71
5.3.140.0220.05114.54
5.3.130.0100.06614.73
5.3.120.0120.05414.49
5.3.110.0120.05114.55
5.3.100.0090.04714.09
5.3.90.0120.04414.14
5.3.80.0100.04514.16
5.3.70.0170.05814.10
5.3.60.0130.04314.16
5.3.50.0140.04514.12
5.3.40.0170.04014.04
5.3.30.0110.05113.83
5.3.20.0160.06413.77
5.3.10.0070.05013.63
5.3.00.0100.04813.70
5.2.170.0070.05811.25
5.2.160.0070.04811.27
5.2.150.0070.04411.36
5.2.140.0070.04211.29
5.2.130.0060.04411.25
5.2.120.0100.04011.23
5.2.110.0070.04911.25
5.2.100.0070.03911.20
5.2.90.0040.04311.21
5.2.80.0100.04011.23
5.2.70.0110.03911.24
5.2.60.0100.03511.17
5.2.50.0130.03610.96
5.2.40.0070.03711.15
5.2.30.0090.03711.20
5.2.20.0100.03911.00
5.2.10.0100.04910.73
5.2.00.0130.04810.97
5.1.60.0070.03110.24
5.1.50.0060.03210.21
5.1.40.0070.03210.01
5.1.30.0090.03410.60
5.1.20.0120.03110.63
5.1.10.0000.04210.11
5.1.00.0030.03810.35
5.0.50.0130.0208.85
5.0.40.0070.0248.65
5.0.30.0090.0378.36
5.0.20.0060.0328.48
5.0.10.0090.0248.21
5.0.00.0030.0418.47
4.4.90.0030.0247.41
4.4.80.0030.0207.41
4.4.70.0040.0217.41
4.4.60.0070.0187.41
4.4.50.0030.0307.41
4.4.40.0000.0367.41
4.4.30.0070.0177.41
4.4.20.0000.0257.41
4.4.10.0070.0187.41
4.4.00.0090.0287.41
4.3.110.0060.0207.41
4.3.100.0030.0327.41
4.3.90.0090.0187.41
4.3.80.0000.0357.41
4.3.70.0030.0207.41
4.3.60.0030.0207.41
4.3.50.0000.0247.41
4.3.40.0060.0307.41
4.3.30.0030.0217.41
4.3.20.0000.0247.41
4.3.10.0030.0207.41
4.3.00.0000.0337.41

preferences:
54.01 ms | 403 KiB | 5 Q