3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo( array #if __PHP__ & $bodies ) { }

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.5.10.0120.00720.26
8.5.00.0110.00919.94
8.4.150.0010.00114.05
8.4.140.0100.01017.63
8.4.130.0100.01117.63
8.4.120.0130.00622.15
8.4.110.0140.00722.39
8.4.100.0110.00817.29
8.4.90.0110.01017.48
8.4.80.0110.00817.59
8.4.70.0130.00717.48
8.4.60.0150.00817.45
8.4.50.0100.01019.16
8.4.40.0100.01017.97
8.4.30.0030.01620.52
8.4.20.0040.01219.57
8.4.10.0030.00621.75
8.3.280.0170.00718.15
8.3.270.0120.00716.64
8.3.260.0040.00416.50
8.3.250.0140.00618.63
8.3.240.0080.00616.52
8.3.230.0080.01016.39
8.3.220.0070.00017.26
8.3.210.0080.01216.66
8.3.200.0090.01116.55
8.3.190.0070.00716.51
8.3.180.0120.00618.55
8.3.170.0030.00616.95
8.3.160.0040.00416.33
8.3.150.0070.01318.85
8.3.140.0040.00416.96
8.3.130.0060.00318.39
8.3.120.0090.00620.63
8.3.110.0050.00318.25
8.3.100.0090.00016.40
8.3.90.0000.01126.77
8.3.80.0060.00316.50
8.3.70.0150.00416.58
8.3.60.0140.00718.14
8.3.50.0100.00719.77
8.3.40.0140.00419.98
8.3.30.0110.00418.35
8.3.20.0020.00524.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.290.0050.00320.24
8.2.280.0100.00718.55
8.2.270.0120.00618.56
8.2.260.0100.00319.04
8.2.250.0070.00017.13
8.2.240.0130.00616.88
8.2.230.0050.00320.94
8.2.220.0000.00824.06
8.2.210.0080.00026.77
8.2.200.0030.00617.91
8.2.190.0090.00916.58
8.2.180.0070.00725.92
8.2.170.0070.01418.83
8.2.160.0090.00922.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0070.00326.16
8.2.120.0040.00421.04
8.2.110.0030.00622.12
8.2.100.0060.00517.66
8.2.90.0040.00420.42
8.2.80.0030.00517.34
8.2.70.0090.00017.50
8.2.60.0040.00417.91
8.2.50.0040.00418.07
8.2.40.0090.00021.04
8.2.30.0030.00617.99
8.2.20.0040.00419.10
8.2.10.0040.00420.78
8.2.00.0050.00519.86
8.1.330.0090.00716.61
8.1.320.0090.01216.12
8.1.310.0120.00316.52
8.1.300.0040.00415.96
8.1.290.0060.00330.84
8.1.280.0070.01025.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0140.00722.18
8.1.230.0070.00422.60
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0100.00017.22
8.1.190.0060.00317.23
8.1.180.0060.00318.10
8.1.170.0080.00018.45
8.1.160.0090.00018.63
8.1.150.0070.00018.49
8.1.140.0070.00018.66
8.1.130.0080.00418.33
8.1.120.0080.00318.31
8.1.110.0070.00517.72
8.1.100.0090.00517.74
8.1.90.0100.00418.39
8.1.80.0100.00418.34
8.1.70.0100.00417.70
8.1.60.0110.00317.87
8.1.50.0100.00417.82
8.1.40.0130.00318.40
8.1.30.0120.00517.92
8.1.20.0110.00517.79
8.1.10.0110.00417.78
8.1.00.0120.00517.74
8.0.300.0000.00719.78
8.0.290.0070.00016.58
8.0.280.0000.00718.32
8.0.270.0050.01017.93
8.0.260.0120.00417.05
8.0.250.0100.00617.13
8.0.240.0090.00517.03
8.0.230.0100.00517.08
8.0.220.0090.00616.99
8.0.210.0090.00416.98
8.0.200.0120.00317.69
8.0.190.0080.00517.13
8.0.180.0100.00417.11
8.0.170.0110.00217.62
8.0.160.0080.00417.14
8.0.150.0110.00317.08
8.0.140.0060.00517.63
8.0.130.0060.00617.05
8.0.120.0080.00616.89
8.0.110.0070.00617.01
8.0.100.0090.00417.03
8.0.90.0080.00417.02
8.0.80.0110.00317.65
8.0.70.0100.00417.03
8.0.60.0120.00016.95
8.0.50.0060.00716.97
8.0.30.0120.00116.97
8.0.20.0100.00317.70
8.0.10.0060.00617.13

preferences:
122.49 ms | 403 KiB | 5 Q