3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function blah() { echo 'test'; } } $test = new test(); $serialized = serialize($test); $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.0070.01416.48
8.3.50.0140.01022.00
8.3.40.0110.00318.71
8.3.30.0110.00718.60
8.3.20.0000.00818.65
8.3.10.0040.00421.73
8.3.00.0030.00721.79
8.2.180.0110.00418.31
8.2.170.0090.00622.96
8.2.160.0070.00722.11
8.2.150.0150.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00319.77
8.2.120.0020.00526.35
8.2.110.0030.00722.30
8.2.100.0040.00717.78
8.2.90.0000.00817.63
8.2.80.0000.00917.97
8.2.70.0040.00417.89
8.2.60.0030.00517.93
8.2.50.0000.01018.10
8.2.40.0030.00620.64
8.2.30.0000.00819.09
8.2.20.0040.00717.86
8.2.10.0040.00418.04
8.2.00.0000.00817.53
8.1.280.0070.00725.92
8.1.270.0040.00423.88
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00322.05
8.1.230.0090.00320.89
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.01017.22
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0050.00318.52
8.1.160.0040.00422.20
8.1.150.0070.00318.75
8.1.140.0040.00419.50
8.1.130.0040.00417.59
8.1.120.0000.00717.26
8.1.110.0040.00417.42
8.1.100.0040.00417.41
8.1.90.0020.00517.25
8.1.80.0000.00817.39
8.1.70.0030.00317.37
8.1.60.0050.00217.54
8.1.50.0090.00017.44
8.1.40.0040.00417.48
8.1.30.0030.00617.69
8.1.20.0050.00317.48
8.1.10.0000.00717.45
8.1.00.0070.00017.58
8.0.300.0030.00619.77
8.0.290.0030.00516.63
8.0.280.0050.00318.43
8.0.270.0070.00017.25
8.0.260.0040.00417.09
8.0.250.0070.00016.98
8.0.240.0040.00416.96
8.0.230.0040.00416.97
8.0.220.0040.00416.78
8.0.210.0000.00716.90
8.0.200.0030.00316.99
8.0.190.0000.00716.93
8.0.180.0080.00416.94
8.0.170.0080.00016.84
8.0.160.0050.00316.92
8.0.150.0040.00416.78
8.0.140.0000.00816.90
8.0.130.0030.00313.32
8.0.120.0040.00416.75
8.0.110.0030.00316.79
8.0.100.0070.00016.77
8.0.90.0040.00416.97
8.0.80.0120.00616.87
8.0.70.0040.00416.69
8.0.60.0040.00416.84
8.0.50.0040.00416.77
8.0.30.0130.00517.02
8.0.20.0070.01117.40
8.0.10.0000.00716.86
8.0.00.0120.00616.65
7.4.330.0030.00315.55
7.4.320.0000.00616.45
7.4.300.0030.00316.43
7.4.290.0000.00716.50
7.4.280.0000.00816.57
7.4.270.0030.00516.52
7.4.260.0030.00316.50
7.4.250.0080.00016.46
7.4.240.0000.00716.42
7.4.230.0070.00016.48
7.4.220.0060.01316.52
7.4.210.0040.01016.58
7.4.200.0050.00216.62
7.4.160.0070.00916.36
7.4.150.0240.00017.40
7.4.140.0100.00717.86
7.4.130.0140.00516.58
7.4.120.0120.00816.45
7.4.110.0090.00916.47
7.4.100.0090.01216.52
7.4.90.0120.00616.47
7.4.80.0100.01019.39
7.4.70.0100.00616.63
7.4.60.0060.00916.59
7.4.50.0070.01016.46
7.4.40.0170.00016.60
7.4.30.0040.01516.60
7.4.00.0090.00614.95
7.3.330.0000.00513.09
7.3.320.0050.00013.25
7.3.310.0070.00016.27
7.3.300.0070.00016.23
7.3.290.0000.00716.11
7.3.280.0110.00616.25
7.3.270.0090.00917.40
7.3.260.0150.00616.43
7.3.250.0070.01116.29
7.3.240.0080.01016.32
7.3.230.0100.00616.39
7.3.210.0070.01016.35
7.3.200.0060.00916.39
7.3.190.0100.00716.37
7.3.180.0060.01716.37
7.3.170.0070.01516.29
7.3.160.0120.00616.65
7.2.330.0030.01316.66
7.2.320.0140.00416.30
7.2.310.0110.00616.55
7.2.300.0130.00616.62
7.2.290.0030.01416.73
7.2.80.0120.00316.79
7.2.60.0130.00316.80
7.2.00.0000.01019.15
7.1.200.0060.00315.61
7.1.70.0050.00217.20
7.1.60.0110.00416.71
7.1.00.0070.07322.57
7.0.200.0060.00614.77
7.0.120.0270.07022.04
7.0.110.0030.06722.05
7.0.100.0070.08722.02
7.0.90.0070.09021.96
7.0.80.0070.06322.17
7.0.70.0130.07322.09
7.0.60.0070.07322.00
7.0.50.0130.06022.09
7.0.40.0170.06322.07
7.0.30.0200.07322.06
7.0.20.0200.05722.09
7.0.10.0270.05021.97
7.0.00.0230.06722.04
5.6.270.0170.07320.80
5.6.260.0270.07020.84
5.6.250.0200.06321.11
5.6.240.0230.07320.93
5.6.230.0070.06320.97
5.6.220.0170.08020.90
5.6.210.0100.07021.05
5.6.200.0100.05721.03
5.6.190.0170.07321.03
5.6.180.0230.07021.09
5.6.170.0130.07721.02
5.6.160.0300.06020.84
5.6.150.0130.07320.84
5.6.140.0170.08020.85
5.6.130.0200.06720.75
5.6.120.0130.07320.80
5.6.110.0230.07021.02
5.6.100.0170.07721.02
5.6.90.0070.07320.89
5.6.80.0230.05720.18
5.6.70.0130.07720.15
5.6.60.0100.07320.20
5.6.50.0100.06320.41
5.6.40.0200.07020.43
5.6.30.0230.07020.35
5.6.20.0270.06320.16
5.6.10.0200.06320.16
5.6.00.0130.07020.36

preferences:
36.89 ms | 401 KiB | 5 Q