3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Source: https://bugs.php.net/bug.php?id=65967 $objstore = new SplObjectStorage(); $objstore[] = new StdClass; gc_collect_cycles(); var_dump($objstore); print serialize($objstore);

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.0040.01116.38
8.3.50.0030.01421.98
8.3.40.0130.01018.63
8.3.30.0090.00619.09
8.3.20.0090.00620.18
8.3.10.0040.00423.53
8.3.00.0040.00419.26
8.2.180.0110.00418.21
8.2.170.0100.01022.96
8.2.160.0060.00920.27
8.2.150.0050.00324.18
8.2.140.0020.00524.66
8.2.130.0000.00826.16
8.2.120.0000.00822.11
8.2.110.0030.00620.52
8.2.100.0040.00717.91
8.2.90.0000.00819.38
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0080.00018.16
8.2.30.0030.00718.11
8.2.20.0000.00717.77
8.2.10.0040.00417.95
8.2.00.0050.00317.68
8.1.280.0110.00725.92
8.1.270.0060.00323.96
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0110.00022.01
8.1.230.0080.00422.08
8.1.220.0050.00317.79
8.1.210.0030.00618.78
8.1.200.0060.00317.36
8.1.190.0030.00617.23
8.1.180.0030.00618.10
8.1.170.0030.00718.49
8.1.160.0000.00818.87
8.1.150.0040.00418.54
8.1.140.0000.00717.39
8.1.130.0030.00317.25
8.1.120.0040.00417.38
8.1.110.0040.00417.30
8.1.100.0040.00417.28
8.1.90.0040.00417.28
8.1.80.0080.00017.38
8.1.70.0040.00417.36
8.1.60.0080.00017.39
8.1.50.0040.00417.43
8.1.40.0000.00717.41
8.1.30.0040.00417.57
8.1.20.0040.00417.52
8.1.10.0000.00917.44
8.1.00.0050.00317.49
8.0.300.0070.00019.95
8.0.290.0050.00216.63
8.0.280.0030.00318.39
8.0.270.0050.00317.06
8.0.260.0040.00416.85
8.0.250.0070.00016.91
8.0.240.0030.00316.85
8.0.230.0000.00716.95
8.0.220.0040.00416.90
8.0.210.0070.00016.79
8.0.200.0030.00516.99
8.0.190.0080.00017.00
8.0.180.0070.00016.98
8.0.170.0000.00816.92
8.0.160.0040.00416.95
8.0.150.0000.00716.87
8.0.140.0030.00416.81
8.0.130.0000.00513.23
8.0.120.0050.00316.71
8.0.110.0040.00416.78
8.0.100.0050.00316.86
8.0.90.0070.00016.76
8.0.80.0070.01016.82
8.0.70.0070.00016.90
8.0.60.0040.00416.83
8.0.50.0040.00416.82
8.0.30.0130.00617.20
8.0.20.0130.00417.41
8.0.10.0040.00416.93
8.0.00.0110.00816.54
7.4.330.0000.00515.02
7.4.320.0060.00016.38
7.4.300.0030.00316.50
7.4.290.0070.00016.49
7.4.280.0050.00316.44
7.4.270.0000.00716.50
7.4.260.0070.00016.52
7.4.250.0040.00416.55
7.4.240.0000.00716.50
7.4.230.0030.00316.56
7.4.220.0030.01416.55
7.4.210.0110.00516.50
7.4.200.0000.00716.34
7.4.190.0000.00716.67
7.4.160.0130.00316.54
7.4.150.0090.01817.40
7.4.140.0090.00917.86
7.4.130.0140.00416.49
7.4.120.0090.00916.53
7.4.110.0070.01116.72
7.4.100.0090.01516.39
7.4.90.0110.00516.60
7.4.80.0150.00619.39
7.4.70.0140.00316.30
7.4.60.0040.01516.55
7.4.50.0000.00516.50
7.4.40.0070.01022.77
7.4.30.0100.00616.47
7.4.00.0070.00914.89
7.3.330.0030.00313.10
7.3.320.0000.00613.10
7.3.310.0050.00216.32
7.3.300.0030.00316.27
7.3.290.0110.00716.32
7.3.280.0090.00816.26
7.3.270.0160.00617.40
7.3.260.0120.00616.20
7.3.250.0120.00616.37
7.3.240.0170.00016.27
7.3.230.0100.00716.39
7.3.210.0120.00616.52
7.3.200.0060.01319.39
7.3.190.0160.00616.45
7.3.180.0080.01116.42
7.3.170.0070.01016.29
7.3.160.0070.01516.38
7.3.120.0050.01014.88
7.3.110.0100.01014.82
7.3.100.0090.00614.98
7.3.90.0030.01014.66
7.3.80.0090.00614.91
7.3.70.0040.00414.76
7.3.60.0070.01014.84
7.3.50.0130.00314.64
7.3.40.0040.00414.79
7.3.30.0000.00914.82
7.3.20.0030.00716.55
7.3.10.0070.00716.52
7.3.00.0060.00916.67
7.2.330.0130.00916.45
7.2.320.0170.00016.60
7.2.310.0140.00916.33
7.2.300.0090.01216.48
7.2.290.0070.01416.47
7.2.250.0040.01515.08
7.2.240.0040.01214.99
7.2.230.0140.00015.23
7.2.220.0030.00615.09
7.2.210.0030.01515.14
7.2.200.0090.00615.18
7.2.190.0030.01014.94
7.2.180.0030.00914.70
7.2.170.0070.00714.88
7.1.330.0030.01015.82
7.1.320.0030.01215.72
7.1.310.0070.01015.80
7.1.300.0040.00715.73
7.1.290.0070.01015.68
7.1.280.0060.00615.80
7.1.270.0080.00715.76
7.1.260.0120.00015.86
7.1.70.0000.00717.10
7.1.60.0150.00919.46
7.1.50.0200.01734.76
7.1.00.0100.06322.28
7.0.200.0000.00816.59
7.0.140.0030.07322.21
7.0.60.0000.05019.89
7.0.50.0000.05717.78
7.0.40.0130.07319.90
7.0.30.0530.06720.00
7.0.20.0300.05320.18
7.0.10.0230.07720.30
7.0.00.0070.04020.09
5.6.280.0070.09021.02
5.6.210.0130.07320.74
5.6.200.0030.09018.21
5.6.190.0030.09320.27
5.6.180.0230.05320.41
5.6.170.0170.05020.33
5.6.160.0130.04720.44
5.6.150.0030.04018.15
5.6.140.0070.07718.10
5.6.130.0070.08018.15
5.6.120.0070.08720.98
5.6.110.0100.08021.00
5.6.100.0070.05721.10
5.6.90.0070.05720.87
5.6.80.0330.06020.35
5.6.70.3400.03720.41
5.5.350.0070.04320.39
5.5.340.0130.07718.02
5.5.330.0070.08020.21
5.5.320.3170.04020.17
5.5.310.0330.08720.12
5.5.300.0070.08018.02
5.5.290.0000.04318.02
5.5.280.0200.07320.76
5.5.270.0100.03720.72
5.5.260.0030.04320.78
5.5.250.0230.06320.54
5.5.240.0270.07020.15
5.4.450.0900.06719.34
5.4.440.0700.05319.12
5.4.430.0470.06319.10
5.4.420.0030.06019.09
5.4.410.0030.05719.46
5.4.400.0700.05019.16
5.4.390.0630.05019.07
5.4.380.0230.05718.64
5.4.370.0230.05318.54
5.4.360.0400.04718.65
5.4.350.0270.06018.54
5.4.340.0300.06718.49
5.4.320.0060.03612.45
5.4.310.0070.03812.45
5.4.300.0080.03512.45
5.4.290.0080.03912.43
5.4.280.0070.03712.33
5.4.270.0080.03712.33
5.4.260.0070.03812.33
5.4.250.0060.03912.33
5.4.240.0050.03712.33
5.4.230.0070.04212.32
5.4.220.0050.03712.32
5.4.210.0060.03612.32
5.4.200.0080.04412.32
5.4.190.0030.04012.32
5.4.180.0100.03912.32
5.4.170.0050.04012.33
5.4.160.0070.03612.33
5.4.150.0070.04112.32
5.4.140.0080.04412.00
5.4.130.0050.03511.99
5.4.120.0070.03511.95
5.4.110.0060.03411.95
5.4.100.0050.03811.95
5.4.90.0090.04711.95
5.4.80.0080.04111.95
5.4.70.0050.03411.94
5.4.60.0060.03411.95
5.4.50.0080.03311.95
5.4.40.0080.03211.93
5.4.30.0070.03811.93
5.4.20.0060.03711.93
5.4.10.0060.03611.93
5.4.00.0060.04011.42
5.3.290.0100.05112.80
5.3.280.0080.04012.71
5.3.270.0080.03712.72
5.3.260.0030.04212.72
5.3.250.0060.03712.71
5.3.240.0040.03912.72
5.3.230.0050.04012.71
5.3.220.0040.03912.68
5.3.210.0040.04012.68
5.3.200.0050.03712.68
5.3.190.0020.04312.67
5.3.180.0050.03712.68
5.3.170.0090.03712.66
5.3.160.0050.03912.67
5.3.150.0030.04012.67
5.3.140.0040.03812.66
5.3.130.0100.03612.66
5.3.120.0060.04012.66
5.3.110.0060.04312.66
5.3.100.0050.03912.12
5.3.90.0060.03612.09
5.3.80.0080.03912.08
5.3.70.0140.03512.07
5.3.60.0160.04212.07
5.3.50.0050.05312.00
5.3.40.0070.05012.00
5.3.30.0070.05111.95
5.3.20.0100.04311.72
5.3.10.0050.04211.69
5.3.00.0080.04711.68
5.2.170.0090.0459.18
5.2.160.0070.0439.18
5.2.150.0070.0429.18
5.2.140.0060.0439.18
5.2.130.0050.0309.14
5.2.120.0060.0289.14
5.2.110.0060.0379.15
5.2.100.0050.0399.14
5.2.90.0060.0359.14
5.2.80.0020.0429.14
5.2.70.0050.0409.14
5.2.60.0050.0429.09
5.2.50.0050.0449.07
5.2.40.0040.0349.04
5.2.30.0050.0309.02
5.2.20.0040.0309.00
5.2.10.0060.0278.93
5.2.00.0040.0308.78
5.1.60.0040.0258.06
5.1.50.0030.0278.06
5.1.40.0050.0288.05
5.1.30.0060.0348.40
5.1.20.0050.0398.41
5.1.10.0080.0338.13
5.1.00.0040.0378.14
5.0.50.0030.0226.62
5.0.40.0030.0216.47
5.0.30.0030.0356.29
5.0.20.0040.0216.26
5.0.10.0050.0216.23
5.0.00.0050.0376.23
4.4.90.0050.0194.78
4.4.80.0020.0234.76
4.4.70.0040.0204.76
4.4.60.0020.0214.75
4.4.50.0050.0234.77
4.4.40.0030.0384.71
4.4.30.0050.0234.76
4.4.20.0040.0254.84
4.4.10.0030.0254.85
4.4.00.0020.0354.76
4.3.110.0040.0224.67
4.3.100.0020.0234.67
4.3.90.0070.0174.63
4.3.80.0020.0334.58
4.3.70.0040.0234.63
4.3.60.0050.0214.63
4.3.50.0060.0234.63
4.3.40.0050.0354.54
4.3.30.0040.0233.28
4.3.20.0060.0203.26
4.3.10.0030.0213.22
4.3.00.0230.02010.54

preferences:
46.27 ms | 400 KiB | 5 Q