3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public $yo = 'boobies'; public function getYo () { print $this->yo; } } $a = new test(); $s = base64_encode(serialize($a)); $b = unserialize(base64_decode($s)); $b->getYo();

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.50
8.3.50.0110.00918.22
8.3.40.0080.00818.75
8.3.30.0110.00718.57
8.3.20.0040.00418.79
8.3.10.0070.01420.27
8.3.00.0000.00817.21
8.2.180.0030.01716.38
8.2.170.0100.00322.96
8.2.160.0130.00322.09
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.79
8.2.110.0030.00621.18
8.2.100.0080.00417.72
8.2.90.0060.00320.77
8.2.80.0000.00917.80
8.2.70.0000.00817.47
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0000.00818.34
8.2.30.0040.00418.13
8.2.20.0040.00417.67
8.2.10.0000.00817.54
8.2.00.0040.00417.62
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0070.01422.54
8.1.230.0110.00020.97
8.1.220.0000.00817.78
8.1.210.0040.00418.92
8.1.200.0090.00317.23
8.1.190.0080.00017.29
8.1.180.0040.00418.10
8.1.170.0000.00818.89
8.1.160.0060.00318.83
8.1.150.0040.00418.57
8.1.140.0050.00417.45
8.1.130.0030.00317.89
8.1.120.0000.00717.30
8.1.110.0000.00717.43
8.1.100.0050.00317.43
8.1.90.0040.00417.38
8.1.80.0000.00717.41
8.1.70.0060.00017.27
8.1.60.0040.00417.66
8.1.50.0070.00017.35
8.1.40.0000.00717.50
8.1.30.0040.00417.61
8.1.20.0070.00017.55
8.1.10.0070.00017.48
8.1.00.0040.00417.48
8.0.300.0000.00819.98
8.0.290.0040.00416.75
8.0.280.0070.00018.45
8.0.270.0070.00017.26
8.0.260.0040.00416.91
8.0.250.0070.00016.97
8.0.240.0030.00316.99
8.0.230.0000.00716.96
8.0.220.0070.00016.87
8.0.210.0040.00416.86
8.0.200.0030.00316.94
8.0.190.0050.00316.96
8.0.180.0050.00316.89
8.0.170.0030.00616.88
8.0.160.0000.00716.89
8.0.150.0000.00916.91
8.0.140.0050.00516.72
8.0.130.0000.00613.32
8.0.120.0000.00816.94
8.0.110.0000.00716.77
8.0.100.0000.00716.84
8.0.90.0080.00016.92
8.0.80.0130.00316.78
8.0.70.0000.00816.86
8.0.60.0000.00816.84
8.0.50.0000.00816.85
8.0.30.0090.01017.24
8.0.20.0100.00817.04
8.0.10.0070.00017.01
8.0.00.0140.00716.77
7.4.330.0000.00513.04
7.4.320.0030.00316.53
7.4.300.0040.00416.42
7.4.290.0080.00016.61
7.4.280.0070.00016.63
7.4.270.0000.00616.44
7.4.260.0000.00513.22
7.4.250.0000.00816.63
7.4.240.0030.00516.52
7.4.230.0000.00716.71
7.4.220.0040.01816.51
7.4.210.0060.00816.56
7.4.200.0070.00016.67
7.4.190.0030.00316.75
7.4.160.0110.00416.38
7.4.150.0090.00916.40
7.4.140.0110.00716.50
7.4.130.0080.00816.65
7.4.120.0060.01116.55
7.4.110.0070.01016.44
7.4.100.0100.00716.55
7.4.90.0100.00716.64
7.4.80.0060.01219.39
7.4.70.0170.00316.53
7.4.60.0100.00616.54
7.4.50.0060.00016.33
7.4.40.0030.01016.35
7.4.30.0090.00616.36
7.4.00.0080.00915.08
7.3.330.0060.00013.10
7.3.320.0000.00713.33
7.3.310.0000.00716.32
7.3.300.0070.00016.30
7.3.290.0220.00916.27
7.3.280.0090.00716.25
7.3.270.0070.01016.39
7.3.260.0100.00816.30
7.3.250.0100.00916.40
7.3.240.0090.00616.46
7.3.230.0060.01016.45
7.3.210.0070.01016.49
7.3.200.0030.01316.51
7.3.190.0080.00816.32
7.3.180.0060.00916.53
7.3.170.0000.01516.35
7.3.160.0120.00916.50
7.3.120.0050.01114.61
7.3.110.0090.00314.84
7.3.100.0090.00014.76
7.3.90.0060.01114.56
7.3.80.0090.00914.77
7.3.70.0000.01214.81
7.3.60.0100.00314.83
7.3.50.0090.00614.80
7.3.40.0030.01314.65
7.3.30.0030.00714.90
7.3.20.0000.01516.50
7.3.10.0040.00716.32
7.3.00.0060.00316.68
7.2.330.0170.00016.38
7.2.320.0030.01316.46
7.2.310.0070.01716.26
7.2.300.0070.01016.46
7.2.290.0110.00516.78
7.2.250.0070.01314.80
7.2.240.0040.01515.09
7.2.230.0090.00615.33
7.2.220.0030.01215.20
7.2.210.0070.00714.89
7.2.200.0030.00715.24
7.2.190.0060.00314.90
7.2.180.0030.01015.23
7.2.170.0120.00314.61
7.2.00.0070.00719.30
7.1.330.0100.00315.70
7.1.320.0100.00315.73
7.1.310.0040.01415.62
7.1.300.0030.00615.50
7.1.290.0070.01015.41
7.1.280.0030.01015.63
7.1.270.0060.00615.53
7.1.260.0070.00715.66
7.1.200.0040.00715.84
7.1.100.0060.00618.28
7.1.70.0040.00417.07
7.1.60.0100.01419.40
7.1.50.0060.01517.00
7.1.00.0030.03322.27
7.0.200.0280.00614.45
7.0.140.0000.07722.00
7.0.120.0100.06721.96
7.0.60.0030.04319.95
7.0.50.0000.04317.91
7.0.40.0030.04320.02
7.0.30.0270.08320.23
7.0.20.0270.08320.25
7.0.10.0100.08720.34
7.0.00.0100.07320.09
5.6.280.0030.07321.02
5.6.210.0030.05720.65
5.6.200.0130.07018.25
5.6.190.0070.08720.64
5.6.180.0270.06720.50
5.6.170.0370.07320.51
5.6.160.0070.08320.46
5.6.150.0100.08318.19
5.6.140.0100.08018.15
5.6.130.0130.07318.17
5.6.120.0030.08020.98
5.6.110.0030.08021.01
5.6.100.0070.04020.98
5.6.90.0100.06721.10
5.6.80.0100.08020.37
5.5.350.0200.03020.41
5.5.340.0030.08718.05
5.5.330.0170.07320.56
5.5.320.0270.03020.27
5.5.310.0170.04720.23
5.5.300.0100.07717.98
5.5.290.0030.08317.97
5.5.280.0030.04020.80
5.5.270.0000.05320.65
5.5.260.0100.07020.84
5.5.250.0130.05720.80
5.5.240.0030.05320.28
5.4.450.0000.08319.57
5.4.440.0030.05319.47
5.4.430.0070.08019.47
5.4.420.0030.04019.55
5.4.410.0100.04319.44
5.4.400.0030.06718.96
5.4.390.0130.03319.24
5.4.380.0070.08019.16
5.4.370.0030.08018.93
5.4.360.0030.08018.87
5.4.350.0070.05019.00
5.4.340.0070.04019.18
5.4.320.0030.04019.14
5.4.310.0100.06719.09
5.4.300.0030.08018.87
5.4.290.0030.08019.14
5.4.280.0030.08019.14
5.4.270.0070.06719.11
5.4.260.0030.04719.25
5.4.250.0130.06719.07
5.4.240.0030.07718.91
5.4.230.0070.05719.20
5.4.220.0030.04018.97
5.4.210.0070.04719.04
5.4.200.0070.05319.14
5.4.190.0030.06319.14
5.4.180.0000.06319.23
5.4.170.0130.07318.86
5.4.160.0070.07719.12
5.4.150.0070.05319.22
5.4.140.0030.07316.50
5.4.130.0070.04316.37
5.4.120.0100.06716.39
5.4.110.0030.07016.47
5.4.100.0030.05716.53
5.4.90.0100.06716.53
5.4.80.0000.04016.41
5.4.70.0100.07016.39
5.4.60.0070.04316.27
5.4.50.0100.03716.31
5.4.40.0000.04016.43
5.4.30.0100.04016.39
5.4.20.0030.08016.38
5.4.10.0030.05716.36
5.4.00.0030.03715.95
5.3.290.0100.07314.71
5.3.280.0070.07714.63
5.3.270.0070.07314.78
5.3.260.0200.06014.68
5.3.250.0130.04714.65
5.3.240.0170.06314.49
5.3.230.0030.07714.63
5.3.220.0070.07714.63
5.3.210.0130.07014.71
5.3.200.0070.04014.56
5.3.190.0100.04314.71
5.3.180.0100.03714.56
5.3.170.0070.04314.70
5.3.160.0030.04014.55
5.3.150.0000.04314.48
5.3.140.0030.04014.56
5.3.130.0000.04714.55
5.3.120.0100.03314.55
5.3.110.0070.07314.46
5.3.100.0070.07314.09
5.3.90.0030.07314.07
5.3.80.0000.05714.02
5.3.70.0130.06014.00
5.3.60.0200.05314.01
5.3.50.0030.07014.02
5.3.40.0130.07013.91
5.3.30.0030.04313.88
5.3.20.0100.03313.73
5.3.10.0000.06313.73
5.3.00.0200.06013.57
5.2.170.0030.04311.11
5.2.160.0070.06311.12
5.2.150.0070.04311.13
5.2.140.0030.04311.05
5.2.130.0030.03011.26
5.2.120.0000.06711.12
5.2.110.0030.06311.03
5.2.100.0070.06011.11
5.2.90.0030.04011.12
5.2.80.0070.06311.12
5.2.70.0070.04711.16
5.2.60.0070.06011.02
5.2.50.0000.04311.03
5.2.40.0030.03011.04
5.2.30.0070.03710.90
5.2.20.0100.05710.96
5.2.10.0030.02710.75
5.2.00.0030.04310.64
5.1.60.0070.05010.05
5.1.50.0070.03710.14
5.1.40.0030.0279.94
5.1.30.0030.02710.33
5.1.20.0000.06010.43
5.1.10.0070.04710.22
5.1.00.0030.02710.12
5.0.50.0030.0478.60
5.0.40.0000.0478.50
5.0.30.0030.0638.29
5.0.20.0070.0378.36
5.0.10.0070.0278.22
5.0.00.0100.0378.18
4.4.90.0030.0237.80
4.4.80.0030.0337.80
4.4.70.0070.0307.80
4.4.60.0000.0277.80
4.4.50.0000.0277.80
4.4.40.0000.0307.80
4.4.30.0000.0177.80
4.4.20.0000.0237.80
4.4.10.0030.0137.80
4.4.00.0000.0577.80
4.3.110.0030.0377.80
4.3.100.0070.0177.80
4.3.90.0030.0237.80
4.3.80.0000.0277.80
4.3.70.0000.0177.80
4.3.60.0000.0177.80
4.3.50.0000.0177.80
4.3.40.0030.0437.80
4.3.30.0000.0407.80
4.3.20.0030.0377.80
4.3.10.0000.0237.80
4.3.00.0030.0337.80

preferences:
39.74 ms | 401 KiB | 5 Q