3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oranges = 10; $apples = 5; $string = "I have %d apples and %d oranges"; printf($string, $apples, $oranges); ?>

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.43
8.3.50.0040.01621.14
8.3.40.0140.00018.60
8.3.30.0030.01020.21
8.3.20.0040.00420.33
8.3.10.0070.00020.96
8.3.00.0000.00823.61
8.2.180.0100.01016.50
8.2.170.0110.00322.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0000.00721.13
8.2.110.0040.00422.07
8.2.100.0070.00417.59
8.2.90.0070.00019.05
8.2.80.0050.00219.21
8.2.70.0070.00317.50
8.2.60.0050.00317.93
8.2.50.0000.00918.07
8.2.40.0090.00018.03
8.2.30.0070.00019.25
8.2.20.0000.00817.50
8.2.10.0040.00417.49
8.2.00.0050.00217.47
8.1.280.0070.00725.92
8.1.270.0070.00023.99
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00022.42
8.1.230.0030.01020.88
8.1.220.0030.00518.77
8.1.210.0000.00719.00
8.1.200.0000.00917.00
8.1.190.0000.00917.39
8.1.180.0040.00418.10
8.1.170.0050.00318.51
8.1.160.0080.00018.70
8.1.150.0070.00418.45
8.1.140.0000.00717.37
8.1.130.0000.00817.70
8.1.120.0000.00717.34
8.1.110.0040.00417.29
8.1.100.0000.00717.35
8.1.90.0040.00417.38
8.1.80.0030.00617.41
8.1.70.0000.00717.36
8.1.60.0000.00817.45
8.1.50.0000.00817.34
8.1.40.0050.00217.34
8.1.30.0080.00017.50
8.1.20.0030.00617.50
8.1.10.0050.00317.49
8.1.00.0000.00817.27
8.0.300.0030.00319.88
8.0.290.0080.00017.05
8.0.280.0030.00318.37
8.0.270.0030.00317.21
8.0.260.0000.00816.80
8.0.250.0040.00416.88
8.0.240.0030.00616.90
8.0.230.0000.00716.75
8.0.220.0000.00716.82
8.0.210.0000.00716.76
8.0.200.0040.00416.80
8.0.190.0030.00616.79
8.0.180.0020.00516.73
8.0.170.0070.00016.74
8.0.160.0000.00716.73
8.0.150.0070.00016.87
8.0.140.0040.00716.71
8.0.130.0030.00313.26
8.0.120.0040.00416.73
8.0.110.0000.00716.71
8.0.100.0040.00416.65
8.0.90.0040.00416.80
8.0.80.0110.00416.80
8.0.70.0070.00016.86
8.0.60.0030.00616.75
8.0.50.0050.00316.93
8.0.30.0120.01117.13
8.0.20.0110.00717.40
8.0.10.0040.00416.76
8.0.00.0090.01016.55
7.4.330.0000.00616.66
7.4.320.0030.00316.39
7.4.300.0000.00716.45
7.4.290.0000.00716.55
7.4.280.0030.00316.35
7.4.270.0030.00316.43
7.4.260.0000.00513.27
7.4.250.0000.00816.49
7.4.240.0070.00016.45
7.4.230.0030.00316.33
7.4.220.0160.00316.54
7.4.210.0060.01116.50
7.4.200.0080.00016.33
7.4.190.0040.00416.50
7.4.160.0150.00816.61
7.4.150.0130.00717.40
7.4.140.0120.00517.86
7.4.130.0090.00816.35
7.4.120.0100.00916.34
7.4.110.0110.00616.45
7.4.100.0080.01216.47
7.4.90.0090.01516.27
7.4.80.0170.00019.39
7.4.70.0160.00016.51
7.4.60.0190.00316.61
7.4.50.0030.00616.57
7.4.40.0030.01022.77
7.4.30.0030.01616.34
7.4.00.0130.00314.80
7.3.330.0000.00512.83
7.3.320.0050.00012.99
7.3.310.0040.00416.07
7.3.300.0030.00315.97
7.3.290.0030.01016.08
7.3.280.0120.00316.15
7.3.270.0070.01717.40
7.3.260.0120.00918.24
7.3.250.0100.00716.37
7.3.240.0100.00716.17
7.3.230.0060.01416.39
7.3.210.0100.00616.29
7.3.200.0060.01119.39
7.3.190.0070.01016.19
7.3.180.0150.00316.37
7.3.170.0130.00716.34
7.3.160.0110.00616.37
7.3.120.0070.01114.72
7.3.110.0030.01314.54
7.3.100.0070.00714.68
7.3.90.0070.00714.73
7.3.80.0030.01014.55
7.3.70.0100.00314.73
7.3.60.0030.00614.61
7.3.50.0130.00614.47
7.3.40.0110.00314.71
7.3.30.0100.00614.70
7.3.20.0100.00716.36
7.3.10.0050.01016.28
7.3.00.0090.00716.30
7.2.330.0100.01016.55
7.2.320.0070.01016.43
7.2.310.0060.01216.18
7.2.300.0150.00816.25
7.2.290.0030.01316.14
7.2.240.0030.01615.02
7.2.230.0110.00314.83
7.2.220.0000.01414.78
7.2.210.0000.01415.02
7.2.200.0000.01514.88
7.2.190.0090.00914.77
7.2.180.0110.00714.81
7.2.170.0060.01214.64
7.2.160.0030.01014.77
7.2.150.0040.01416.69
7.2.140.0030.01316.55
7.2.130.0110.00316.49
7.2.120.0100.00716.49
7.2.110.0060.00816.29
7.2.100.0050.01016.55
7.2.90.0080.00716.58
7.2.80.0080.00716.67
7.2.70.0090.00716.63
7.2.60.0060.00916.53
7.2.50.0040.01316.55
7.2.40.0080.01016.54
7.2.30.0100.00716.47
7.2.20.0060.01116.43
7.2.10.0140.00416.62
7.2.00.0060.01217.56
7.1.330.0060.00915.76
7.1.320.0030.01015.60
7.1.310.0070.01015.73
7.1.300.0060.00915.76
7.1.290.0060.01215.72
7.1.280.0120.00615.74
7.1.270.0060.00915.75
7.1.260.0040.01215.79
7.1.250.0070.00515.40
7.1.200.0050.00515.51
7.1.100.0000.01118.15
7.1.70.0050.00316.97
7.1.60.0160.00719.17
7.1.50.0100.01316.89
7.1.00.0030.03322.33
7.0.200.0000.00816.58
7.0.140.0030.07022.09
7.0.60.0200.07019.91
7.0.50.0100.08017.80
7.0.40.0100.03720.07
7.0.30.0200.08020.04
7.0.20.0400.07020.19
7.0.10.0200.07020.14
7.0.00.0130.08020.07
5.6.280.0070.07020.80
5.6.210.0100.07720.64
5.6.200.0100.07718.16
5.6.190.0070.04020.41
5.6.180.0330.04020.58
5.6.170.0300.07020.42
5.6.160.0070.05020.40
5.6.150.0100.07318.07
5.6.140.0130.06318.23
5.6.130.0100.08318.21
5.6.120.0100.08021.11
5.6.110.0030.09021.00
5.6.100.0130.05721.10
5.6.90.0170.03320.98
5.6.80.0000.08720.53
5.6.70.0370.06020.36
5.5.350.0270.07720.48
5.5.340.0100.08018.00
5.5.330.0000.04720.36
5.5.320.0200.06320.41
5.5.310.0330.04720.26
5.5.300.0030.08017.98
5.5.290.0070.03717.98
5.5.280.0070.06720.77
5.5.270.0100.08320.68
5.5.260.0000.06720.86
5.5.250.0170.07320.70
5.5.240.0130.05020.25
5.4.450.0270.04719.57
5.4.440.0170.04019.43
5.4.430.0170.04019.21
5.4.420.0200.03719.38
5.4.410.0200.03319.33
5.4.400.0230.07018.80
5.4.390.0170.03719.09
5.4.380.0200.03319.10
5.4.370.0200.04319.25
5.4.360.0130.04019.16
5.4.350.0130.04018.91
5.4.340.0200.03319.23
5.4.320.0200.03318.93
5.4.310.0130.04018.80
5.4.300.0230.03719.23
5.4.290.0100.04319.05
5.4.280.0170.03718.93
5.4.270.0170.04019.15
5.4.260.0200.04019.05
5.4.250.0130.04019.25
5.4.240.0170.03718.91
5.4.230.0270.03719.24
5.4.220.0100.05318.91
5.4.210.0170.05018.92
5.4.200.0200.07318.80
5.4.190.0200.05719.15
5.4.180.0270.07019.25
5.4.170.0230.04719.07
5.4.160.0170.04319.22
5.4.150.0130.04319.19
5.4.140.0200.03316.22
5.4.130.0200.03016.40
5.4.120.0170.03716.34
5.4.110.0300.03316.22
5.4.100.0270.06016.22
5.4.90.0200.05016.34
5.4.80.0130.04316.41
5.4.70.0130.04316.33
5.4.60.0270.05016.47
5.4.50.0170.04016.22
5.4.40.0270.06316.22
5.4.30.0170.04316.36
5.4.20.0200.03316.47
5.4.10.0270.06316.33
5.4.00.0200.04716.22
5.3.290.0300.07016.22
5.3.280.0270.07016.22
5.3.270.0170.05016.22
5.3.260.0270.05016.22
5.3.250.0200.05016.22
5.3.240.0170.04016.22
5.3.230.0230.04316.22
5.3.220.0330.06316.22
5.3.210.0230.07016.22
5.3.200.0370.05716.22
5.3.190.0230.05716.22
5.3.180.0270.06716.22
5.3.170.0270.06316.22
5.3.160.0300.04016.22
5.3.150.0200.03716.22
5.3.140.0270.04316.22
5.3.130.0330.05316.22
5.3.120.0230.04016.22
5.3.110.0170.05716.22
5.3.100.0230.07316.22
5.3.90.0230.03316.22
5.3.80.0330.06016.22
5.3.70.0270.04016.22
5.3.60.0100.05016.22
5.3.50.0070.04716.22
5.3.40.0200.07316.22
5.3.30.0200.07016.22
5.3.20.0200.07316.22
5.3.10.0130.04016.22
5.3.00.0270.05316.22
5.2.170.0330.03016.22
5.2.160.0200.03716.22
5.2.150.0230.05016.22
5.2.140.0230.05316.22
5.2.130.0230.05016.22
5.2.120.0100.05316.22
5.2.110.0130.04016.22
5.2.100.0170.05716.22
5.2.90.0130.03316.22
5.2.80.0130.03316.22
5.2.70.0170.03016.22
5.2.60.0230.05716.22
5.2.50.0270.05016.22
5.2.40.0100.04316.22
5.2.30.0170.04016.22
5.2.20.0130.02716.22
5.2.10.0200.04316.22
5.2.00.0130.03016.22
5.1.60.0200.02716.22
5.1.50.0130.05316.22
5.1.40.0170.04316.22
5.1.30.0200.04016.22
5.1.20.0100.05316.22
5.1.10.0170.03016.22
5.1.00.0170.05016.22
5.0.50.0100.04716.22
5.0.40.0100.02016.22
5.0.30.0070.06316.22
5.0.20.0070.04716.22
5.0.10.0130.03716.22
5.0.00.0130.06316.22
4.4.90.0130.01016.22
4.4.80.0100.03016.22
4.4.70.0100.02316.22
4.4.60.0100.03316.22
4.4.50.0130.02716.22
4.4.40.0070.04716.22
4.4.30.0070.03716.22
4.4.20.0070.03716.22
4.4.10.0130.02716.22
4.4.00.0070.05016.22
4.3.110.0130.02716.22
4.3.100.0070.02716.22
4.3.90.0100.03716.22
4.3.80.0100.05016.22
4.3.70.0070.03016.22
4.3.60.0070.02016.22
4.3.50.0100.02316.22
4.3.40.0130.04316.22
4.3.30.0030.02316.22
4.3.20.0070.02016.22
4.3.10.0030.03316.22
4.3.00.0070.01316.22

preferences:
43.7 ms | 401 KiB | 5 Q