3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Teste\A; const teste = 'abc'; class A { public function __toString(){ return 'teste'; } } echo Teste\A\teste;

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.130.0080.00018.46
8.3.120.0070.00519.05
8.3.110.0070.00320.94
8.3.100.0050.00516.92
8.3.90.0050.00318.57
8.3.80.0030.00618.40
8.3.70.0110.00416.50
8.3.60.0070.01418.68
8.3.50.0160.00621.09
8.3.40.0000.01418.74
8.3.30.0070.00718.92
8.3.20.0080.00020.18
8.3.10.0040.00423.61
8.3.00.0020.00519.38
8.2.250.0040.00416.55
8.2.240.0060.00316.93
8.2.230.0030.00622.58
8.2.220.0030.00624.06
8.2.210.0040.01126.77
8.2.200.0060.00318.36
8.2.190.0060.01216.58
8.2.180.0100.01016.50
8.2.170.0040.01122.96
8.2.160.0060.00920.10
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0100.00319.24
8.2.110.0060.00322.18
8.2.100.0090.00317.63
8.2.90.0000.00719.17
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0050.00319.89
8.2.30.0000.00818.10
8.2.20.0000.00817.75
8.2.10.0050.00317.97
8.2.00.0000.00817.70
8.1.300.0060.00318.29
8.1.290.0050.00518.88
8.1.280.0090.00625.92
8.1.270.0060.00323.97
8.1.260.0050.00226.35
8.1.250.0030.00528.09
8.1.240.0050.00523.93
8.1.230.0070.00719.01
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0090.00017.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0000.00918.64
8.1.160.0040.00421.91
8.1.150.0040.00418.78
8.1.140.0040.00417.42
8.1.130.0000.00717.66
8.1.120.0070.00017.25
8.1.110.0090.00017.34
8.1.100.0000.00717.35
8.1.90.0070.00017.41
8.1.80.0000.00717.28
8.1.70.0050.00217.34
8.1.60.0000.00917.52
8.1.50.0000.00817.34
8.1.40.0040.00417.30
8.1.30.0050.00317.55
8.1.20.0030.00617.62
8.1.10.0040.00417.50
8.1.00.0000.00917.30
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.47
8.0.270.0000.00717.13
8.0.260.0000.00617.30
8.0.250.0070.00017.03
8.0.240.0070.00016.96
8.0.230.0040.00417.02
8.0.220.0000.00716.92
8.0.210.0080.00016.84
8.0.200.0040.00417.05
8.0.190.0070.00016.89
8.0.180.0050.00316.92
8.0.170.0000.00916.83
8.0.160.0030.00517.00
8.0.150.0070.00017.01
8.0.140.0040.00416.89
8.0.130.0060.00013.39
8.0.120.0000.00716.91
8.0.110.0000.00717.02
8.0.100.0040.00416.89
8.0.90.0040.00416.89
8.0.80.0120.00616.94
8.0.70.0040.00416.86
8.0.60.0000.00717.02
8.0.50.0040.00416.80
8.0.30.0130.00717.08
8.0.20.0090.01117.40
8.0.10.0070.00017.11
8.0.00.0080.01016.67
7.4.330.0060.00015.13
7.4.320.0080.00016.34
7.4.300.0060.00016.34
7.4.290.0040.00416.44
7.4.280.0050.00316.54
7.4.270.0060.00016.36
7.4.260.0000.00716.49
7.4.250.0040.00416.39
7.4.240.0020.00516.55
7.4.230.0000.00716.63
7.4.220.0070.01016.36
7.4.210.0030.01016.61
7.4.200.0000.00716.43
7.4.160.0060.01016.41
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0080.01016.52
7.4.120.0140.00316.53
7.4.110.0080.00816.40
7.4.100.0140.00316.63
7.4.90.0130.00316.54
7.4.80.0120.00619.39
7.4.70.0090.01216.38
7.4.60.0130.00316.34
7.4.50.0040.00416.12
7.4.40.0100.00616.64
7.4.30.0150.00016.45
7.4.00.0110.00415.26
7.3.330.0050.00013.27
7.3.320.0020.00213.25
7.3.310.0000.00716.25
7.3.300.0000.00616.14
7.3.290.0060.01016.28
7.3.280.0050.01216.31
7.3.270.0070.01117.40
7.3.260.0140.00316.59
7.3.250.0130.00516.40
7.3.240.0150.00916.36
7.3.230.0060.01116.49
7.3.210.0120.00616.37
7.3.200.0090.00619.39
7.3.190.0130.00316.49
7.3.180.0060.01016.30
7.3.170.0060.01016.27
7.3.160.0060.00916.55
7.2.330.0090.00916.80
7.2.320.0070.01016.57
7.2.310.0120.01116.72
7.2.300.0060.01216.77
7.2.290.0090.01216.37
7.2.60.0070.00716.90
7.2.00.0000.01319.28
7.1.200.0070.00715.70
7.1.100.0060.00617.80
7.1.70.0080.00816.86
7.1.60.0130.00619.32
7.1.50.0070.01816.99
7.1.00.0030.07722.32
7.0.200.0030.00516.54
7.0.140.0000.07722.11
7.0.110.0030.08319.93
7.0.100.0100.05019.86
7.0.90.0000.04319.92
7.0.80.0000.04019.96
7.0.70.0100.03719.96
7.0.60.0030.07319.64
7.0.50.0000.03720.04
7.0.40.0030.03719.69
7.0.30.0070.04319.59
7.0.20.0030.04719.72
7.0.10.0100.03319.82
7.0.00.0070.04719.83
5.6.280.0030.07320.87
5.6.260.0070.05320.59
5.6.250.0000.05020.66
5.6.240.0100.03720.55
5.6.230.0030.04320.48
5.6.220.0030.05720.56
5.6.210.0100.08020.60
5.6.200.0170.05720.66
5.6.190.0100.03720.71
5.6.180.0100.06720.57
5.6.170.0030.05320.56
5.6.160.0000.04320.59
5.6.150.0070.03320.61
5.6.140.0030.05020.70
5.6.130.0100.07020.55
5.6.120.0100.07720.68
5.6.110.0070.04020.63
5.6.100.0100.07320.63
5.6.90.0070.04720.58
5.6.80.0100.03020.00
5.6.70.0070.05020.05
5.6.60.0070.07019.99
5.6.50.0070.04020.06
5.6.40.0030.03719.98
5.6.30.0030.05020.01
5.6.20.0100.04019.89
5.6.10.0100.06019.97
5.6.00.0130.06719.97
5.5.380.0070.05317.56
5.5.370.0030.04317.55
5.5.360.0100.07317.58
5.5.350.0030.06317.59
5.5.340.0130.06318.09
5.5.330.0030.03718.07
5.5.320.0030.03317.91
5.5.310.0030.04318.23
5.5.300.0000.07318.13
5.5.290.0100.05017.93
5.5.280.0000.04718.10
5.5.270.0030.05317.92
5.5.260.0130.07318.06
5.5.250.0030.04017.91
5.5.240.0070.03317.46
5.5.230.0030.09017.29
5.5.220.0000.04017.30
5.5.210.0000.04317.47
5.5.200.0030.04017.55
5.5.190.0100.05717.26
5.5.180.0070.07017.48
5.5.160.0100.02717.48
5.5.150.0030.04317.57
5.5.140.0100.03317.47
5.5.130.0070.02717.47
5.5.120.0030.04017.27
5.5.110.0000.04017.46
5.5.100.0030.04017.33
5.5.90.0000.03317.21
5.5.80.0030.03317.21
5.5.70.0100.03317.20
5.5.60.0030.04717.17
5.5.50.0030.03717.15
5.5.40.0030.03317.30
5.5.30.0070.04717.31
5.5.20.0030.05017.33
5.5.10.0030.05317.29
5.5.00.0030.03717.14
5.4.450.0030.04319.52
5.4.440.0030.04719.34
5.4.430.0100.04019.32
5.4.420.0030.06019.66
5.4.410.0030.03719.29
5.4.400.0070.07319.02
5.4.390.0000.05018.95
5.4.380.0000.04019.19
5.4.370.0030.04318.95
5.4.360.0030.06319.16
5.4.350.0000.03319.01
5.4.340.0100.03719.01
5.4.320.0100.03019.09
5.4.310.0070.03719.09
5.4.300.0000.04019.34
5.4.290.0100.03019.30
5.4.280.0100.03019.09
5.4.270.0030.03019.00
5.4.260.0100.03019.09
5.4.250.0030.03319.24
5.4.240.0100.04018.94
5.4.230.0070.05019.22
5.4.220.0000.04018.98
5.4.210.0030.06719.16
5.4.200.0070.02719.22
5.4.190.0030.09319.33
5.4.180.0030.03319.15
5.4.170.0070.07719.17
5.4.160.0070.05719.29
5.4.150.0100.06318.97
5.4.140.0000.04016.53
5.4.130.0030.03316.52
5.4.120.0000.05016.61
5.4.110.0030.06016.41
5.4.100.0000.06716.58
5.4.90.0030.04316.41
5.4.80.0000.04716.40
5.4.70.0130.04716.64
5.4.60.0070.03316.29
5.4.50.0070.03016.40
5.4.40.0070.06016.58
5.4.30.0100.04316.40
5.4.20.0000.03716.58
5.4.10.0070.03316.51
5.4.00.0000.03315.82
5.3.290.0030.03714.89
5.3.280.0100.04714.58
5.3.270.0100.03314.71
5.3.260.0030.04314.56
5.3.250.0070.03714.59
5.3.240.0000.03714.74
5.3.230.0000.07714.72
5.3.220.0030.07014.69
5.3.210.0070.05314.52
5.3.200.0030.05014.65
5.3.190.0030.05314.56
5.3.180.0070.03314.64
5.3.170.0030.04014.80
5.3.160.0000.04714.55
5.3.150.0030.05314.79
5.3.140.0030.03014.56
5.3.130.0030.04314.55
5.3.120.0000.04014.68
5.3.110.0100.04314.50
5.3.100.0030.05314.17
5.3.90.0030.06714.11
5.3.80.0000.05014.14
5.3.70.0000.03314.07
5.3.60.0030.04014.00
5.3.50.0070.05314.01
5.3.40.0030.03713.96
5.3.30.0000.03713.91
5.3.20.0070.03013.75
5.3.10.0030.02713.73
5.3.00.0030.03313.59
5.2.170.0030.03012.06
5.2.160.0000.02712.06
5.2.150.0000.03012.06
5.2.140.0000.03012.06
5.2.130.0070.06012.06
5.2.120.0070.02012.06
5.2.110.0000.02712.06
5.2.100.0030.02312.06
5.2.90.0030.02312.06
5.2.80.0030.04712.06
5.2.70.0070.02312.06
5.2.60.0030.04712.06
5.2.50.0030.02312.06
5.2.40.0000.03312.06
5.2.30.0000.04712.06
5.2.20.0000.04312.06
5.2.10.0000.02712.06
5.2.00.0030.06012.06
5.1.60.0070.01712.06
5.1.50.0070.02312.06
5.1.40.0030.02712.06
5.1.30.0030.03012.06
5.1.20.0030.04712.06
5.1.10.0000.06012.06
5.1.00.0100.04012.06
5.0.50.0030.03312.06
5.0.40.0000.02012.06
5.0.30.0030.06312.06
5.0.20.0070.03712.06
5.0.10.0030.04012.06
5.0.00.0000.04712.06
4.4.90.0030.01012.06
4.4.80.0000.02012.06
4.4.70.0000.01312.06
4.4.60.0030.01012.06
4.4.50.0030.01012.06
4.4.40.0000.02312.06
4.4.30.0000.03712.06
4.4.20.0030.03312.06
4.4.10.0000.02712.06
4.4.00.0000.03712.06
4.3.110.0070.02312.06
4.3.100.0000.02312.06
4.3.90.0030.03312.06
4.3.80.0000.02312.06
4.3.70.0000.03312.06
4.3.60.0030.03012.06
4.3.50.0070.02712.06
4.3.40.0070.05012.06
4.3.30.0070.03012.06
4.3.20.0000.01712.06
4.3.10.0000.03312.06
4.3.00.0000.02012.06

preferences:
27.11 ms | 403 KiB | 5 Q