3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Landing; class Landing { public $a = 'lol'; } namespace Stats; class Landing { public $a = 'test'; } $landingA = new \Landing\Landing(); $landingB = new \Stats\Landing(); var_dump($landingA->a); var_dump($landingB->a);

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.90.0050.00326.77
8.3.80.0070.00317.97
8.3.70.0150.00016.38
8.3.60.0150.00316.36
8.3.50.0100.01022.03
8.3.40.0090.00618.72
8.3.30.0110.00418.59
8.3.20.0070.00020.39
8.3.10.0040.00418.52
8.3.00.0000.00818.53
8.2.210.0070.00726.77
8.2.200.0070.00318.54
8.2.190.0100.01316.63
8.2.180.0110.00316.38
8.2.170.0000.01422.96
8.2.160.0100.00320.52
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0060.00319.23
8.2.120.0050.00226.35
8.2.110.0100.00022.12
8.2.100.0080.00317.72
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0040.00417.93
8.2.50.0050.00318.09
8.2.40.0050.00320.23
8.2.30.0000.00719.50
8.2.20.0040.00417.54
8.2.10.0040.00418.11
8.2.00.0030.00518.04
8.1.290.0080.00430.84
8.1.280.0150.00325.92
8.1.270.0040.00423.87
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0060.00323.75
8.1.230.0000.01019.17
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0050.00318.59
8.1.160.0070.00021.00
8.1.150.0090.00018.71
8.1.140.0020.00519.50
8.1.130.0000.00717.64
8.1.120.0000.00817.43
8.1.110.0030.00517.38
8.1.100.0020.00517.30
8.1.90.0000.00717.30
8.1.80.0000.00717.43
8.1.70.0030.00317.40
8.1.60.0060.00317.54
8.1.50.0030.00517.51
8.1.40.0000.00817.44
8.1.30.0030.00517.45
8.1.20.0040.00417.43
8.1.10.0000.00717.41
8.1.00.0000.00817.51
8.0.300.0000.00719.09
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0000.00817.26
8.0.260.0040.00417.20
8.0.250.0030.00316.96
8.0.240.0030.00316.80
8.0.230.0100.00016.93
8.0.220.0040.00416.91
8.0.210.0070.00016.74
8.0.200.0000.00616.88
8.0.190.0110.00016.95
8.0.180.0030.00716.89
8.0.170.0090.00016.85
8.0.160.0070.00016.89
8.0.150.0000.00716.67
8.0.140.0080.00016.67
8.0.130.0030.00313.28
8.0.120.0080.00016.78
8.0.110.0070.00016.88
8.0.100.0000.00816.68
8.0.90.0000.00716.79
8.0.80.0070.00716.80
8.0.70.0040.00416.65
8.0.60.0040.00416.66
8.0.50.0030.00516.73
8.0.30.0120.00517.11
8.0.20.0100.01017.40
8.0.10.0040.00416.93
8.0.00.0040.01416.72
7.4.330.0000.00415.08
7.4.320.0000.00616.50
7.4.300.0000.00616.49
7.4.290.0000.00816.55
7.4.280.0040.00416.54
7.4.270.0070.00016.49
7.4.260.0040.00716.40
7.4.250.0000.00816.56
7.4.240.0030.00516.51
7.4.230.0070.00016.48
7.4.220.0140.00416.52
7.4.210.0100.01016.56
7.4.200.0000.00716.58
7.4.160.0030.01416.39
7.4.150.0130.00617.40
7.4.140.0080.01117.86
7.4.130.0120.00516.53
7.4.120.0080.00816.39
7.4.110.0090.00916.65
7.4.100.0120.00616.43
7.4.90.0100.00716.46
7.4.80.0070.01019.39
7.4.70.0100.00716.48
7.4.60.0080.00816.42
7.4.50.0060.00616.36
7.4.40.0100.00716.49
7.4.30.0070.01016.54
7.4.00.0040.01214.75
7.3.330.0000.00613.23
7.3.320.0030.00313.26
7.3.310.0030.00316.40
7.3.300.0030.00316.29
7.3.290.0080.00916.24
7.3.280.0070.01316.23
7.3.270.0040.01517.40
7.3.260.0170.00616.29
7.3.250.0100.00916.38
7.3.240.0050.01216.41
7.3.230.0130.00316.39
7.3.210.0130.01016.51
7.3.200.0130.00619.39
7.3.190.0060.01016.39
7.3.180.0100.01216.17
7.3.170.0090.00716.21
7.3.160.0060.00916.21
7.3.120.0110.00714.78
7.3.110.0060.00914.60
7.3.100.0040.00914.92
7.3.90.0070.00714.71
7.3.80.0030.01014.61
7.3.70.0000.01114.67
7.3.60.0070.00714.59
7.3.50.0070.00214.73
7.3.40.0040.01014.78
7.3.30.0080.00414.56
7.3.20.0080.00216.51
7.3.10.0060.00516.55
7.3.00.0070.00516.45
7.2.330.0090.00916.67
7.2.320.0120.00616.41
7.2.310.0090.01516.29
7.2.300.0040.01416.69
7.2.290.0140.00316.41
7.2.250.0080.01014.98
7.2.240.0080.01114.79
7.2.230.0060.00914.93
7.2.220.0000.01115.01
7.2.210.0020.01114.76
7.2.200.0030.01014.99
7.2.190.0050.01214.99
7.2.180.0050.01215.03
7.2.170.0050.00814.80
7.2.160.0100.00314.93
7.2.150.0030.00716.59
7.2.140.0130.00316.41
7.2.130.0070.00816.81
7.2.120.0060.00816.84
7.2.110.0050.00916.88
7.2.100.0070.00616.64
7.2.90.0060.00816.63
7.2.80.0070.00816.70
7.2.70.0080.00516.68
7.2.60.0100.00616.49
7.2.50.0090.00416.61
7.2.40.0080.00716.79
7.2.30.0090.00516.77
7.2.20.0070.00516.60
7.2.10.0070.00716.65
7.2.00.0050.00717.38
7.1.330.0050.01215.61
7.1.320.0080.00315.62
7.1.310.0050.00415.36
7.1.300.0040.01215.51
7.1.290.0020.01115.58
7.1.280.0060.00615.58
7.1.270.0040.00915.78
7.1.260.0100.00615.55
7.1.250.0060.00615.67
7.1.240.0060.00615.44
7.1.230.0050.00915.64
7.1.220.0070.00215.43
7.1.210.0090.00715.34
7.1.200.0040.00715.56
7.1.190.0070.00815.43
7.1.180.0090.00315.62
7.1.170.0070.00715.55
7.1.160.0060.01015.51
7.1.150.0060.00815.49
7.1.140.0050.00715.53
7.1.130.0050.01115.35
7.1.120.0080.00515.52
7.1.110.0060.00915.58
7.1.100.0040.00916.35
7.1.90.0070.00615.54
7.1.80.0020.01215.61
7.1.70.0040.00616.04
7.1.60.0080.00816.88
7.1.50.0090.00515.62
7.1.40.0060.00715.46
7.1.30.0070.00715.43
7.1.20.0100.00815.54
7.1.10.0070.00715.48
7.1.00.0050.02917.92
7.0.330.0040.00715.24
7.0.320.0040.00715.26
7.0.310.0090.00715.14
7.0.300.0080.00715.08
7.0.290.0080.00615.28
7.0.280.0110.00515.25
7.0.270.0070.00815.30
7.0.260.0130.00315.17
7.0.250.0030.00915.29
7.0.240.0060.00715.30
7.0.230.0060.00615.03
7.0.220.0100.00615.27
7.0.210.0100.00715.23
7.0.200.0070.00515.67
7.0.190.0110.00615.12
7.0.180.0080.00815.17
7.0.170.0070.00615.18
7.0.160.0110.00015.25
7.0.150.0060.00815.27
7.0.140.0050.00715.34
7.0.130.0080.00615.20
7.0.120.0060.00915.39
7.0.110.0030.01015.27
7.0.100.0070.00515.25
7.0.90.0060.00915.08
7.0.80.0110.00515.22
7.0.70.0090.00315.22
7.0.60.0140.02916.67
7.0.50.0060.03216.13
7.0.40.0060.01815.58
7.0.30.0170.01315.61
7.0.20.0100.03515.65
7.0.10.0020.02215.47
7.0.00.0060.02415.59
5.6.400.0030.00814.17
5.6.390.0030.00614.32
5.6.380.0050.00714.12
5.6.370.0050.00614.43
5.6.360.0090.00414.27
5.6.350.0060.00614.04
5.6.340.0040.00814.30
5.6.330.0030.00614.18
5.6.320.0030.00614.37
5.6.310.0030.00914.26
5.6.300.0100.00514.36
5.6.290.0020.00914.20
5.6.280.0080.02616.43
5.6.270.0070.00314.25
5.6.260.0070.00314.20
5.6.250.0030.01014.48
5.6.240.0020.01314.07
5.6.230.0020.01214.17
5.6.220.0040.00614.14
5.6.210.0040.03316.40
5.6.200.0070.03215.39
5.6.190.0050.01816.28
5.6.180.0090.03116.07
5.6.170.0100.03216.09
5.6.160.0030.03216.19
5.6.150.0060.03115.44
5.6.140.0070.03415.42
5.6.130.0070.03015.49
5.6.120.0080.03316.52
5.6.110.0040.02816.45
5.6.100.0070.03416.32
5.6.90.0040.02016.37
5.6.80.0030.03616.26
5.6.70.0070.00613.99
5.6.60.0040.00913.97
5.6.50.0040.01113.93
5.6.40.0070.00613.92
5.6.30.0060.00614.13
5.6.20.0080.00513.90
5.6.10.0080.00614.10
5.6.00.0060.00813.91
5.5.380.0020.01112.56
5.5.370.0070.00312.60
5.5.360.0020.00912.57
5.5.350.0160.02815.11
5.5.340.0080.02414.42
5.5.330.0130.02315.32
5.5.320.0110.01815.21
5.5.310.0110.02115.11
5.5.300.0040.01914.44
5.5.290.0070.03214.20
5.5.280.0080.03015.23
5.5.270.0050.01915.24
5.5.260.0070.03115.17
5.5.250.0050.02115.26
5.5.240.0100.02614.98
5.5.230.0050.00712.33
5.5.220.0080.00612.32
5.5.210.0050.01012.54
5.5.200.0050.00712.36
5.5.190.0070.00312.48
5.5.180.0050.00812.19
5.5.170.0080.00212.52
5.5.160.0090.00512.40
5.5.150.0020.00812.48
5.5.140.0050.00512.54
5.5.130.0030.00912.60
5.5.120.0070.00512.54
5.5.110.0050.00712.40
5.5.100.0040.00612.49
5.5.90.0070.00512.49
5.5.80.0030.00812.37
5.5.70.0020.00712.57
5.5.60.0030.00712.40
5.5.50.0020.01012.37
5.5.40.0020.01012.51
5.5.30.0050.00412.38
5.5.20.0060.00212.67
5.5.10.0030.00312.43
5.5.00.0060.00412.37

preferences:
28.25 ms | 401 KiB | 5 Q