3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = numfmt_create('en_US', NumberFormatter::DECIMAL); echo numfmt_format_currency($fmt, 32.00, "USD")."\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.0060.00920.43
8.3.50.0260.01122.09
8.3.40.0070.00720.11
8.3.30.0110.00419.72
8.3.20.0080.00022.99
8.3.10.0090.00023.54
8.3.00.0080.00024.91
8.2.180.0090.00620.16
8.2.170.0090.00622.96
8.2.160.0070.00723.56
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0030.00720.92
8.2.100.0080.00419.78
8.2.90.0030.00519.97
8.2.80.0060.00319.78
8.2.70.0050.00319.68
8.2.60.0060.00619.66
8.2.50.0060.00319.38
8.2.40.0000.01220.68
8.2.30.0050.00320.54
8.2.20.0050.00319.90
8.2.10.0040.00822.37
8.2.00.0040.00420.39
8.1.280.0160.00625.92
8.1.270.0040.00423.44
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0030.00623.32
8.1.230.0100.00624.59
8.1.220.0030.00619.50
8.1.210.0090.00319.39
8.1.200.0110.00319.10
8.1.190.0050.00318.98
8.1.180.0040.00419.25
8.1.170.0000.00820.26
8.1.160.0080.00020.35
8.1.150.0000.00820.27
8.1.140.0040.00423.48
8.1.130.0100.00321.55
8.1.120.0000.01219.58
8.1.110.0030.00719.39
8.1.100.0120.00019.04
8.1.90.0060.00619.39
8.1.80.0090.00319.40
8.1.70.0050.00519.54
8.1.60.0090.00619.48
8.1.50.0080.00519.45
8.1.40.0040.00819.55
8.1.30.0110.00419.77
8.1.20.0110.00819.81
8.1.10.0000.00919.54
8.1.00.0060.00319.36
8.0.300.0040.00420.90
8.0.290.0040.00718.50
8.0.280.0000.00719.68
8.0.270.0070.00318.97
8.0.260.0060.00321.43
8.0.250.0090.00218.73
8.0.240.0070.00718.79
8.0.230.0060.00318.81
8.0.220.0000.01018.57
8.0.210.0060.00318.73
8.0.200.0080.00318.83
8.0.190.0030.00618.64
8.0.180.0120.00318.63
8.0.170.0080.00618.59
8.0.160.0100.00318.47
8.0.150.0070.00718.51
8.0.140.0040.00418.59
8.0.130.0030.00313.39
8.0.120.0000.00818.91
8.0.110.0080.00018.81
8.0.100.0030.00518.84
8.0.90.0000.00818.84
8.0.80.0060.00919.04
8.0.70.0040.00419.05
8.0.60.0050.00318.60
8.0.50.0080.00018.34
8.0.30.0180.00919.07
8.0.20.0120.00819.04
8.0.10.0040.00418.95
8.0.00.0140.00918.71
7.4.330.0030.00315.55
7.4.320.0030.00318.59
7.4.300.0050.00518.46
7.4.290.0120.00318.36
7.4.280.0040.00818.53
7.4.270.0110.00418.54
7.4.260.0050.00318.55
7.4.250.0050.00318.49
7.4.240.0040.00318.47
7.4.230.0050.00218.54
7.4.220.0050.00218.56
7.4.210.0120.00418.48
7.4.200.0040.00418.57
7.4.130.0120.00818.26
7.4.120.0130.00318.35
7.4.110.0230.01018.33
7.4.100.0100.01018.30
7.4.90.0140.01018.57
7.4.80.0000.01819.39
7.4.70.0240.00018.51
7.4.60.0040.01418.26
7.4.50.0070.01118.10
7.4.40.0190.00618.21
7.4.00.0030.01017.04
7.3.330.0070.00013.16
7.3.320.0030.00313.17
7.3.310.0000.00718.31
7.3.300.0000.00718.31
7.3.290.0030.00318.34
7.3.280.0160.00818.35
7.3.260.0120.00918.38
7.3.240.0110.00818.36
7.3.230.0150.01218.60
7.3.210.0120.00918.17
7.3.200.0070.01018.60
7.3.190.0100.00718.59
7.3.180.0120.00918.61
7.3.170.0120.01218.11
7.3.160.0070.01018.62
7.3.70.0050.01216.40
7.3.60.0050.00916.45
7.3.50.0070.00616.35
7.3.40.0110.00616.55
7.3.30.0070.00816.45
7.3.20.0080.00818.06
7.3.10.0130.00517.97
7.3.00.0090.00917.99
7.2.330.0060.01218.33
7.2.320.0150.00318.68
7.2.310.0170.00918.34
7.2.300.0090.00918.41
7.2.290.0160.00818.36
7.2.200.0160.00416.60
7.2.190.0090.00616.55
7.2.180.0030.01316.37
7.2.170.0160.00616.52
7.2.160.0100.00616.57
7.2.150.0140.00618.32
7.2.140.0100.00518.30
7.2.130.0110.01018.32
7.2.120.0120.00618.31
7.2.110.0110.01118.47
7.2.100.0120.00618.38
7.2.90.0120.00618.69
7.2.80.0050.01318.41
7.2.70.0110.00918.62
7.2.60.0080.01018.50
7.2.50.0080.01118.49
7.2.40.0100.00718.26
7.2.30.0060.01318.40
7.2.20.0100.01018.29
7.2.10.0090.00818.40
7.2.00.0100.00918.63
7.1.300.0080.00817.24
7.1.290.0100.00617.33
7.1.280.0150.00217.45
7.1.270.0050.01017.54
7.1.260.0060.01117.48
7.1.250.0070.00817.65

preferences:
53.78 ms | 401 KiB | 5 Q