3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { } class b { } $as = serialize(new a); $as = serialize(new b); var_dump(unserialize($as, array('allowed_asss' => 'a') )); var_dump(unserialize($bs, array('allowed_asss' => 'a') ));

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.01216.75
8.3.50.0110.00921.20
8.3.40.0070.00718.67
8.3.30.0120.00318.56
8.3.20.0040.00420.07
8.3.10.0040.00423.66
8.3.00.0080.00023.71
8.2.180.0160.00318.30
8.2.170.0140.00722.96
8.2.160.0100.00320.52
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00419.83
8.2.120.0040.00426.35
8.2.110.0100.00020.51
8.2.100.0080.00417.78
8.2.90.0050.00319.08
8.2.80.0090.00017.97
8.2.70.0030.00617.63
8.2.60.0040.00417.80
8.2.50.0110.00018.07
8.2.40.0050.00520.42
8.2.30.0080.00019.24
8.2.20.0000.00717.63
8.2.10.0000.00818.00
8.2.00.0040.00417.98
8.1.280.0110.00725.92
8.1.270.0060.00323.59
8.1.260.0050.00528.09
8.1.250.0000.00828.09
8.1.240.0090.00023.84
8.1.230.0090.00323.92
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0090.00017.35
8.1.190.0070.00317.23
8.1.180.0080.00018.10
8.1.170.0050.00318.52
8.1.160.0050.00220.73
8.1.150.0000.00818.82
8.1.140.0000.00819.46
8.1.130.0030.00317.57
8.1.120.0080.00017.45
8.1.110.0040.00417.39
8.1.100.0050.00317.45
8.1.90.0000.00717.42
8.1.80.0000.00717.27
8.1.70.0050.00317.29
8.1.60.0070.00017.55
8.1.50.0040.00417.41
8.1.40.0000.00817.52
8.1.30.0000.00817.49
8.1.20.0050.00317.47
8.1.10.0040.00417.54
8.1.00.0000.00817.42
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0000.00718.28
8.0.270.0050.00317.11
8.0.260.0030.00317.18
8.0.250.0030.00316.92
8.0.240.0030.00516.95
8.0.230.0040.00416.95
8.0.220.0040.00416.78
8.0.210.0040.00416.79
8.0.200.0030.00316.83
8.0.190.0090.00016.98
8.0.180.0040.00416.90
8.0.170.0040.00416.95
8.0.160.0060.00316.87
8.0.150.0020.00516.80
8.0.140.0040.00416.90
8.0.130.0030.00313.35
8.0.120.0000.00816.86
8.0.110.0000.00716.87
8.0.100.0040.00416.78
8.0.90.0000.00716.95
8.0.80.0180.00416.92
8.0.70.0000.00816.87
8.0.60.0030.00616.80
8.0.50.0030.00316.88
8.0.30.0070.01017.13
8.0.20.0110.00817.40
8.0.10.0000.00717.02
8.0.00.0120.00816.60
7.4.330.0050.00016.67
7.4.320.0060.00016.54
7.4.300.0000.00616.42
7.4.290.0030.00316.58
7.4.280.0080.00016.53
7.4.270.0000.00716.45
7.4.260.0030.00316.55
7.4.250.0040.00416.47
7.4.240.0040.00316.48
7.4.230.0070.00016.32
7.4.220.0150.01216.43
7.4.210.0070.00816.46
7.4.200.0030.00316.36
7.4.160.0000.01516.59
7.4.150.0150.00317.40
7.4.140.0080.00817.86
7.4.130.0140.00916.48
7.4.120.0060.01316.45
7.4.110.0100.00716.31
7.4.100.0070.01016.41
7.4.90.0070.01016.52
7.4.80.0080.00819.39
7.4.70.0070.01116.60
7.4.60.0060.00916.46
7.4.50.0060.00916.32
7.4.40.0090.00616.32
7.4.30.0130.00316.59
7.4.00.0090.00914.70
7.3.330.0000.00513.25
7.3.320.0030.00313.15
7.3.310.0060.00316.14
7.3.300.0000.00716.24
7.3.290.0030.00316.28
7.3.280.0140.00516.24
7.3.270.0120.00617.40
7.3.260.0130.00316.15
7.3.250.0110.00716.22
7.3.240.0080.01116.32
7.3.230.0120.00616.55
7.3.210.0120.00616.26
7.3.200.0060.01319.39
7.3.190.0140.00316.38
7.3.180.0040.01116.49
7.3.170.0100.00816.29
7.3.160.0080.00816.21
7.3.120.0060.01114.44
7.3.110.0070.00714.86
7.3.100.0090.00514.75
7.3.90.0050.00714.57
7.3.80.0080.00614.61
7.3.70.0040.01014.64
7.3.60.0080.00914.44
7.3.50.0060.01014.66
7.3.40.0050.01214.53
7.3.30.0090.00314.61
7.3.20.0100.00316.48
7.3.10.0090.00216.53
7.3.00.0070.00616.59
7.2.330.0070.01116.40
7.2.320.0100.00716.56
7.2.310.0130.00816.44
7.2.300.0090.01216.36
7.2.290.0040.01616.43
7.2.250.0030.01214.82
7.2.240.0070.01014.89
7.2.230.0070.00714.75
7.2.220.0110.00514.98
7.2.210.0050.01114.73
7.2.200.0060.00914.81
7.2.190.0050.01014.80
7.2.180.0030.01114.84
7.2.170.0060.00714.65
7.2.160.0090.00514.71
7.2.150.0070.01216.63
7.2.140.0080.00816.81
7.2.130.0070.00516.68
7.2.120.0060.00616.53
7.2.110.0070.00716.57
7.2.100.0030.01216.60
7.2.90.0040.00616.85
7.2.80.0050.00916.76
7.2.70.0070.01016.68
7.2.60.0060.00816.52
7.2.50.0110.00316.72
7.2.40.0070.00516.73
7.2.30.0060.00916.68
7.2.20.0070.00516.79
7.2.10.0060.00816.64
7.2.00.0050.01017.52
7.1.330.0050.01015.49
7.1.320.0060.00915.61
7.1.310.0090.00815.76
7.1.300.0070.00815.64
7.1.290.0060.00815.61
7.1.280.0050.00715.54
7.1.270.0090.00615.66
7.1.260.0020.00615.69
7.1.250.0020.01115.78
7.1.200.0000.00715.63
7.1.100.0060.00617.68
7.1.70.0070.00717.06
7.1.60.0090.01519.30
7.1.50.0040.00716.57
7.1.00.0030.07722.43
7.0.200.0070.00016.63
7.0.60.0100.06721.64
7.0.50.0100.05017.97
7.0.40.0000.09019.96
7.0.30.0200.06720.11
7.0.20.0200.04020.19
7.0.10.0130.08320.08
7.0.00.0070.05320.30
5.6.280.0000.06021.07
5.6.210.0130.07020.64
5.6.200.0000.04318.18
5.6.190.0100.08720.68
5.6.180.0330.04320.34
5.6.170.0330.05020.71
5.6.160.0130.05720.54
5.6.150.0130.07318.19
5.6.140.0070.04718.24
5.6.130.0100.05018.29
5.6.120.0000.04321.00
5.6.110.0100.08320.87
5.6.100.0100.08320.88
5.6.90.0170.07321.13
5.6.80.0000.07320.50
5.5.350.0030.08020.41
5.5.340.0100.08017.94
5.5.330.0030.07320.40
5.5.320.0400.04320.23
5.5.310.0170.08720.32
5.5.300.0030.07717.98
5.5.290.0000.05318.07
5.5.280.0100.07320.73
5.5.270.0130.05320.87
5.5.260.0170.07020.74
5.5.250.0170.08020.56
5.5.240.0100.03320.35

preferences:
75.72 ms | 401 KiB | 5 Q