3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function blah() { echo 'test'; } } $test = new test(); $serialized = serialize($test); echo $serialized; $unserialized = unserialize($serialized); $unserialized->blah();

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.0120.00316.63
8.3.50.0120.00317.97
8.3.40.0070.00718.72
8.3.30.0150.00318.48
8.3.20.0000.00818.47
8.3.10.0020.00521.98
8.3.00.0060.00321.65
8.2.180.0090.00618.04
8.2.170.0140.00022.96
8.2.160.0140.00022.11
8.2.150.0090.00024.18
8.2.140.0060.00324.66
8.2.130.0070.00019.70
8.2.120.0040.00426.35
8.2.110.0000.00920.38
8.2.100.0060.00617.84
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0030.00517.50
8.2.60.0000.00917.93
8.2.50.0080.00018.10
8.2.40.0050.00320.64
8.2.30.0070.00019.24
8.2.20.0030.00618.13
8.2.10.0040.00417.96
8.2.00.0050.00317.59
8.1.280.0110.00425.92
8.1.270.0060.00323.84
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00323.80
8.1.230.0030.00922.70
8.1.220.0040.00417.77
8.1.210.0000.00818.77
8.1.200.0030.00917.22
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0050.00318.47
8.1.160.0050.00223.93
8.1.150.0000.01018.82
8.1.140.0000.00719.50
8.1.130.0070.00017.66
8.1.120.0040.00317.38
8.1.110.0040.00417.39
8.1.100.0000.00717.43
8.1.90.0070.00017.44
8.1.80.0070.00017.43
8.1.70.0040.00417.30
8.1.60.0060.00317.60
8.1.50.0000.00917.45
8.1.40.0050.00217.54
8.1.30.0080.00017.53
8.1.20.0030.00517.64
8.1.10.0000.00717.46
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0030.00616.88
8.0.280.0030.00318.45
8.0.270.0000.00717.29
8.0.260.0000.00817.17
8.0.250.0070.00016.91
8.0.240.0000.00717.02
8.0.230.0030.00516.82
8.0.220.0030.00516.84
8.0.210.0060.00016.75
8.0.200.0000.00716.83
8.0.190.0040.00416.93
8.0.180.0080.00316.89
8.0.170.0060.00316.79
8.0.160.0000.00816.95
8.0.150.0030.00816.70
8.0.140.0000.00716.75
8.0.130.0050.00013.32
8.0.120.0060.00316.84
8.0.110.0040.00416.68
8.0.100.0050.00316.91
8.0.90.0000.00716.78
8.0.80.0110.00616.93
8.0.70.0040.00416.94
8.0.60.0040.00416.94
8.0.50.0040.00416.73
8.0.30.0100.00717.21
8.0.20.0090.00917.40
8.0.10.0040.00416.88
8.0.00.0060.01516.63
7.4.330.0000.00515.55
7.4.320.0000.00716.44
7.4.300.0000.00616.57
7.4.290.0000.00816.48
7.4.280.0040.00416.56
7.4.270.0000.00716.48
7.4.260.0050.00216.43
7.4.250.0000.00716.48
7.4.240.0030.00316.59
7.4.230.0040.00416.60
7.4.220.0160.01016.62
7.4.210.0080.00716.47
7.4.200.0000.00716.71
7.4.160.0120.00416.31
7.4.150.0090.00917.40
7.4.140.0140.00517.86
7.4.130.0100.00916.44
7.4.120.0110.00916.45
7.4.110.0030.01416.29
7.4.100.0130.01016.69
7.4.90.0090.01216.45
7.4.80.0070.01619.39
7.4.70.0080.00916.48
7.4.60.0040.01416.60
7.4.50.0040.01516.42
7.4.40.0090.00916.45
7.4.30.0140.01016.55
7.4.00.0080.00814.83
7.3.330.0000.00513.23
7.3.320.0000.00513.11
7.3.310.0030.00316.25
7.3.300.0000.00716.29
7.3.290.0070.00016.12
7.3.280.0120.01016.23
7.3.270.0100.01317.40
7.3.260.0100.01016.36
7.3.250.0100.00716.37
7.3.240.0120.01016.38
7.3.230.0130.00316.39
7.3.210.0170.00316.29
7.3.200.0060.01516.60
7.3.190.0000.02116.15
7.3.180.0000.01716.20
7.3.170.0100.01416.41
7.3.160.0070.01016.47
7.3.120.0070.00414.68
7.3.110.0130.00614.99
7.3.100.0100.00314.60
7.3.90.0030.01414.83
7.3.80.0030.00714.62
7.3.70.0090.00614.89
7.3.60.0030.00914.89
7.3.50.0030.01314.89
7.3.40.0040.01114.86
7.3.30.0030.01014.53
7.3.20.0000.01216.72
7.3.10.0060.00616.58
7.3.00.0090.00216.48
7.2.330.0120.00616.81
7.2.320.0080.01216.45
7.2.310.0100.00716.71
7.2.300.0120.00616.83
7.2.290.0070.01016.53
7.2.250.0140.00714.57
7.2.240.0100.01015.26
7.2.230.0090.00614.82
7.2.220.0030.01414.91
7.2.210.0090.00614.69
7.2.200.0030.00914.98
7.2.190.0040.01114.82
7.2.180.0030.01015.06
7.2.170.0060.00614.94
7.2.130.0070.00716.87
7.2.120.0000.01416.93
7.2.110.0070.00316.89
7.2.100.0100.00316.73
7.2.90.0120.01216.83
7.2.80.0140.00816.89
7.2.70.0180.00316.61
7.2.60.0200.01616.68
7.2.50.0170.00716.87
7.2.40.0100.01416.72
7.2.30.0000.01016.91
7.2.20.0070.01416.92
7.2.10.0150.00816.84
7.2.00.0040.00617.77
7.1.330.0060.00615.71
7.1.320.0070.01015.55
7.1.310.0000.01115.93
7.1.300.0090.00615.80
7.1.290.0000.01415.57
7.1.280.0030.00615.63
7.1.270.0100.00315.88
7.1.260.0080.00615.71
7.1.250.0080.00815.70
7.1.200.0000.01315.73
7.1.70.0040.00417.19
7.1.60.0080.00417.20
7.1.00.0070.07322.29
7.0.200.0030.00715.03
7.0.120.0170.06022.14
7.0.110.0000.07022.09
7.0.100.0070.07322.00
7.0.90.0230.04721.97
7.0.80.0170.06722.09
7.0.70.0130.06722.05
7.0.60.0070.07021.95
7.0.50.0100.07022.12
7.0.40.0070.05722.06
7.0.30.0100.07721.98
7.0.20.0100.05722.10
7.0.10.0200.07322.04
7.0.00.0200.04722.09
5.6.270.0130.06021.04
5.6.260.0070.07320.88
5.6.250.0170.06321.09
5.6.240.0200.06721.09
5.6.230.0100.07321.00
5.6.220.0170.07720.96
5.6.210.0270.05321.05
5.6.200.0070.07321.00
5.6.190.0070.08020.86
5.6.180.0070.06320.84
5.6.170.0100.06320.83
5.6.160.0130.05020.87
5.6.150.0030.06321.03
5.6.140.0130.07020.93
5.6.130.0000.07020.96
5.6.120.0100.05720.83
5.6.110.0200.04720.79
5.6.100.0130.06020.83
5.6.90.0200.04320.78
5.6.80.0100.05720.32
5.6.70.0070.05320.36
5.6.60.0100.05720.39
5.6.50.0100.05320.13
5.6.40.0100.05020.21
5.6.30.0200.04320.21
5.6.20.0130.05320.39
5.6.10.0130.05720.27
5.6.00.0030.05720.07

preferences:
72.57 ms | 400 KiB | 5 Q