3v4l.org

run code in 300+ PHP versions simultaneously
<?php function howManyAreThere(int $howMany) { return 'There are ' . $howMany; } var_dump(howManyAreThere('11 horses'));

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.0060.00319.57
8.3.140.0040.00416.67
8.3.130.0190.00316.85
8.3.120.0130.00620.53
8.3.110.0100.01020.94
8.3.100.0050.00324.06
8.3.90.0100.00326.77
8.3.80.0030.00616.63
8.3.70.0090.00916.58
8.3.60.0100.01016.50
8.3.50.0090.00417.32
8.3.40.0080.00818.94
8.3.30.0150.00018.54
8.3.20.0040.00423.65
8.3.10.0040.00423.48
8.3.00.0000.00721.60
8.2.250.0000.00918.62
8.2.240.0100.00618.78
8.2.230.0000.00822.58
8.2.220.0060.00337.54
8.2.210.0070.00026.77
8.2.200.0090.00016.63
8.2.190.0040.01116.58
8.2.180.0100.01025.92
8.2.170.0140.00718.97
8.2.160.0100.01022.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00519.64
8.2.110.0160.00722.29
8.2.100.0060.00617.78
8.2.90.0000.00820.62
8.2.80.0040.00419.39
8.2.70.0070.00417.50
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0070.00020.55
8.2.30.0000.00719.08
8.2.20.0040.00418.03
8.2.10.0000.00717.91
8.2.00.0070.00018.04
8.1.300.0120.00316.23
8.1.290.0030.00630.84
8.1.280.0060.01425.92
8.1.270.0080.00023.99
8.1.260.0090.00026.35
8.1.250.0000.00728.09
8.1.240.0000.00922.13
8.1.230.0070.00422.68
8.1.220.0000.00817.74
8.1.210.0080.00318.78
8.1.200.0030.00617.22
8.1.190.0080.00017.10
8.1.180.0060.00318.10
8.1.170.0000.00818.41
8.1.160.0000.00718.68
8.1.150.0050.00218.75
8.1.140.0050.00319.00
8.1.130.0030.00317.48
8.1.120.0000.00717.23
8.1.110.0060.00317.33
8.1.100.0040.00417.31
8.1.90.0070.00017.36
8.1.80.0000.00717.21
8.1.70.0060.00317.21
8.1.60.0040.00417.40
8.1.50.0040.00417.47
8.1.40.0060.00317.36
8.1.30.0060.00317.41
8.1.20.0040.00417.51
8.1.10.0040.00417.55
8.1.00.0000.00817.32
8.0.300.0040.00420.04
8.0.290.0000.00816.75
8.0.280.0050.00318.25
8.0.270.0000.00717.25
8.0.260.0000.00617.19
8.0.250.0000.00716.95
8.0.240.0060.00316.96
8.0.230.0000.00716.94
8.0.220.0000.00716.91
8.0.210.0000.00716.89
8.0.200.0000.00717.02
8.0.190.0000.00816.96
8.0.180.0040.00416.79
8.0.170.0030.00516.89
8.0.160.0040.00416.85
8.0.150.0030.00516.91
8.0.140.0040.00416.83
8.0.130.0000.00613.33
8.0.120.0050.00316.89
8.0.110.0030.00516.86
8.0.100.0040.00416.89
8.0.90.0040.00416.79
8.0.80.0090.00616.89
8.0.70.0000.00716.75
8.0.60.0050.00216.93
8.0.50.0040.00416.79
8.0.30.0120.00616.85
8.0.20.0150.01517.40
8.0.10.0050.00316.89
8.0.00.0080.00916.72
7.4.330.0030.00315.55
7.4.320.0000.00616.27
7.4.300.0030.00316.52
7.4.290.0040.00416.34
7.4.280.0040.00416.44
7.4.270.0030.00316.48
7.4.260.0000.00716.50
7.4.250.0030.00516.41
7.4.240.0030.00316.36
7.4.230.0030.00316.56
7.4.220.0070.00016.62
7.4.210.0070.01116.42
7.4.200.0070.00016.48
7.4.160.0110.00616.49
7.4.150.0140.00517.40
7.4.140.0130.00817.86
7.4.130.0130.01016.55
7.4.120.0080.01416.47
7.4.110.0060.01316.64
7.4.100.0150.00316.66
7.4.90.0060.01016.39
7.4.80.0060.01319.39
7.4.70.0100.00816.29
7.4.60.0170.00016.36
7.4.50.0050.00516.26
7.4.40.0070.01116.38
7.4.00.0080.01115.07
7.3.330.0030.00313.28
7.3.320.0000.00613.38
7.3.310.0030.00316.38
7.3.300.0030.00316.30
7.3.290.0100.00816.35
7.3.280.0080.00716.36
7.3.270.0080.01117.40
7.3.260.0080.01016.37
7.3.250.0110.01016.55
7.3.240.0090.01016.45
7.3.230.0100.00716.49
7.3.210.0090.01216.24
7.3.200.0100.00616.32
7.3.190.0100.01016.36
7.3.180.0100.00716.57
7.3.170.0000.01616.40
7.3.160.0030.01716.21
7.3.120.0070.01114.91
7.3.110.0030.01515.04
7.3.100.0090.00614.91
7.3.90.0080.00414.76
7.3.80.0060.00914.58
7.3.70.0030.01214.93
7.3.60.0070.01014.60
7.3.50.0100.00314.63
7.3.40.0030.01314.68
7.3.30.0100.00314.77
7.3.20.0000.01516.81
7.3.10.0080.00816.75
7.3.00.0070.00316.70
7.2.330.0090.00916.58
7.2.320.0070.01116.57
7.2.310.0090.00916.51
7.2.300.0210.00016.50
7.2.290.0130.00716.57
7.2.250.0060.01314.86
7.2.240.0060.01314.99
7.2.230.0090.00615.12
7.2.220.0040.01115.21
7.2.210.0040.01114.93
7.2.200.0040.01514.95
7.2.190.0070.00715.04
7.2.180.0030.01014.73
7.2.170.0060.01014.74
7.2.60.0000.01316.64
7.2.40.0660.01218.00
7.2.30.0630.01318.09
7.2.20.0740.01317.93
7.2.10.0280.00919.05
7.2.00.0240.01319.24
7.1.330.0110.00415.33
7.1.320.0070.00715.82
7.1.310.0000.01615.80
7.1.300.0000.01415.61
7.1.290.0000.01315.63
7.1.280.0000.01115.66
7.1.270.0100.00715.80
7.1.260.0030.01015.70
7.1.200.0070.00315.70
7.1.160.0640.01216.85
7.1.150.0580.01016.80
7.1.140.0580.00916.73
7.1.130.0390.01317.58
7.1.120.0210.01217.76
7.1.110.0260.00917.33
7.1.100.0230.01017.35
7.1.90.0310.01117.21
7.1.80.0350.01117.55
7.1.70.0330.00916.38
7.1.60.0570.00734.34
7.1.50.0490.01534.03
7.1.40.0670.01333.75
7.1.30.0670.01033.78
7.1.20.0460.01533.93
7.1.10.0450.01115.73
7.1.00.0260.01115.87

preferences:
15.23 ms | 403 KiB | 5 Q