3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo extends JsonSerializable { public function jsonSerialize(): array; }

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.0110.00916.42
8.5.00.0130.00919.64
8.4.160.0110.01023.95
8.4.150.0020.00114.05
8.4.140.0150.00617.34
8.4.130.0100.00917.73
8.4.120.0060.00420.86
8.4.110.0120.00818.96
8.4.100.0060.00417.84
8.4.90.0060.00317.61
8.4.80.0040.00517.66
8.4.70.0060.01517.68
8.4.60.0110.00919.23
8.4.50.0100.01018.26
8.4.40.0100.01017.52
8.4.30.0070.01418.68
8.4.20.0100.01017.88
8.4.10.0080.00019.29
8.3.290.0100.00920.70
8.3.280.0030.00014.05
8.3.270.0090.01016.66
8.3.260.0140.00616.52
8.3.250.0100.00918.86
8.3.240.0130.00616.55
8.3.230.0120.00816.55
8.3.220.0080.01016.59
8.3.210.0040.00416.54
8.3.200.0080.01118.85
8.3.190.0100.00718.83
8.3.180.0050.00316.66
8.3.170.0110.00720.64
8.3.160.0140.00417.11
8.3.150.0030.01417.13
8.3.140.0040.00416.51
8.3.130.0130.00716.46
8.3.120.0080.01119.09
8.3.110.0050.00216.41
8.3.100.0030.00624.06
8.3.90.0120.00326.77
8.3.80.0150.00317.97
8.3.70.0150.00716.50
8.3.60.0100.00718.43
8.3.50.0110.01118.45
8.3.40.0130.00322.03
8.3.30.0030.01718.92
8.3.20.0040.00424.18
8.3.10.0050.00224.66
8.3.00.0040.00426.16
8.2.300.0110.00918.77
8.2.290.0100.00820.10
8.2.280.0100.01116.61
8.2.270.0090.00318.66
8.2.260.0150.00316.23
8.2.250.0040.00418.37
8.2.240.0040.01518.93
8.2.230.0190.00020.94
8.2.220.0070.00437.54
8.2.210.0160.00326.77
8.2.200.0060.00316.50
8.2.190.0090.00618.17
8.2.180.0040.01118.28
8.2.170.0050.01018.71
8.2.160.0100.01022.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0090.00021.00
8.2.110.0030.00821.32
8.2.100.0180.00918.72
8.2.90.0130.01018.76
8.2.80.0110.00919.43
8.2.70.0090.00719.48
8.2.60.0090.00619.49
8.2.50.0110.00718.68
8.2.40.0180.00318.75
8.2.30.0080.00518.71
8.2.20.0050.00618.72
8.2.10.0090.00218.71
8.2.00.0090.00018.64
8.1.340.0090.01217.24
8.1.330.0120.00816.64
8.1.320.0120.00815.88
8.1.310.0070.01018.20
8.1.300.0060.00318.53
8.1.290.0100.00030.84
8.1.280.0050.00925.92
8.1.270.0000.00724.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00018.52
8.1.230.0080.00718.51
8.1.220.0120.00518.54
8.1.210.0060.00619.91
8.1.200.0020.00818.34
8.1.190.0070.00918.30
8.1.180.0100.00518.38
8.1.170.0080.00318.42
8.1.160.0050.00518.66
8.1.150.0150.00718.54
8.1.140.0050.01118.42
8.1.130.0080.00318.32
8.1.120.0080.00718.49
8.1.110.0170.00318.49
8.1.100.0220.00218.49
8.1.90.0110.01418.45
8.1.80.0090.00518.52
8.1.70.0080.00918.74
8.1.60.0090.00918.59
8.1.50.0070.00518.51
8.1.40.0070.00918.85
8.1.30.0020.00818.71
8.1.20.0050.00918.48
8.1.10.0030.00718.51
8.1.00.0090.00218.56
8.0.300.0070.00717.81
8.0.290.0070.00117.85
8.0.280.0050.00417.75
8.0.270.0120.00417.67
8.0.260.0050.00417.64
8.0.250.0060.00318.76
8.0.240.0040.00918.73
8.0.230.0080.00218.68
8.0.220.0060.00818.63
8.0.210.0100.00618.62
8.0.200.0110.00717.76
8.0.190.0060.00417.84
8.0.180.0200.00317.82
8.0.170.0100.00317.76
8.0.160.0060.01017.79
8.0.150.0080.00717.78
8.0.140.0070.00717.78
8.0.130.0160.00517.75
8.0.120.0070.00617.70
8.0.110.0120.00717.88
8.0.100.0080.00817.71
8.0.90.0020.00717.79
8.0.80.0160.00317.84
8.0.70.0070.00917.51
8.0.60.0120.00517.70
8.0.50.0080.00617.83
8.0.30.0130.00217.79
8.0.20.0130.00718.01
8.0.10.0020.01017.82

preferences:
110.11 ms | 403 KiB | 5 Q