3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = $locale ?: Locale::getDefault(); $formatter = NumberFormatter::create($locale, NumberFormatter::CURRENCY); $formatter->formatCurrency(1000, 'CHF');

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.0070.01318.63
8.3.50.0120.00319.95
8.3.40.0120.00320.26
8.3.30.0080.00820.27
8.3.20.0000.00821.63
8.3.10.0140.00423.26
8.3.00.0040.00422.77
8.2.180.0040.01218.88
8.2.170.0090.00622.96
8.2.160.0090.00921.87
8.2.150.0060.00324.18
8.2.140.0090.00024.66
8.2.130.0040.00421.17
8.2.120.0030.00626.35
8.2.110.0090.00923.83
8.2.100.0120.00019.80
8.2.90.0090.00020.63
8.2.80.0080.00019.46
8.2.70.0030.00719.48
8.2.60.0060.00319.80
8.2.50.0030.00621.24
8.2.40.0040.00423.77
8.2.30.0050.00322.14
8.2.20.0040.00419.62
8.2.10.0040.00420.05
8.2.00.0000.00820.03
8.1.280.0030.01325.92
8.1.270.0130.00721.63
8.1.260.0060.00328.09
8.1.250.0030.00528.09
8.1.240.0030.00625.17
8.1.230.0090.00321.14
8.1.220.0000.00819.54
8.1.210.0170.00319.00
8.1.200.0030.00619.35
8.1.190.0000.00819.35
8.1.180.0050.00319.30
8.1.170.0060.00620.70
8.1.160.0040.00422.17
8.1.150.0000.00820.39
8.1.140.0040.00421.48
8.1.130.0000.00819.68
8.1.120.0040.00419.59
8.1.110.0080.00019.60
8.1.100.0040.00419.72
8.1.90.0060.00319.31
8.1.80.0020.00519.58
8.1.70.0000.00719.53
8.1.60.0090.00019.59
8.1.50.0000.00819.70
8.1.40.0040.00419.63
8.1.30.0000.00919.82
8.1.20.0060.00319.86
8.1.10.0040.00419.68
8.1.00.0050.00319.50
8.0.300.0030.00518.85
8.0.290.0000.00818.88
8.0.280.0000.00819.86
8.0.270.0050.00319.17
8.0.260.0080.00319.16
8.0.250.0030.00319.05
8.0.240.0030.00619.07
8.0.230.0030.00619.05
8.0.220.0020.00519.03
8.0.210.0080.00018.93
8.0.200.0000.00818.98
8.0.190.0000.00919.13
8.0.180.0060.00319.16
8.0.170.0060.00319.14
8.0.160.0000.00818.86
8.0.150.0030.00619.03
8.0.140.0040.00418.93
8.0.130.0030.00313.38
8.0.120.0000.00819.19
8.0.110.0000.00819.22
8.0.100.0030.00519.34
8.0.90.0080.00019.29
8.0.80.0100.00619.24
8.0.70.0000.00819.32
8.0.60.0040.00419.39
8.0.50.0050.00318.96
8.0.30.0090.01119.05
8.0.20.0090.01119.45
8.0.10.0080.00019.29
8.0.00.0080.01318.96
7.4.330.0000.00516.80
7.4.320.0080.00018.70
7.4.300.0070.00018.64
7.4.290.0040.00418.65
7.4.280.0030.00618.69
7.4.270.0070.00018.66
7.4.260.0080.00018.56
7.4.250.0040.00418.72
7.4.240.0040.00318.71
7.4.230.0040.00418.48
7.4.220.0070.01518.70
7.4.210.0060.01318.73
7.4.200.0040.00418.83
7.4.160.0090.00618.59
7.4.150.0060.01318.61
7.4.140.0150.01018.50
7.4.130.0060.01218.64
7.4.120.0130.00618.49
7.4.110.0150.00318.59
7.4.100.0150.00918.47
7.4.90.0090.00918.50
7.4.80.0200.00319.39
7.4.70.0070.01118.69
7.4.60.0110.00818.44
7.4.50.0040.01218.92
7.4.40.0150.00318.79
7.4.30.0100.01418.65
7.4.10.0240.00717.09
7.4.00.0110.01016.94
7.3.330.0000.00613.13
7.3.320.0060.00013.20
7.3.310.0020.00518.34
7.3.300.0040.00418.51
7.3.290.0070.00718.35
7.3.280.0080.01018.43
7.3.270.0070.01118.41
7.3.260.0090.00918.57
7.3.250.0050.01318.39
7.3.240.0120.00718.53
7.3.230.0200.00318.80
7.3.210.0130.00718.61
7.3.200.0030.01718.65
7.3.190.0000.01918.79
7.3.180.0000.01718.78
7.3.170.0160.00918.52
7.3.160.0060.01018.60
7.3.130.0210.01016.88
7.3.120.0130.00916.99
7.3.110.0120.00916.96
7.3.100.0050.01117.01
7.3.90.0030.00916.92
7.3.80.0050.00816.78
7.3.70.0060.00716.91
7.3.60.0060.00817.00
7.3.50.0030.00916.84
7.3.40.0070.00716.80
7.3.30.0040.00716.99
7.3.20.0050.00818.45
7.3.10.0080.00618.53
7.3.00.0070.00718.52
7.2.330.0110.00718.80
7.2.320.0150.00618.75
7.2.310.0140.00818.50
7.2.300.0030.01518.75
7.2.290.0090.00918.57
7.2.260.0220.00316.95
7.2.250.0130.01017.09
7.2.240.0060.01317.15
7.2.230.0080.00416.99
7.2.220.0040.01217.00
7.2.210.0060.00916.86
7.2.200.0060.00816.92
7.2.190.0070.00817.06
7.2.180.0020.01216.98
7.2.170.0040.00917.13
7.2.160.0070.00817.11
7.2.150.0020.01118.74
7.2.140.0050.00718.87
7.2.130.0050.00818.80
7.2.120.0070.00918.82
7.2.110.0070.00718.59
7.2.100.0070.00818.73
7.2.90.0050.01118.84
7.2.80.0060.00918.89
7.2.70.0060.00618.96
7.2.60.0030.01118.84
7.2.50.0030.01018.85
7.2.40.0080.00718.70
7.2.30.0080.00918.78
7.2.20.0070.00618.82
7.2.10.0070.00718.97
7.2.00.0060.00819.67
7.1.330.0040.01117.81
7.1.320.0050.01017.74
7.1.310.0050.00617.85
7.1.300.0050.00517.88
7.1.290.0030.01117.80
7.1.280.0030.00917.71
7.1.270.0090.00317.63
7.1.260.0070.00717.77
7.1.250.0080.00817.84
7.1.240.0050.00917.57
7.1.230.0060.00717.66
7.1.220.0030.00817.85
7.1.210.0080.00417.75
7.1.200.0070.00617.80
7.1.190.0040.00917.80
7.1.180.0060.00717.82
7.1.170.0050.00417.78
7.1.160.0050.01017.72
7.1.150.0040.00917.84
7.1.140.0100.00717.65
7.1.130.0060.00717.76
7.1.120.0080.00317.61
7.1.110.0040.00917.73
7.1.100.0070.00718.43
7.1.90.0050.00717.87
7.1.80.0070.00717.83
7.1.70.0050.00718.15
7.1.60.0080.00818.16
7.1.50.0070.00718.11
7.1.40.0040.01117.88
7.1.30.0040.00617.86
7.1.20.0040.00717.82
7.1.10.0050.01017.76
7.1.00.0070.02419.49
7.0.330.0030.01017.36
7.0.320.0040.01217.36
7.0.310.0060.00617.56
7.0.300.0080.00417.39
7.0.290.0070.00617.38
7.0.280.0040.00717.38
7.0.270.0070.00817.49
7.0.260.0070.00717.42
7.0.250.0050.00917.35
7.0.240.0030.01117.60
7.0.230.0050.00717.46
7.0.220.0080.00617.45
7.0.210.0080.00317.59
7.0.200.0070.00517.80
7.0.190.0040.01017.51
7.0.180.0050.00717.46
7.0.170.0060.00417.51
7.0.160.0040.00917.59
7.0.150.0040.00817.41
7.0.140.0040.00917.36
7.0.130.0040.00817.25
7.0.120.0060.00817.32
7.0.110.0070.00617.30
7.0.100.0020.00917.35
7.0.90.0060.01017.33
7.0.80.0060.00517.48
7.0.70.0050.00817.38
7.0.60.0060.02318.54
7.0.50.0020.01717.59
7.0.40.0050.02117.04
7.0.30.0150.02417.03
7.0.20.0080.01617.16
7.0.10.0070.02416.93
7.0.00.0080.02417.08
5.6.400.0030.01216.44
5.6.390.0050.01216.39
5.6.380.0030.01116.43
5.6.370.0080.00416.45
5.6.360.0040.00716.48
5.6.350.0100.00216.48
5.6.340.0060.00616.39
5.6.330.0070.00416.58
5.6.320.0040.00816.56
5.6.310.0050.00716.55
5.6.300.0040.00816.46
5.6.290.0070.00616.58
5.6.280.0060.01418.02
5.6.270.0080.00816.36
5.6.260.0030.01116.50
5.6.250.0030.00716.43
5.6.240.0030.00916.48
5.6.230.0050.00616.31
5.6.220.0030.01116.43
5.6.210.0090.02417.92
5.6.200.0060.02716.85
5.6.190.0040.01817.93
5.6.180.0110.02617.86
5.6.170.0070.02017.89
5.6.160.0070.02417.81
5.6.150.0070.02816.69
5.6.140.0070.01816.83
5.6.130.0070.02516.80
5.6.120.0080.02618.19
5.6.110.0070.02618.10
5.6.100.0070.02618.10
5.6.90.0060.02617.98
5.6.80.0050.02817.83
5.6.70.0020.01116.35
5.6.60.0040.00816.20
5.6.50.0050.01016.12
5.6.40.0030.00916.41
5.6.30.0050.00816.38
5.6.20.0080.00216.48
5.6.10.0040.00816.41
5.6.00.0030.00916.46
5.5.380.0060.00714.47
5.5.370.0050.00814.40
5.5.360.0070.00614.50
5.5.350.1120.01416.51
5.5.340.0070.02015.39
5.5.330.0040.02916.29
5.5.320.0170.02116.49
5.5.310.0110.01916.35
5.5.300.0090.02015.36
5.5.290.0080.01615.34
5.5.280.0020.01716.58
5.5.270.0040.01616.47
5.5.260.0040.03016.53
5.5.250.0060.02516.63
5.5.240.0050.02716.22
5.5.230.0050.00714.28
5.5.220.0050.00614.48
5.5.210.0070.00714.46
5.5.200.0050.00714.30
5.5.190.0070.00914.35
5.5.180.0040.00414.44
5.5.170.0060.00714.47
5.5.160.0040.00914.38
5.5.150.0050.00814.40
5.5.140.0040.00714.40
5.5.130.0010.01014.36
5.5.120.0060.00514.49
5.5.110.0060.00714.56
5.5.100.0050.00714.30
5.5.90.0080.00514.57
5.5.80.0010.01114.44
5.5.70.0040.00814.36
5.5.60.0040.01114.39
5.5.50.0060.00914.48
5.5.40.0070.00814.50
5.5.30.0070.00814.58
5.5.20.0030.01114.41
5.5.10.0030.00614.41
5.5.00.0040.00614.29

preferences:
46.89 ms | 401 KiB | 5 Q