3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test\SuperTest{ class testA { private $b = 123; public function __construct() { $a = 5; } } } namespace{ $className = "\Test\SuperTest\testA"; $object = unserialize( sprintf('O:%d:"%s":0:{}', strlen($className), $className) ); var_dump($object); }

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.00616.50
8.3.50.0090.00921.96
8.3.40.0100.00718.59
8.3.30.0070.00719.09
8.3.20.0080.00020.33
8.3.10.0030.00623.59
8.3.00.0040.00418.98
8.2.180.0080.00818.29
8.2.170.0100.01022.96
8.2.160.0130.00320.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00020.91
8.2.110.0040.00422.12
8.2.100.0040.00717.78
8.2.90.0060.00319.23
8.2.80.0040.00417.97
8.2.70.0000.01117.50
8.2.60.0000.00817.91
8.2.50.0000.00818.07
8.2.40.0040.00421.13
8.2.30.0040.00418.12
8.2.20.0000.00917.70
8.2.10.0000.00717.97
8.2.00.0040.00417.61
8.1.280.0090.00925.92
8.1.270.0080.00022.05
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00023.96
8.1.230.0060.00619.00
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0000.00917.23
8.1.190.0030.00617.25
8.1.180.0000.00818.10
8.1.170.0090.00018.52
8.1.160.0000.00821.86
8.1.150.0000.00718.48
8.1.140.0070.00017.30
8.1.130.0000.00717.82
8.1.120.0030.00317.29
8.1.110.0080.00017.27
8.1.100.0030.00317.29
8.1.90.0000.00817.27
8.1.80.0080.00017.27
8.1.70.0030.00317.33
8.1.60.0060.00317.48
8.1.50.0040.00417.45
8.1.40.0000.00817.46
8.1.30.0030.00617.61
8.1.20.0000.00717.58
8.1.10.0090.00017.49
8.1.00.0080.00017.53
8.0.300.0040.00418.77
8.0.290.0040.00417.16
8.0.280.0030.00318.38
8.0.270.0000.00717.14
8.0.260.0030.00317.26
8.0.250.0030.00316.84
8.0.240.0030.00316.82
8.0.230.0000.00816.91
8.0.220.0040.00416.88
8.0.210.0000.00816.83
8.0.200.0000.00817.00
8.0.190.0070.00016.94
8.0.180.0000.00716.93
8.0.170.0030.00516.79
8.0.160.0040.00416.83
8.0.150.0030.00416.83
8.0.140.0000.00716.89
8.0.130.0080.00013.38
8.0.120.0040.00416.79
8.0.110.0070.00016.85
8.0.100.0000.00716.84
8.0.90.0070.00016.72
8.0.80.0060.00916.77
8.0.70.0070.00017.01
8.0.60.0000.00817.00
8.0.50.0040.00416.71
8.0.30.0060.01216.93
8.0.20.0090.01217.40
8.0.10.0080.00017.05
8.0.00.0160.00516.61
7.4.330.0020.00215.00
7.4.320.0000.00816.45
7.4.300.0040.00416.41
7.4.290.0040.00416.52
7.4.280.0060.00616.53
7.4.270.0030.00316.59
7.4.260.0000.00916.52
7.4.250.0040.00416.43
7.4.240.0020.00516.42
7.4.230.0030.00516.35
7.4.220.0060.01116.52
7.4.210.0070.00716.53
7.4.200.0000.00716.43
7.4.190.0070.00016.34
7.4.160.0100.00616.60
7.4.150.0000.02417.40
7.4.140.0050.01217.86
7.4.130.0120.00616.46
7.4.120.0100.00716.52
7.4.110.0030.01316.54
7.4.100.0060.01016.42
7.4.90.0090.00916.38
7.4.80.0030.01719.39
7.4.70.0150.00616.71
7.4.60.0130.00316.41
7.4.50.0060.00316.38
7.4.40.0140.00416.39
7.4.30.0120.00616.66
7.4.00.0050.01115.08
7.3.330.0050.00013.31
7.3.320.0110.00013.18
7.3.310.0030.00316.20
7.3.300.0030.00316.15
7.3.290.0140.00716.32
7.3.280.0100.00916.31
7.3.270.0120.00617.40
7.3.260.0100.00716.32
7.3.250.0100.00816.24
7.3.240.0070.01016.38
7.3.230.0080.01116.39
7.3.210.0090.01216.33
7.3.200.0070.01019.39
7.3.190.0070.01516.51
7.3.180.0150.00016.33
7.3.170.0070.01316.29
7.3.160.0160.00016.41
7.3.120.0070.01114.97
7.3.110.0060.01214.79
7.3.100.0080.00514.59
7.3.90.0020.01414.85
7.3.80.0040.01014.78
7.3.70.0060.00314.71
7.3.60.0060.00814.80
7.3.50.0040.01114.56
7.3.40.0020.00914.78
7.3.30.0080.00314.71
7.3.20.0050.00716.56
7.3.10.0090.00516.45
7.3.00.0030.01016.46
7.2.330.0070.01016.46
7.2.320.0040.01516.46
7.2.310.0180.00416.59
7.2.300.0100.00716.42
7.2.290.0070.01016.35
7.2.250.0030.01415.04
7.2.240.0100.00815.06
7.2.230.0080.00614.95
7.2.220.0020.01115.01
7.2.210.0060.00615.12
7.2.200.0040.01114.83
7.2.190.0070.00914.84
7.2.180.0090.00615.01
7.2.170.0020.01314.97
7.2.130.0040.00816.66
7.2.120.0030.00716.64
7.2.110.0070.00816.46
7.2.100.0000.00816.95
7.2.90.0030.01216.76
7.2.80.0120.00316.85
7.2.70.0050.00516.51
7.2.60.0060.01116.67
7.2.50.0100.00316.79
7.2.40.0030.00716.55
7.2.30.0070.00716.96
7.2.20.0000.01016.50
7.2.10.0060.01016.47
7.2.00.0000.01518.01
7.1.330.0080.00715.87
7.1.320.0040.00915.67
7.1.310.0090.00415.69
7.1.300.0050.01015.66
7.1.290.0040.00715.66
7.1.280.0040.00415.66
7.1.270.0080.00515.74
7.1.260.0030.00815.83
7.1.250.0090.00015.42
7.1.200.0100.00015.87
7.1.100.0070.00718.05
7.1.70.0050.01017.02
7.1.60.0040.01117.29
7.1.50.0100.01316.93
7.1.40.0080.00316.68
7.1.30.0090.00916.68
7.1.20.0090.00916.46
7.1.10.0100.00216.49
7.1.00.0030.00616.61
7.0.200.0120.00316.87
7.0.190.0040.00816.66
7.0.180.0100.00216.19
7.0.170.0100.00516.36
7.0.160.0080.00816.27
7.0.150.0050.00816.19
7.0.140.0070.00716.32
7.0.130.0100.00516.50
7.0.120.0060.00616.53
7.0.110.0100.00316.25
7.0.100.0050.00716.28
7.0.90.0050.00716.42
7.0.80.0080.00416.51
7.0.70.0040.01116.30
7.0.60.0060.00615.82
7.0.50.0040.01116.55
7.0.40.0100.01015.20
7.0.30.0080.01315.20
7.0.20.0080.00315.20
7.0.10.0000.01215.20
7.0.00.0050.00515.20
5.6.300.0070.04620.63
5.6.290.0060.04420.79
5.6.280.0090.04020.89
5.6.270.0040.04421.04
5.6.260.0040.04721.03
5.6.250.0040.04221.07
5.6.240.0170.08620.98
5.6.230.0090.04420.98
5.6.220.0040.04620.88
5.6.210.0040.04721.09
5.6.200.0030.06220.84
5.6.190.0100.04321.03
5.6.180.0070.04720.87
5.6.170.0100.04320.74
5.6.160.0130.04120.93
5.6.150.0000.07120.99
5.6.140.0130.06020.95
5.6.130.0000.04920.79
5.6.120.0040.04720.83
5.6.110.0130.03420.95
5.6.100.0160.03220.77
5.6.90.0040.08520.80
5.6.80.0040.05020.34
5.6.70.0030.05620.41
5.6.60.0030.04320.39
5.6.50.0170.04820.22
5.6.40.0040.04320.41
5.6.30.0100.03720.42
5.6.20.0100.03520.18
5.6.10.0130.03320.38
5.6.00.0000.04820.20
5.5.380.0070.03617.58
5.5.370.0150.06417.46
5.5.360.0070.07117.45
5.5.350.0070.03717.40
5.5.340.0030.04318.10
5.5.330.0100.06618.07
5.5.320.0040.04318.08
5.5.310.0200.04618.04
5.5.300.0030.04518.01
5.5.290.0030.04118.09
5.5.280.0100.04118.18
5.5.270.0030.04618.00
5.5.260.0000.04817.70
5.5.250.0070.04017.65
5.5.240.0100.05217.48
5.5.230.0000.04517.47
5.5.220.0000.04417.50
5.5.210.0030.04117.46
5.5.200.0100.03717.45
5.5.190.0000.05417.41
5.5.180.0000.04117.44
5.5.160.0000.04017.39
5.5.150.0060.03517.43
5.5.140.0030.04217.53
5.5.130.0030.03917.41
5.5.120.0000.04017.38
5.5.110.0100.05817.18
5.5.100.0090.03517.34
5.5.90.0070.04917.43
5.5.80.0100.06917.34
5.5.70.0030.04017.37
5.5.60.0090.03517.24
5.5.50.0000.04117.27
5.5.40.0070.04017.32
5.5.30.0030.04717.26
5.5.20.0070.04717.38
5.5.10.0060.03517.42
5.5.00.0060.04217.24
5.4.450.0000.04919.45
5.4.440.0070.03719.40
5.4.430.0060.04019.43
5.4.420.0240.03019.21
5.4.410.0100.03619.30
5.4.400.0070.04418.98
5.4.390.0000.05218.94
5.4.380.0120.03618.98
5.4.370.0000.04119.06
5.4.360.0130.03319.07
5.4.350.0030.03818.89
5.4.340.0030.03919.08
5.4.320.0070.04618.98
5.4.310.0040.04619.07
5.4.300.0070.03419.14
5.4.290.0000.04418.99
5.4.280.0060.03519.07
5.4.270.0040.03919.20
5.4.260.0000.05018.91
5.4.250.0030.04018.94
5.4.240.0070.04318.97
5.4.230.0030.04219.19
5.4.220.0070.04119.19
5.4.210.0000.04319.07
5.4.200.0000.04418.97
5.4.190.0030.03819.06
5.4.180.0030.08618.97
5.4.170.0100.03319.17
5.4.160.0070.04019.12
5.4.150.0060.03919.04
5.4.140.0030.03716.68
5.4.130.0000.03916.77
5.4.120.0030.03716.67
5.4.110.0030.06316.70
5.4.100.0030.03716.58
5.4.90.0130.06616.71
5.4.80.0070.08016.74
5.4.70.0090.03816.69
5.4.60.0100.03016.68
5.4.50.0060.03916.72
5.4.40.0030.04016.80
5.4.30.0070.04216.71
5.4.20.0070.03316.46
5.4.10.0030.07216.67
5.4.00.0100.04315.87
5.3.290.0000.04615.20
5.3.280.0070.03415.20
5.3.270.0100.03415.20
5.3.260.0030.03815.20
5.3.250.0130.08315.20
5.3.240.0030.04315.20
5.3.230.0030.04115.20
5.3.220.0030.03715.20
5.3.210.0070.05015.20
5.3.200.0100.07215.20
5.3.190.0070.07215.20
5.3.180.0070.04115.20
5.3.170.0030.03815.20
5.3.160.0030.08515.20
5.3.150.0070.04315.20
5.3.140.0070.05015.20
5.3.130.0000.04715.20
5.3.120.0100.03315.20
5.3.110.0070.06615.20
5.3.100.0000.05915.20
5.3.90.0130.03815.20
5.3.80.0030.04415.20
5.3.70.0070.04315.20
5.3.60.0070.03415.20
5.3.50.0130.05415.20
5.3.40.0130.04615.20
5.3.30.0100.03015.20
5.3.20.0030.03715.20
5.3.10.0070.03515.20
5.3.00.0030.03615.20
5.2.170.0030.06215.20
5.2.160.0030.03115.20
5.2.150.0040.03515.20
5.2.140.0030.03015.20
5.2.130.0070.02915.20
5.2.120.0030.04115.20
5.2.110.0060.04915.20
5.2.100.0000.04415.20
5.2.90.0140.03715.20
5.2.80.0070.02415.20
5.2.70.0070.02715.20
5.2.60.0040.02815.20
5.2.50.0030.03115.20
5.2.40.0000.07015.20
5.2.30.0130.03815.20
5.2.20.0030.03215.20
5.2.10.0030.02915.20
5.2.00.0060.02915.20
5.1.60.0000.02815.20
5.1.50.0030.02415.20
5.1.40.0030.02315.20
5.1.30.0030.02615.20
5.1.20.0030.05515.20
5.1.10.0060.05115.20
5.1.00.0000.04115.20
5.0.50.0060.04515.20
5.0.40.0070.01415.20
5.0.30.0000.03115.20
5.0.20.0000.04015.20
5.0.10.0030.02615.20
5.0.00.0030.02915.20
4.4.90.0030.01315.20
4.4.80.0040.02215.20
4.4.70.0000.01615.20
4.4.60.0000.01615.20
4.4.50.0000.01915.20
4.4.40.0030.02315.20
4.4.30.0060.01015.20
4.4.20.0000.01715.20
4.4.10.0000.02015.20
4.4.00.0030.02215.20
4.3.110.0060.01315.20
4.3.100.0000.01715.20
4.3.90.0030.01415.20
4.3.80.0000.02515.20
4.3.70.0070.02415.20
4.3.60.0070.02815.20
4.3.50.0000.01915.20
4.3.40.0030.02515.20
4.3.30.0070.02715.20
4.3.20.0030.02615.20
4.3.10.0030.01415.20
4.3.00.0030.01415.20

preferences:
40.14 ms | 401 KiB | 5 Q