3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = numfmt_create('en_US', NumberFormatter::DECIMAL); numfmt_set_attribute($fmt, NumberFormatter::MIN_FRACTION_DIGITS, 2); echo numfmt_format_currency($fmt, 32.00, "EUR")."\n";

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.01620.23
8.3.50.0160.00422.21
8.3.40.0070.00719.95
8.3.30.0080.00820.10
8.3.20.0090.00023.10
8.3.10.0040.00423.32
8.3.00.0030.00524.85
8.2.180.0280.00325.92
8.2.170.0110.00422.96
8.2.160.0100.00723.63
8.2.150.0070.00325.66
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0050.00326.16
8.2.110.0110.00022.87
8.2.100.0040.00819.47
8.2.90.0050.00319.97
8.2.80.0040.00819.63
8.2.70.0000.00819.25
8.2.60.0040.00419.78
8.2.50.0090.00619.25
8.2.40.0030.00620.72
8.2.30.0050.00320.65
8.2.20.0000.00819.73
8.2.10.0080.00022.20
8.2.00.0090.00020.46
8.1.280.0100.01025.92
8.1.270.0090.00025.34
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0040.00825.15
8.1.230.0030.01022.63
8.1.220.0080.00019.43
8.1.210.0050.00320.73
8.1.200.0070.00319.10
8.1.190.0030.00618.98
8.1.180.0060.00319.27
8.1.170.0080.00020.26
8.1.160.0100.00320.37
8.1.150.0000.00820.19
8.1.140.0030.00523.53
8.1.130.0030.00521.08
8.1.120.0040.00419.44
8.1.110.0040.00419.41
8.1.100.0020.00519.51
8.1.90.0040.00419.35
8.1.80.0000.00819.04
8.1.70.0030.00619.54
8.1.60.0120.00019.53
8.1.50.0080.00019.64
8.1.40.0030.00719.57
8.1.30.0000.00919.70
8.1.20.0040.00419.75
8.1.10.0030.00619.34
8.1.00.0030.00519.45
8.0.300.0000.00821.37
8.0.290.0050.00518.38
8.0.280.0040.00419.71
8.0.270.0030.00518.93
8.0.260.0000.00718.67
8.0.250.0000.00718.77
8.0.240.0060.00318.81
8.0.230.0040.00418.70
8.0.220.0000.00918.63
8.0.210.0040.00418.69
8.0.200.0030.00618.76
8.0.190.0040.00418.61
8.0.180.0000.00818.77
8.0.170.0050.00518.63
8.0.160.0030.00518.45
8.0.150.0080.00018.41
8.0.140.0040.00418.68
8.0.130.0000.00613.23
8.0.120.0030.00518.84
8.0.110.0000.00818.98
8.0.100.0040.00419.07
8.0.90.0030.00619.05
8.0.80.0130.00318.95
8.0.70.0050.00319.01
8.0.60.0040.00418.96
8.0.50.0080.00018.72
8.0.30.0050.01119.09
8.0.20.0090.01119.02
8.0.10.0030.00619.04
8.0.00.0070.01318.74
7.4.330.0060.00015.55
7.4.320.0000.00718.55
7.4.300.0070.00018.55
7.4.290.0050.00318.45
7.4.280.0030.00518.51
7.4.270.0090.00018.54
7.4.260.0080.00018.52
7.4.250.0040.00418.42
7.4.240.0020.00618.49
7.4.230.0000.00818.60
7.4.220.0040.00418.61
7.4.210.0090.00618.54
7.4.200.0000.00818.55
7.4.130.0040.01418.38
7.4.120.0070.01318.36
7.4.110.0230.00318.32
7.4.100.0110.00718.37
7.4.90.0120.00618.16
7.4.80.0030.01419.39
7.4.70.0100.00618.24
7.4.60.0060.01218.56
7.4.50.0090.00618.34
7.4.40.0090.00918.39
7.4.00.0030.01016.93
7.3.330.0000.00613.16
7.3.320.0050.00012.99
7.3.310.0000.00718.32
7.3.300.0080.00017.98
7.3.290.0000.00718.02
7.3.280.0060.01218.23
7.3.260.0110.00818.55
7.3.240.0130.00618.33
7.3.230.0150.00918.39
7.3.210.0060.01218.57
7.3.200.0130.00618.35
7.3.190.0040.01218.73
7.3.180.0060.01018.54
7.3.170.0060.01218.35
7.3.160.0160.00818.36
7.3.70.0090.00616.46
7.3.60.0070.01116.72
7.3.50.0080.00316.43
7.3.40.0160.00016.67
7.3.30.0090.00616.47
7.3.20.0030.01017.91
7.3.10.0110.00418.09
7.3.00.0070.00718.20
7.2.330.0110.00718.80
7.2.320.0060.01018.40
7.2.310.0100.00718.44
7.2.300.0130.00818.84
7.2.290.0080.00818.68
7.2.200.0090.00616.54
7.2.190.0090.00616.62
7.2.180.0120.00016.59
7.2.170.0030.01016.68
7.2.160.0060.00916.44
7.2.150.0130.00018.19
7.2.140.0050.00918.42
7.2.130.0030.00917.98
7.2.120.0100.01318.00
7.2.110.0090.00618.25
7.2.100.0060.00918.18
7.2.90.0060.00918.43
7.2.80.0150.00918.50
7.2.70.0130.00618.36
7.2.60.0030.01318.59
7.2.50.0100.00718.21
7.2.40.0130.00318.43
7.2.30.0100.00718.54
7.2.20.0100.00518.26
7.2.10.0100.00318.25
7.2.00.0080.00818.62
7.1.300.0060.00917.41
7.1.290.0080.00417.14
7.1.280.0090.00617.45
7.1.270.0060.00917.42
7.1.260.0040.01017.15
7.1.250.0090.00617.12

preferences:
68.44 ms | 401 KiB | 5 Q