3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyIterator extends \ArrayIterator { } $iterator = new MyIterator(); $serialized = serialize($iterator);echo $serialized; $unserialized = unserialize($serialized);

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.0090.00918.18
8.3.50.0100.00718.15
8.3.40.0030.01018.66
8.3.30.0140.00018.75
8.3.20.0070.00020.30
8.3.10.0000.00820.73
8.3.00.0050.00320.79
8.2.180.0170.00316.63
8.2.170.0140.01122.96
8.2.160.0070.00719.32
8.2.150.0050.00224.18
8.2.140.0000.00824.66
8.2.130.0080.00019.82
8.2.120.0080.00026.35
8.2.110.0030.00622.32
8.2.100.0000.01218.03
8.2.90.0040.00419.21
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0000.00718.05
8.2.50.0030.00518.10
8.2.40.0040.00422.20
8.2.30.0050.00319.24
8.2.20.0000.00718.06
8.2.10.0050.00218.05
8.2.00.0040.00418.10
8.1.280.0040.01125.92
8.1.270.0070.00022.18
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.85
8.1.230.0110.00022.27
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0080.00017.22
8.1.180.0070.00018.10
8.1.170.0000.00918.46
8.1.160.0000.00818.88
8.1.150.0030.00718.74
8.1.140.0040.00419.41
8.1.130.0030.00318.78
8.1.120.0000.00717.46
8.1.110.0040.00417.44
8.1.100.0000.00717.38
8.1.90.0060.00317.38
8.1.80.0070.00017.39
8.1.70.0030.00317.37
8.1.60.0000.00817.45
8.1.50.0080.00017.42
8.1.40.0040.00817.38
8.1.30.0030.00517.63
8.1.20.0040.00417.48
8.1.10.0000.00717.60
8.1.00.0040.00417.42
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0030.00318.31
8.0.270.0000.00717.17
8.0.260.0000.00618.88
8.0.250.0000.00717.01
8.0.240.0040.00416.95
8.0.230.0000.00716.91
8.0.220.0080.00016.79
8.0.210.0000.00716.90
8.0.200.0000.00616.79
8.0.190.0080.00016.92
8.0.180.0050.00316.89
8.0.170.0030.00716.91
8.0.160.0000.00816.88
8.0.150.0060.00316.84
8.0.140.0020.00516.73
8.0.130.0000.00613.29
8.0.120.0000.00716.89
8.0.110.0000.00716.93
8.0.100.0000.00716.81
8.0.90.0020.00516.74
8.0.80.0090.00616.77
8.0.70.0000.00716.95
8.0.60.0040.00416.84
8.0.50.0040.00416.87
8.0.30.0120.00616.98
8.0.20.0080.01017.40
8.0.10.0030.00617.07
8.0.00.0110.00716.74
7.4.330.0050.00015.55
7.4.320.0030.00316.51
7.4.300.0000.00616.54
7.4.290.0030.00316.50
7.4.280.0080.00016.54
7.4.270.0000.00716.45
7.4.260.0030.00316.32
7.4.250.0070.00016.29
7.4.240.0000.00716.44
7.4.230.0000.00716.57
7.4.220.0030.01416.43
7.4.210.0040.01116.44
7.4.200.0030.00316.34
7.4.160.0140.00216.48
7.4.150.0100.00717.40
7.4.140.0130.00317.86
7.4.130.0110.00716.59
7.4.120.0050.01316.48
7.4.110.0060.00916.43
7.4.100.0100.01016.43
7.4.90.0160.00016.66
7.4.80.0030.01419.39
7.4.70.0120.00316.47
7.4.60.0120.00316.42
7.4.50.0130.00316.44
7.4.40.0130.00316.53
7.4.30.0060.01016.44
7.4.10.0100.01015.05
7.4.00.0070.00915.07
7.3.330.0000.00513.31
7.3.320.0000.00513.25
7.3.310.0030.00616.23
7.3.300.0000.00616.17
7.3.290.0090.00816.23
7.3.280.0070.01016.22
7.3.270.0100.00717.40
7.3.260.0070.01116.44
7.3.250.0110.00916.33
7.3.240.0050.01216.37
7.3.230.0140.00316.46
7.3.210.0140.00416.39
7.3.200.0030.01316.34
7.3.190.0040.01216.59
7.3.180.0040.01416.42
7.3.170.0130.00316.22
7.3.160.0060.01016.36
7.3.130.0030.01614.81
7.3.120.0090.00914.79
7.3.110.0070.01014.51
7.3.100.0140.00015.01
7.3.90.0110.00314.91
7.3.80.0060.00914.64
7.3.70.0030.01314.82
7.3.60.0090.00614.96
7.3.50.0040.00814.59
7.3.40.0070.00714.82
7.3.30.0000.00914.56
7.3.20.0100.00016.74
7.3.10.0110.00816.57
7.3.00.0030.01116.45
7.2.330.0150.00416.29
7.2.320.0100.00716.42
7.2.310.0060.01216.62
7.2.300.0030.01316.53
7.2.290.0100.00616.56
7.2.260.0170.00314.86
7.2.250.0110.00714.50
7.2.240.0070.01015.01
7.2.230.0030.00715.00
7.2.220.0000.01514.77
7.2.210.0120.00314.96
7.2.200.0040.01115.10
7.2.190.0040.00814.90
7.2.180.0110.00414.91
7.2.170.0030.01214.82
7.2.160.0070.01114.99
7.2.150.0000.01116.73
7.2.140.0080.00416.79
7.2.130.0070.01116.83
7.2.120.0070.00616.66
7.2.110.0070.00816.61
7.2.100.0080.00616.76
7.2.90.0090.00516.79
7.2.80.0070.00716.82
7.2.70.0120.00416.85
7.2.60.0060.00816.76
7.2.50.0100.00516.79
7.2.40.0060.00916.66
7.2.30.0040.01016.71
7.2.20.0040.01116.66
7.2.10.0050.00816.65
7.2.00.0050.00816.88
7.1.330.0030.01315.94
7.1.320.0000.01515.85
7.1.310.0000.01516.09
7.1.300.0080.00415.95
7.1.290.0030.00915.74
7.1.280.0090.00615.78
7.1.270.0080.00615.76
7.1.260.0070.01015.63
7.1.250.0080.01015.71
7.1.240.0030.01215.86
7.1.230.0090.00615.41
7.1.220.0030.00615.79
7.1.210.0070.00715.65
7.1.200.0070.00715.56
7.1.190.0030.00615.72
7.1.180.0080.00015.89
7.1.170.0040.01215.74
7.1.160.0090.00015.68
7.1.150.0000.01015.79
7.1.140.0090.00615.52
7.1.130.0070.01015.66
7.1.120.0000.01215.64
7.1.110.0100.00715.50
7.1.100.0000.01615.79
7.1.90.0040.00815.43
7.1.80.0030.00715.97
7.1.70.0060.00916.45
7.1.60.0160.01025.49
7.1.50.0100.01425.28
7.1.40.0150.01125.12
7.1.30.0120.01325.17
7.1.20.0110.01325.06
7.1.10.0050.01116.10
7.1.00.0050.01016.21
7.0.330.0030.00715.33
7.0.320.0030.00515.32
7.0.310.0070.00715.21
7.0.300.0070.00715.36
7.0.290.0100.00315.02
7.0.280.0090.00315.37
7.0.270.0030.00615.32
7.0.260.0070.00715.40
7.0.250.0060.00615.45
7.0.240.0040.00715.14
7.0.230.0000.01015.65
7.0.220.0060.00315.34
7.0.210.0030.01315.19
7.0.200.0070.00915.87
7.0.190.0030.01216.02
7.0.180.0030.01215.81
7.0.170.0050.00915.81
7.0.160.0060.00615.86
7.0.150.0070.00815.85
7.0.140.0060.00915.89
7.0.130.0020.01315.91
7.0.120.0030.01015.92
7.0.110.0100.00616.01
7.0.100.0020.01115.80
7.0.90.0050.01115.98
7.0.80.0100.00615.92
7.0.70.0090.00415.73
7.0.60.0050.00815.80
7.0.50.0050.00815.97
7.0.40.0090.00615.01
7.0.30.0030.00815.10
7.0.20.0020.01114.99
7.0.10.0110.00514.92
7.0.00.0060.00615.08
5.6.400.0070.00714.26
5.6.390.0030.01014.15
5.6.380.0030.01414.41
5.6.370.0070.00714.05
5.6.360.0070.00314.59
5.6.350.0080.00314.32
5.6.340.0030.01214.30
5.6.330.0060.00314.36
5.6.320.0090.00614.60
5.6.310.0110.00414.34
5.6.300.0060.00914.32
5.6.290.0030.01014.41
5.6.280.0030.00914.20
5.6.270.0110.00414.48
5.6.260.0030.01314.26
5.6.250.0070.00714.34
5.6.240.0030.00614.39
5.6.230.0080.00814.36
5.6.220.0060.01014.30
5.6.210.0000.00914.25
5.6.200.0030.00914.36
5.6.190.0030.00614.38
5.6.180.0040.00713.95
5.6.170.0030.00714.38
5.6.160.0030.00614.29
5.6.150.0030.00614.05
5.6.140.0030.00614.23
5.6.130.0000.01414.23
5.6.120.0040.01414.25
5.6.110.0090.00314.26
5.6.100.0000.01314.46
5.6.90.0040.01114.27
5.6.80.0090.00614.33
5.6.70.0040.00714.03
5.6.60.0040.01114.04
5.6.50.0060.00314.01
5.6.40.0140.00014.14
5.6.30.0070.01014.07
5.6.20.0070.00314.20
5.6.10.0080.00814.25
5.6.00.0030.01014.21

preferences:
64.69 ms | 401 KiB | 5 Q