3v4l.org

run code in 300+ PHP versions simultaneously
<?php class teste{ public function __construct(){ echo "executando construtor\n"; } public static function ola(){ echo "Metodo estático\n"; } } teste::ola();

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.4.10.0160.00017.63
8.3.140.0150.00416.45
8.3.130.0060.00318.39
8.3.120.0030.00620.75
8.3.110.0080.00020.94
8.3.100.0100.01016.48
8.3.90.0090.00026.77
8.3.80.0000.01118.18
8.3.70.0090.00618.15
8.3.60.0140.00316.63
8.3.50.0130.01222.12
8.3.40.0140.00718.70
8.3.30.0100.00319.05
8.3.20.0040.00420.16
8.3.10.0050.00223.65
8.3.00.0060.00319.26
8.2.260.0110.00316.42
8.2.250.0030.00518.41
8.2.240.0090.00616.98
8.2.230.0080.00022.58
8.2.220.0040.00424.06
8.2.210.0150.00326.77
8.2.200.0040.00418.29
8.2.190.0120.00616.58
8.2.180.0150.00018.16
8.2.170.0110.00419.01
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0030.00524.66
8.2.130.0050.00226.16
8.2.120.0120.00017.34
8.2.110.0090.00022.26
8.2.100.0120.00017.72
8.2.90.0040.00417.91
8.2.80.0040.00419.16
8.2.70.0060.00317.50
8.2.60.0030.00617.63
8.2.50.0050.00317.55
8.2.40.0080.00017.63
8.2.30.0000.00719.72
8.2.20.0080.00017.47
8.2.10.0040.00417.85
8.2.00.0060.00617.83
8.1.300.0090.00620.07
8.1.290.0060.00330.84
8.1.280.0120.00625.92
8.1.270.0090.00920.38
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.01023.97
8.1.230.0120.00022.67
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.00
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0040.00418.96
8.1.160.0040.00423.70
8.1.150.0000.00818.74
8.1.140.0050.00417.30
8.1.130.0030.00317.56
8.1.120.0070.00017.30
8.1.110.0030.00517.20
8.1.100.0040.00417.21
8.1.90.0000.00817.35
8.1.80.0000.00717.19
8.1.70.0000.00817.24
8.1.60.0040.00417.52
8.1.50.0040.00417.32
8.1.40.0040.00417.35
8.1.30.0060.00317.40
8.1.20.0000.00817.64
8.1.10.0040.00417.55
8.1.00.0080.00017.45
8.0.300.0000.00820.16
8.0.290.0040.00416.63
8.0.280.0000.00818.45
8.0.270.0000.00716.72
8.0.260.0000.00817.14
8.0.250.0030.00316.77
8.0.240.0000.00716.92
8.0.230.0000.00816.93
8.0.220.0000.00716.75
8.0.210.0040.00416.70
8.0.200.0040.00416.87
8.0.190.0000.00916.78
8.0.180.0070.00016.89
8.0.170.0000.00816.78
8.0.160.0040.00416.80
8.0.150.0000.00716.63
8.0.140.0080.00016.60
8.0.130.0000.00613.22
8.0.120.0030.00516.70
8.0.110.0040.00416.73
8.0.100.0040.00416.78
8.0.90.0030.00516.87
8.0.80.0120.00616.68
8.0.70.0040.00416.65
8.0.60.0000.00716.59
8.0.50.0070.00016.62
8.0.30.0080.01116.82
8.0.20.0100.00717.40
8.0.10.0070.00016.84
8.0.00.0080.01116.74
7.4.330.0020.00215.04
7.4.320.0000.00616.38
7.4.300.0040.00416.32
7.4.290.0030.00316.46
7.4.280.0030.00516.52
7.4.270.0050.00216.54
7.4.260.0040.00416.37
7.4.250.0000.00716.39
7.4.240.0050.00216.36
7.4.230.0030.00316.23
7.4.220.0040.00416.50
7.4.210.0090.00616.55
7.4.200.0030.00516.45
7.4.160.0060.00916.50
7.4.150.0030.01417.40
7.4.140.0100.01417.86
7.4.130.0070.01216.38
7.4.120.0090.00916.45
7.4.110.0110.00716.29
7.4.100.0100.01416.42
7.4.90.0100.00716.44
7.4.80.0090.00919.39
7.4.70.0120.00616.39
7.4.60.0140.00316.38
7.4.50.0050.00316.46
7.4.40.0120.00616.61
7.4.30.0070.01016.33
7.4.10.0040.01215.21
7.4.00.0100.00514.91
7.3.330.0000.00613.09
7.3.320.0000.00613.09
7.3.310.0050.00316.12
7.3.300.0030.00316.11
7.3.290.0060.01016.20
7.3.280.0090.00916.25
7.3.270.0320.01317.40
7.3.260.0030.01416.57
7.3.250.0050.01316.24
7.3.240.0120.00616.42
7.3.230.0130.00316.48
7.3.210.0090.00816.45
7.3.200.0090.00919.39
7.3.190.0090.00616.17
7.3.180.0120.00616.42
7.3.170.0100.01316.40
7.3.160.0030.01316.38
7.3.130.0060.01314.64
7.3.120.0090.00914.73
7.3.110.0080.01114.98
7.3.100.0030.01214.48
7.3.90.0090.00614.89
7.3.80.0040.00814.66
7.3.70.0030.01414.71
7.3.60.0100.00314.69
7.3.50.0030.00614.59
7.3.40.0060.00314.83
7.3.30.0040.00714.73
7.3.20.0030.01016.59
7.3.10.0030.01016.52
7.3.00.0060.01016.52
7.2.330.0100.00916.31
7.2.320.0130.01016.51
7.2.310.0070.01016.65
7.2.300.0130.00316.29
7.2.290.0140.01016.36
7.2.260.0030.01615.09
7.2.250.0070.01015.07
7.2.240.0100.00714.66
7.2.230.0000.01014.49
7.2.220.0090.00614.83
7.2.210.0100.00314.85
7.2.200.0100.00314.87
7.2.190.0060.00614.83
7.2.180.0030.00914.95
7.2.170.0030.01414.64
7.2.160.0170.00014.77
7.2.150.0070.00716.93
7.2.140.0030.00616.62
7.2.130.0030.01316.88
7.2.120.0070.00616.82
7.2.110.0050.00516.82
7.2.100.0080.00816.91
7.2.90.0100.00616.85
7.2.80.0090.00916.83
7.2.70.0120.00316.99
7.2.60.0000.00916.82
7.2.50.0120.00316.49
7.2.40.0000.00916.82
7.2.30.0090.00016.84
7.2.20.0040.01116.61
7.2.10.0030.01316.98
7.2.00.0030.01016.94
7.1.330.0070.00715.72
7.1.320.0000.01215.74
7.1.310.0000.00915.88
7.1.300.0030.01215.69
7.1.290.0030.00615.32
7.1.280.0040.00415.71
7.1.270.0030.00715.33
7.1.260.0030.01015.81
7.1.250.0070.01115.39
7.1.240.0080.00415.71
7.1.230.0080.00515.61
7.1.220.0040.00715.54
7.1.210.0100.00715.54
7.1.200.0120.00615.73
7.1.190.0060.00315.56
7.1.180.0000.01215.79
7.1.170.0070.00715.69
7.1.160.0060.00615.73
7.1.150.0110.00415.58
7.1.140.0000.00915.71
7.1.130.0070.00715.77
7.1.120.0060.00615.58
7.1.110.0030.00515.70
7.1.100.0000.00815.51
7.1.90.0060.00615.75
7.1.80.0040.00415.81
7.1.70.0060.00316.32
7.1.60.0090.00817.55
7.1.50.0080.01116.34
7.1.40.0030.00615.43
7.1.30.0110.00415.63
7.1.20.0040.00415.36
7.1.10.0080.00615.61
7.1.00.0030.04118.84
7.0.330.0100.00715.23
7.0.320.0000.01315.30
7.0.310.0000.01215.31
7.0.300.0030.00915.18
7.0.290.0060.00615.24
7.0.280.0030.00615.06
7.0.270.0030.00615.09
7.0.260.0000.01215.16
7.0.250.0060.00315.43
7.0.240.0030.01015.14
7.0.230.0060.00615.21
7.0.220.0040.00415.32
7.0.210.0030.01015.02
7.0.200.0020.00715.87
7.0.190.0100.00615.39
7.0.180.0030.00715.23
7.0.170.0060.01015.32
7.0.160.0100.00315.39
7.0.150.0100.00314.98
7.0.140.0030.01415.36
7.0.130.0030.01015.40
7.0.120.0030.00615.15
7.0.110.0030.01315.28
7.0.100.0070.00715.12
7.0.90.0030.01315.27
7.0.80.0030.00715.27
7.0.70.0060.00615.30
7.0.60.0090.04517.55
7.0.50.0070.03816.62
7.0.40.0030.04516.63
7.0.30.0300.03716.84
7.0.20.0200.03216.85
7.0.10.0170.02916.84
7.0.00.0080.03516.63
5.6.400.0100.00714.29
5.6.390.0060.00914.29
5.6.380.0040.01113.96
5.6.370.0090.00614.12
5.6.360.0000.01514.44
5.6.350.0090.00314.45
5.6.340.0040.01214.45
5.6.330.0060.00614.06
5.6.320.0100.00314.20
5.6.310.0060.00614.48
5.6.300.0030.01314.56
5.6.290.0090.00914.38
5.6.280.0050.04117.57
5.6.270.0030.01214.58
5.6.260.0120.00614.32
5.6.250.0000.01414.18
5.6.240.0090.00614.23
5.6.230.0060.00614.18
5.6.220.0060.00914.34
5.6.210.0120.03717.45
5.6.200.0110.04016.21
5.6.190.0070.04417.44
5.6.180.1940.02317.24
5.6.170.0170.04317.31
5.6.160.0050.02417.34
5.6.150.0050.04216.23
5.6.140.0050.02416.29
5.6.130.0070.04216.23
5.6.120.0050.02917.72
5.6.110.0120.03917.63
5.6.100.0070.04017.66
5.6.90.0130.03817.52
5.6.80.0070.04417.38
5.6.70.0280.02817.31
5.6.60.0040.01114.25
5.6.50.0000.01413.78
5.6.40.0040.01214.13
5.6.30.0030.01014.24
5.6.20.0030.00813.80
5.6.10.0070.00714.43
5.6.00.0000.01314.32
5.5.380.0040.00714.28
5.5.370.0100.00314.18
5.5.360.0070.00713.77
5.5.350.0170.02217.19
5.5.340.0120.03016.07
5.5.330.0070.02817.26
5.5.320.0230.04017.15
5.5.310.0220.02817.22
5.5.300.0080.02016.08
5.5.290.0120.03816.08
5.5.280.0080.04217.47
5.5.270.0070.04417.41
5.5.260.0080.04517.51
5.5.250.0020.04917.34
5.5.240.0160.04317.14
5.5.230.0090.00313.84
5.5.220.0120.00613.65
5.5.210.0030.01614.17
5.5.200.0140.00413.79
5.5.190.0070.01013.98
5.5.180.0110.00713.86
5.5.170.0110.00813.81
5.5.160.0120.00413.92
5.5.150.0030.01314.27
5.5.140.0080.00813.58
5.5.130.0040.01514.12
5.5.120.0060.00613.68
5.5.110.0060.00614.12
5.5.100.0070.00714.02
5.5.90.0040.01113.96
5.5.80.0070.00314.30
5.5.70.0030.01014.16
5.5.60.0140.00013.97
5.5.50.0070.01113.76
5.5.40.0030.00714.17
5.5.30.0060.00914.25
5.5.20.0050.00513.79
5.5.10.0050.00514.10
5.5.00.0030.01013.91
5.4.450.0350.03715.31
5.4.440.0500.03715.07
5.4.430.0300.03215.13
5.4.420.0400.02715.10
5.4.410.0300.03515.13
5.4.400.0350.02814.95
5.4.390.0410.02814.91
5.4.380.0440.02914.96
5.4.370.0450.02814.96
5.4.360.0320.03214.99
5.4.350.0430.02215.03
5.4.340.0390.02814.98
5.4.330.0060.00610.63
5.4.320.0380.03314.83
5.4.310.0410.02915.05
5.4.300.0410.03014.89
5.4.290.0320.03715.06
5.4.280.0500.03815.13
5.4.270.0430.03315.15
5.4.260.0280.03315.15
5.4.250.0410.03515.03
5.4.240.0430.03515.08
5.4.230.0280.03414.86
5.4.220.0420.02715.03
5.4.210.0350.03115.11
5.4.200.0400.03813.94
5.4.190.0440.02315.08
5.4.180.0420.03514.87
5.4.170.0530.03515.16
5.4.160.0520.04015.06
5.4.150.0590.03514.91
5.4.140.0480.02513.63
5.4.130.0500.02913.56
5.4.120.0470.03413.82
5.4.110.0450.02813.77
5.4.100.0520.02613.85
5.4.90.0400.03313.54
5.4.80.0500.02613.77
5.4.70.0510.03013.72
5.4.60.0420.02913.56
5.4.50.0450.02913.69
5.4.40.0470.03013.51
5.4.30.0410.02613.56
5.4.20.0400.02313.48
5.4.10.0500.02313.48
5.4.00.0480.02513.51
5.3.290.0630.06014.82
5.3.280.0870.05014.55
5.3.270.0730.06014.51
5.3.260.0900.05714.61
5.3.250.0800.06014.54
5.3.240.0730.05714.63
5.3.230.0830.05714.76
5.3.220.0800.05014.54
5.3.210.0830.06014.73
5.3.200.0870.05714.61
5.3.190.0700.06014.50
5.3.180.0830.05714.48
5.3.170.0730.07714.49
5.3.160.0770.05314.63
5.3.150.0900.04714.46
5.3.140.0670.05314.57
5.3.130.0830.05014.60
5.3.120.0900.05714.57
5.3.110.0730.06714.47
5.3.100.0870.05013.95
5.3.90.0870.05014.05
5.3.80.0700.06014.08
5.3.70.0800.06014.13
5.3.60.0830.05013.96
5.3.50.0730.06313.85
5.3.40.0830.04713.90
5.3.30.0770.05013.84
5.3.20.0730.04713.68
5.3.10.0800.06013.62
5.3.00.0900.04713.50
5.2.170.0670.04011.15
5.2.160.0630.04711.02
5.2.150.0570.04011.31
5.2.140.0700.04311.13
5.2.130.0800.04711.18
5.2.120.0830.05011.16
5.2.110.0570.03711.17
5.2.100.0700.04311.09
5.2.90.0630.04311.09
5.2.80.0770.05011.25
5.2.70.0730.04310.99
5.2.60.0630.04011.05
5.2.50.0730.04011.14
5.2.40.0470.04010.96
5.2.30.0570.04310.92
5.2.20.0630.05310.92
5.2.10.0570.04710.82
5.2.00.0630.04310.67
5.1.60.0500.04010.00
5.1.50.0470.0379.93
5.1.40.0630.0309.96
5.1.30.0630.04010.19
5.1.20.0530.03710.35
5.1.10.0500.0479.99
5.1.00.0570.03010.00
5.0.50.0370.0238.58
5.0.40.0270.0338.52
5.0.30.0270.0478.28
5.0.20.0330.0238.12
5.0.10.0300.0278.31
5.0.00.0170.0508.16
4.4.90.0330.0175.91
4.4.80.0230.0235.86
4.4.70.0270.0235.82
4.4.60.0300.0205.89
4.4.50.0230.0205.78
4.4.40.0170.0405.84
4.4.30.0200.0205.87
4.4.20.0230.0235.93
4.4.10.0330.0175.83
4.4.00.0230.0335.93
4.3.110.0270.0235.69
4.3.100.0200.0235.78
4.3.90.0300.0175.73
4.3.80.0270.0375.79
4.3.70.0300.0205.75
4.3.60.0300.0175.66
4.3.50.0300.0305.78
4.3.40.0270.0375.71
4.3.30.0200.0234.60
4.3.20.0130.0274.51
4.3.10.0130.0234.46
4.3.00.0170.0207.02

preferences:
17.49 ms | 403 KiB | 5 Q