3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Legumes { class Batata { } } // volta p global namespace { $classe = 'Batata'; // Cuidado especial com a barra invertida, ela é utilizada como escape $fqn = "\\Legumes\\{$classe}"; $instance = new $fqn; var_dump($instance); }

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.0000.01017.47
8.3.140.0070.00716.65
8.3.130.0090.00017.00
8.3.120.0130.00720.55
8.3.110.0060.00320.94
8.3.100.0130.00624.06
8.3.90.0040.00726.77
8.3.80.0090.00018.18
8.3.70.0090.01216.61
8.3.60.0140.00716.50
8.3.50.0090.01022.01
8.3.40.0100.01018.82
8.3.30.0070.00718.32
8.3.20.0000.00720.34
8.3.10.0050.00323.53
8.3.00.0080.00022.58
8.2.250.0080.00016.79
8.2.240.0080.00016.97
8.2.230.0150.00022.58
8.2.220.0100.00737.54
8.2.210.0030.01226.77
8.2.200.0030.00618.17
8.2.190.0030.01718.20
8.2.180.0180.00016.50
8.2.170.0120.00922.96
8.2.160.0090.00919.42
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0000.00822.23
8.2.120.0000.00726.35
8.2.110.0030.00621.05
8.2.100.0080.00417.72
8.2.90.0040.00419.22
8.2.80.0080.00017.97
8.2.70.0050.00317.46
8.2.60.0060.00318.03
8.2.50.0060.00318.10
8.2.40.0000.00820.45
8.2.30.0060.00319.34
8.2.20.0000.00717.69
8.2.10.0000.00718.00
8.2.00.0030.00617.56
8.1.300.0060.00316.14
8.1.290.0000.00930.84
8.1.280.0040.01125.92
8.1.270.0040.00423.92
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0070.00420.31
8.1.220.0000.00717.76
8.1.210.0050.00318.77
8.1.200.0000.00917.23
8.1.190.0000.00917.40
8.1.180.0000.00918.10
8.1.170.0040.00418.65
8.1.160.0000.00722.14
8.1.150.0000.00718.79
8.1.140.0000.00819.49
8.1.130.0000.00717.69
8.1.120.0000.00717.34
8.1.110.0070.00017.36
8.1.100.0040.00417.32
8.1.90.0050.00317.27
8.1.80.0030.00317.39
8.1.70.0070.00017.38
8.1.60.0000.00717.49
8.1.50.0050.00317.34
8.1.40.0060.00517.35
8.1.30.0000.00817.61
8.1.20.0040.00417.49
8.1.10.0040.00417.64
8.1.00.0080.00017.40
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.49
8.0.270.0030.00317.30
8.0.260.0030.00317.39
8.0.250.0000.00717.00
8.0.240.0000.00816.96
8.0.230.0040.00416.97
8.0.220.0030.00316.91
8.0.210.0030.00316.89
8.0.200.0000.00616.93
8.0.190.0040.00416.84
8.0.180.0000.00816.81
8.0.170.0050.00316.90
8.0.160.0050.00216.84
8.0.150.0030.00316.76
8.0.140.0030.00316.89
8.0.130.0000.00513.21
8.0.120.0040.00416.90
8.0.110.0050.00316.72
8.0.100.0070.00016.77
8.0.90.0040.00416.77
8.0.80.0100.00716.81
8.0.70.0000.00816.89
8.0.60.0050.00216.89
8.0.50.0040.00416.65
8.0.30.0120.00617.17
8.0.20.0140.00717.40
8.0.10.0080.00016.84
8.0.00.0030.01416.80
7.4.330.0050.00016.67
7.4.320.0020.00516.46
7.4.300.0000.00716.46
7.4.290.0000.00816.39
7.4.280.0000.00816.52
7.4.270.0080.00016.47
7.4.260.0080.00016.45
7.4.250.0050.00316.43
7.4.240.0030.00616.47
7.4.230.0030.00316.24
7.4.220.0090.00916.54
7.4.210.0100.00616.44
7.4.200.0000.00716.55
7.4.160.0050.01116.39
7.4.150.0130.00717.40
7.4.140.0130.00817.86
7.4.130.0090.00816.58
7.4.120.0160.00116.41
7.4.110.0110.01116.55
7.4.100.0000.01716.35
7.4.90.0040.01316.52
7.4.80.0110.01019.39
7.4.70.0160.00316.54
7.4.60.0140.00716.50
7.4.50.0100.00716.18
7.4.40.0060.00916.66
7.4.30.0100.00616.36
7.4.00.0120.00314.69
7.3.330.0030.00313.20
7.3.320.0060.00013.10
7.3.310.0080.00016.21
7.3.300.0070.00016.29
7.3.290.0100.00516.25
7.3.280.0070.01016.20
7.3.270.0130.01317.40
7.3.260.0130.00316.29
7.3.250.0100.00916.38
7.3.240.0140.00516.22
7.3.230.0230.00016.39
7.3.210.0000.01616.49
7.3.200.0070.01016.66
7.3.190.0110.00716.48
7.3.180.0060.01016.34
7.3.170.0110.00616.45
7.3.160.0110.01116.24
7.3.120.0030.01214.52
7.3.110.0070.00714.96
7.3.100.0090.00314.73
7.3.90.0000.01414.48
7.3.80.0000.01514.55
7.3.70.0070.00314.58
7.3.60.0030.01014.41
7.3.50.0120.00314.76
7.3.40.0030.01514.88
7.3.30.0070.01014.89
7.3.20.0100.00716.61
7.3.10.0110.00016.76
7.3.00.0000.01116.64
7.2.330.0060.01216.62
7.2.320.0030.01316.48
7.2.310.0080.00816.73
7.2.300.0120.00416.39
7.2.290.0100.00716.44
7.2.240.0040.01115.12
7.2.230.0040.01515.07
7.2.220.0030.01315.18
7.2.210.0090.00614.53
7.2.200.0100.00714.96
7.2.190.0040.00814.65
7.2.180.0040.01114.99
7.2.170.0040.01115.12
7.2.160.0070.00714.88
7.2.150.0040.01116.82
7.2.140.0090.00616.77
7.2.130.0040.01416.70
7.2.120.0030.00916.92
7.2.110.0040.01116.55
7.2.100.0070.01116.58
7.2.90.0110.00616.90
7.2.80.0000.01216.93
7.2.70.0110.00716.69
7.2.60.0100.00516.79
7.2.50.0120.00016.74
7.2.40.0140.00316.96
7.2.30.0060.00916.79
7.2.20.0030.00916.96
7.2.10.0060.00916.90
7.2.00.0040.00818.03
7.1.330.0040.01216.05
7.1.320.0090.00615.91
7.1.310.0030.00915.90
7.1.300.0100.00315.77
7.1.290.0070.01015.76
7.1.280.0090.00315.69
7.1.270.0040.00815.73
7.1.260.0110.00415.54
7.1.250.0090.00615.80
7.1.200.0050.00515.71
7.1.70.0030.00617.20
7.1.60.0040.00717.23
7.1.00.0100.07022.29
7.0.200.0070.00714.77
7.0.110.0400.05720.03
7.0.100.0430.05319.95
7.0.90.0430.07020.06
7.0.80.0500.05719.91
7.0.70.0970.08019.93
7.0.60.0400.09020.00
7.0.50.0400.06020.43
7.0.40.0230.07320.39
7.0.30.0700.09020.45
7.0.20.0630.07720.16
7.0.10.0430.07020.22
7.0.00.0570.07320.14
5.6.260.0230.05720.68
5.6.250.0070.06020.50
5.6.240.0200.07320.56
5.6.230.0130.07320.47
5.6.220.0130.08020.65
5.6.210.0230.06020.63
5.6.200.0200.06321.03
5.6.190.0100.06021.19
5.6.180.0130.07021.05
5.6.170.0230.07021.08
5.6.160.0270.07021.21
5.6.150.0230.07020.87
5.6.140.0200.05721.26
5.6.130.0230.06021.11
5.6.120.0170.08021.12
5.6.110.0230.07721.11
5.6.100.0230.06721.25
5.6.90.0070.07720.93
5.6.80.0130.05720.52
5.6.70.0170.06320.46
5.6.60.0200.05720.55
5.6.50.0130.06020.25
5.6.40.0130.06320.23
5.6.30.0170.07020.32
5.6.20.0170.06320.56
5.6.10.0170.06020.57
5.6.00.0030.08320.39

preferences:
32.78 ms | 403 KiB | 5 Q