3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { const TEST = "hjhdshdskhsd"; private $fuck; public function __construct($testParam = self::TEST) { $this->fuck = $testParam; } public function getFucking() { return $this->fuck; } } $t = new Test(); echo $t->getFucking();

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.0200.00018.42
8.3.50.0130.01018.15
8.3.40.0120.00618.89
8.3.30.0100.00318.78
8.3.20.0040.00420.16
8.3.10.0000.00923.46
8.3.00.0050.00319.07
8.2.180.0180.00418.42
8.2.170.0070.00722.96
8.2.160.0140.00022.21
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00819.54
8.2.110.0060.00322.15
8.2.100.0040.00817.77
8.2.90.0040.00417.72
8.2.80.0040.00419.04
8.2.70.0090.00018.05
8.2.60.0000.00818.09
8.2.50.0080.00018.10
8.2.40.0030.00620.93
8.2.30.0040.00419.30
8.2.20.0030.00617.61
8.2.10.0030.00517.91
8.2.00.0000.00817.50
8.1.280.0170.00025.92
8.1.270.0060.00319.00
8.1.260.0030.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0060.00622.81
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.41
8.1.180.0040.00418.10
8.1.170.0040.00420.71
8.1.160.0040.00419.04
8.1.150.0100.00018.88
8.1.140.0000.00817.37
8.1.130.0030.00317.77
8.1.120.0070.00017.30
8.1.110.0000.00717.36
8.1.100.0000.00717.28
8.1.90.0040.00417.34
8.1.80.0050.00217.27
8.1.70.0070.00017.39
8.1.60.0030.00617.61
8.1.50.0030.00617.53
8.1.40.0000.00817.54
8.1.30.0080.00017.52
8.1.20.0040.00417.65
8.1.10.0000.00817.61
8.1.00.0000.00817.43
8.0.300.0000.00720.16
8.0.290.0060.00316.88
8.0.280.0000.00718.52
8.0.270.0070.00017.31
8.0.260.0000.00617.32
8.0.250.0070.00016.89
8.0.240.0040.00416.96
8.0.230.0030.00416.89
8.0.220.0070.00016.78
8.0.210.0030.00516.82
8.0.200.0000.00816.96
8.0.190.0000.00716.96
8.0.180.0040.00416.79
8.0.170.0000.00816.75
8.0.160.0080.00016.77
8.0.150.0030.00316.68
8.0.140.0040.00416.70
8.0.130.0030.00313.26
8.0.120.0090.00016.75
8.0.110.0000.00716.72
8.0.100.0040.00416.70
8.0.90.0040.00416.73
8.0.80.0140.00316.88
8.0.70.0050.00316.69
8.0.60.0070.00016.78
8.0.50.0030.00516.82
8.0.30.0100.01316.92
8.0.20.0150.00717.40
8.0.10.0040.00416.83
8.0.00.0100.00816.52
7.4.330.0050.00015.03
7.4.320.0030.00316.38
7.4.300.0030.00316.59
7.4.290.0000.00716.48
7.4.280.0000.00816.45
7.4.270.0030.00316.49
7.4.260.0050.00516.58
7.4.250.0040.00416.61
7.4.240.0030.00316.46
7.4.230.0070.00016.41
7.4.220.0080.01216.55
7.4.210.0060.00916.56
7.4.200.0070.00016.68
7.4.160.0060.00916.48
7.4.150.0070.01117.40
7.4.140.0130.00317.86
7.4.130.0040.01416.56
7.4.120.0110.00716.54
7.4.110.0100.01416.37
7.4.100.0100.00716.44
7.4.90.0070.01016.45
7.4.80.0090.00919.39
7.4.70.0100.00716.45
7.4.60.0070.01416.47
7.4.50.0050.00316.43
7.4.40.0120.00916.57
7.4.30.0200.00316.28
7.4.00.0030.01014.75
7.3.330.0060.00013.26
7.3.320.0030.00313.07
7.3.310.0030.00316.25
7.3.300.0060.00016.25
7.3.290.0070.00816.23
7.3.280.0070.01016.24
7.3.270.0090.00917.40
7.3.260.0110.00616.26
7.3.250.0090.00916.53
7.3.240.0030.01616.29
7.3.230.0060.01516.39
7.3.210.0090.00616.32
7.3.200.0120.00819.39
7.3.190.0030.01316.30
7.3.180.0070.01016.40
7.3.170.0180.00016.27
7.3.160.0070.01016.36
7.3.120.0040.01414.53
7.3.110.0030.01314.36
7.3.100.0040.00714.81
7.3.90.0060.00914.96
7.3.80.0030.01214.38
7.3.70.0100.01014.61
7.3.60.0110.00714.48
7.3.50.0000.01314.67
7.3.40.0040.01214.77
7.3.30.0090.00314.69
7.3.20.0070.00716.32
7.3.10.0250.00416.49
7.3.00.0190.00616.41
7.2.330.0150.00316.62
7.2.320.0110.00616.74
7.2.310.0110.00716.74
7.2.300.0090.00916.80
7.2.290.0100.00716.46
7.2.250.0160.00015.25
7.2.240.0060.01214.78
7.2.230.0000.01415.29
7.2.220.0060.00914.96
7.2.210.0030.01215.31
7.2.200.0150.00615.12
7.2.190.0100.00015.14
7.2.180.0080.00615.10
7.2.170.0060.00914.97
7.2.130.0100.00716.61
7.2.120.0140.00616.51
7.2.110.0190.01416.64
7.2.100.0300.00616.59
7.2.90.0250.00916.69
7.2.80.0170.00516.58
7.2.70.0130.01116.44
7.2.60.0130.00516.85
7.2.50.0120.00616.85
7.2.40.0090.00516.73
7.2.30.0100.00516.72
7.2.20.0050.01316.75
7.2.10.0100.00316.83
7.2.00.0080.00617.55
7.1.330.0000.01615.80
7.1.320.0040.01115.63
7.1.310.0090.00615.65
7.1.300.0070.00415.63
7.1.290.0050.00515.88
7.1.280.0060.00615.49
7.1.270.0040.01115.58
7.1.260.0030.01015.56
7.1.250.0080.00615.16
7.1.100.0030.00918.07
7.1.70.0090.00017.12
7.1.60.0060.01017.29
7.1.50.0060.01016.93
7.1.00.0000.07722.43
7.0.200.0000.01116.79
7.0.140.0000.07022.00
7.0.60.0030.04020.06
7.0.50.0170.07017.84
7.0.40.0100.08720.02
7.0.30.0570.06320.16
7.0.20.0030.05320.26
7.0.10.0230.05720.22
7.0.00.0130.07320.22
5.6.280.0030.07320.91
5.6.210.0100.08020.63
5.6.200.0030.04018.18
5.6.190.0070.05020.60
5.6.180.4100.04020.47
5.6.170.0130.08320.56
5.6.160.0170.08020.44
5.6.150.0070.08018.28
5.6.140.0100.07318.21
5.6.130.0100.04718.12
5.6.120.0030.04021.02
5.6.110.0130.07321.00
5.6.100.0100.04321.01
5.6.90.0000.04321.01
5.6.80.0130.05020.57
5.6.70.0300.07720.41
5.5.350.0300.07720.45
5.5.340.0030.04017.93
5.5.330.0030.04320.27
5.5.320.0270.04320.35
5.5.310.0230.05020.23
5.5.300.0070.04317.95
5.5.290.0070.05017.95
5.5.280.0130.07020.97
5.5.270.0070.08320.77
5.5.260.0030.04020.77
5.5.250.0100.07020.62
5.5.240.0230.06320.28
5.4.450.0070.07319.47
5.4.440.0070.07019.64
5.4.430.0130.06019.28
5.4.420.0270.04019.54
5.4.410.0230.04719.45
5.4.400.0130.05019.10
5.4.390.0170.05718.93
5.4.380.0170.06318.54
5.4.370.0200.05018.60
5.4.360.0200.05318.73
5.4.350.0100.07718.61
5.4.340.0270.05718.76
5.4.320.0200.06718.71
5.4.310.0230.05018.57
5.4.300.0230.05718.76
5.4.290.0170.06318.78
5.4.280.0230.06018.70
5.4.270.0300.05318.63
5.4.260.0200.05318.52
5.4.250.0230.07318.73
5.4.240.0300.04718.78
5.4.230.0270.05018.79
5.4.220.0270.06018.63
5.4.210.0200.05718.63
5.4.200.0100.06016.59
5.4.190.0370.05318.74
5.4.180.0200.06318.49
5.4.170.0200.06718.75
5.4.160.0230.04718.70
5.4.150.0270.05018.55
5.4.140.0030.06716.45
5.4.130.0170.05016.32
5.4.120.0130.05316.34
5.4.110.0200.05716.27
5.4.100.0130.05716.44
5.4.90.0200.04716.25
5.4.80.0170.05016.28
5.4.70.0170.05316.18
5.4.60.0170.05016.30
5.4.50.0030.06316.41
5.4.40.0030.06716.17
5.4.30.0300.05716.23
5.4.20.0200.06316.38
5.4.10.0170.05316.25
5.4.00.0230.04315.91
5.3.290.0170.05714.77
5.3.280.0230.05014.73
5.3.270.0200.06314.82
5.3.260.0430.06314.82
5.3.250.0230.05314.64
5.3.240.0330.04014.60
5.3.230.0200.05714.70
5.3.220.0300.04714.75
5.3.210.0270.05014.73
5.3.200.0270.05314.73
5.3.190.0330.06014.73
5.3.180.0200.05314.73
5.3.170.0270.06714.79
5.3.160.0300.05014.61
5.3.150.0170.05714.74
5.3.140.0130.06014.68
5.3.130.0300.05314.57
5.3.120.0170.07014.75
5.3.110.0270.06014.65
5.3.100.0400.03314.07
5.3.90.0170.06014.15
5.3.80.0270.04714.22
5.3.70.0300.06014.09
5.3.60.0130.06314.04
5.3.50.0270.05014.07
5.3.40.0300.05714.12
5.3.30.0270.04314.02
5.3.20.0200.04713.72
5.3.10.0170.05313.77
5.3.00.0170.05313.69
5.2.170.0270.03311.15
5.2.160.0170.04011.25
5.2.150.0170.04011.23
5.2.140.0230.03311.13
5.2.130.0130.04311.21
5.2.120.0170.05711.16
5.2.110.0170.04311.14
5.2.100.0100.05011.17
5.2.90.0200.04011.13
5.2.80.0030.05311.20
5.2.70.0130.04711.16
5.2.60.0070.05011.11
5.2.50.0330.02711.24
5.2.40.0200.04010.99
5.2.30.0100.04711.08
5.2.20.0130.04311.06
5.2.10.0170.06311.04
5.2.00.0170.05310.79
5.1.60.0170.03310.00
5.1.50.0070.04010.07
5.1.40.0200.0279.97
5.1.30.0070.05010.35
5.1.20.0230.03010.44
5.1.10.0170.03010.09
5.1.00.0130.04010.19
5.0.50.0170.0238.59
5.0.40.0000.0338.41
5.0.30.0070.0538.27
5.0.20.0100.0238.22
5.0.10.0030.0308.36
5.0.00.0130.0378.18
4.4.90.0070.0236.79
4.4.80.0070.0206.79
4.4.70.0000.0306.79
4.4.60.0100.0206.79
4.4.50.0100.0236.79
4.4.40.0070.0376.79
4.4.30.0030.0236.79
4.4.20.0030.0276.79
4.4.10.0030.0276.79
4.4.00.0070.0336.79
4.3.110.0000.0306.79
4.3.100.0070.0206.79
4.3.90.0070.0206.79
4.3.80.0130.0276.79
4.3.70.0130.0136.79
4.3.60.0070.0206.79
4.3.50.0030.0236.79
4.3.40.0100.0306.79
4.3.30.0030.0236.79
4.3.20.0030.0236.79
4.3.10.0000.0276.79
4.3.00.0130.0207.34

preferences:
58.26 ms | 400 KiB | 5 Q