3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace this\isa\test; $hi['texas'] = "howdy"; /** namespace indents */ echo $hi['texas'];

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.40.0070.00718.84
8.3.30.0100.00318.71
8.3.20.0120.00318.77
8.3.10.0050.00320.58
8.3.00.0030.00519.38
8.2.170.0070.00722.96
8.2.160.0130.00620.57
8.2.150.0100.00024.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00019.25
8.2.110.0030.00619.36
8.2.100.0040.00817.84
8.2.90.0000.00919.33
8.2.80.0030.00519.39
8.2.70.0050.00517.50
8.2.60.0000.00818.03
8.2.50.0080.00018.07
8.2.40.0070.00018.15
8.2.30.0020.00517.98
8.2.20.0090.00019.38
8.2.10.0040.00417.59
8.2.00.0060.00317.59
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0050.00522.67
8.1.230.0110.00021.10
8.1.220.0050.00317.74
8.1.210.0030.00618.97
8.1.200.0100.00017.23
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0000.00818.91
8.1.160.0020.00518.75
8.1.150.0080.00018.44
8.1.140.0050.00217.23
8.1.130.0070.00017.63
8.1.120.0070.00017.38
8.1.110.0000.00717.24
8.1.100.0070.00017.19
8.1.90.0040.00417.36
8.1.80.0000.00817.32
8.1.70.0030.00317.29
8.1.60.0030.00517.40
8.1.50.0000.00717.25
8.1.40.0040.00417.35
8.1.30.0060.00317.50
8.1.20.0050.00317.42
8.1.10.0050.00217.52
8.1.00.0030.00517.42
8.0.300.0040.00419.98
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0040.00417.14
8.0.260.0000.00616.68
8.0.250.0070.00016.74
8.0.240.0070.00016.93
8.0.230.0030.00316.76
8.0.220.0070.00016.82
8.0.210.0000.00716.80
8.0.200.0000.00616.71
8.0.190.0040.00416.77
8.0.180.0060.00316.72
8.0.170.0040.00416.75
8.0.160.0000.00716.80
8.0.150.0040.00416.69
8.0.140.0040.00416.66
8.0.130.0030.00313.17
8.0.120.0040.00416.71
8.0.110.0030.00316.79
8.0.100.0000.00716.70
8.0.90.0070.00016.74
8.0.80.0080.01116.79
8.0.70.0040.00416.76
8.0.60.0070.00016.65
8.0.50.0000.00716.62
8.0.30.0080.01717.11
8.0.20.0080.00917.05
8.0.10.0080.00016.89
8.0.00.0090.00916.67
7.4.330.0050.00012.91
7.4.320.0030.00516.40
7.4.300.0060.00016.42
7.4.290.0060.00016.50
7.4.280.0000.00716.45
7.4.270.0060.00016.43
7.4.260.0060.00013.22
7.4.250.0000.00816.41
7.4.240.0050.00316.43
7.4.230.0000.00716.44
7.4.220.0090.00916.46
7.4.210.0100.00716.50
7.4.200.0070.00016.23
7.4.190.0000.00816.69
7.4.160.0060.01016.17
7.4.150.0080.00816.32
7.4.140.0100.00716.46
7.4.130.0090.00916.34
7.4.120.0100.00716.37
7.4.110.0100.00716.42
7.4.100.0040.01216.62
7.4.90.0090.00916.50
7.4.80.0100.00719.39
7.4.70.0080.00816.36
7.4.60.0130.00316.57
7.4.50.0090.00016.37
7.4.40.0060.00916.30
7.4.30.0070.01016.41
7.4.00.0070.00414.59
7.3.330.0000.00612.91
7.3.320.0060.00013.02
7.3.310.0040.00416.01
7.3.300.0070.00016.06
7.3.290.0080.00816.18
7.3.280.0090.01016.25
7.3.270.0090.00916.52
7.3.260.0060.01216.29
7.3.250.0090.00916.41
7.3.240.0000.01816.38
7.3.230.0170.00016.25
7.3.210.0090.00916.16
7.3.200.0100.00716.12
7.3.190.0130.00316.55
7.3.180.0090.00616.47
7.3.170.0180.00416.51
7.3.160.0090.00816.61
7.3.120.0060.00915.09
7.2.330.0040.01416.46
7.2.320.0070.01416.63
7.2.310.0060.01716.71
7.2.300.0050.01216.32
7.2.290.0030.01616.57
7.2.00.0000.01019.52
7.1.100.0070.00717.95
7.1.70.0100.00317.04
7.1.60.0040.01117.08
7.1.50.0060.01516.83
7.1.00.0000.04022.43
7.0.200.0030.01416.88
7.0.140.0030.07322.00
7.0.120.0030.06722.05
7.0.60.0230.07719.78
7.0.50.0130.07717.85
7.0.40.0230.05020.23
7.0.30.0230.04020.32
7.0.20.0230.07320.41
7.0.10.0200.08320.39
7.0.00.0230.04720.10
5.6.280.0000.07321.09
5.6.210.0100.08320.56
5.6.200.0100.06718.19
5.6.190.0200.08720.35
5.6.180.0370.05320.48
5.6.170.0270.08320.43
5.6.160.0270.05320.77
5.6.150.0070.05020.33
5.6.140.0300.07720.18
5.6.130.0300.07320.13
5.6.120.0130.08720.41
5.6.110.0230.06720.36
5.6.100.0170.04720.43
5.6.90.0230.04020.32
5.6.80.0200.07719.50
5.6.70.0200.05319.81
5.6.60.0170.04719.80
5.6.50.0300.07019.76
5.6.40.0170.07019.69
5.6.30.0200.08019.70
5.6.20.0230.07319.63
5.6.10.0200.04319.53
5.6.00.0200.07719.52
5.5.350.0130.07320.51
5.5.340.0030.03717.98
5.5.330.0200.06020.11
5.5.320.0230.05720.40
5.5.310.0230.08320.23
5.5.300.0170.07020.24
5.5.290.0170.08020.23
5.5.280.0200.06320.21
5.5.270.0230.07320.11
5.5.260.0270.07320.14
5.5.250.0270.04020.04
5.5.240.0270.07319.59
5.5.230.0230.07019.45
5.5.220.0300.06319.51
5.5.210.0230.06319.54
5.5.200.0270.07019.61
5.5.190.0200.06019.47
5.5.180.0230.08019.58
5.5.160.0230.06019.44
5.5.150.0170.04319.47
5.5.140.0170.04319.33
5.5.130.0170.03719.29
5.5.120.0130.05719.57
5.5.110.0200.04019.25
5.5.100.0170.03319.17
5.5.90.0130.04019.33
5.5.80.0170.03719.16
5.5.70.0130.04719.41
5.5.60.0170.04019.45
5.5.50.0200.03719.21
5.5.40.0200.08019.28
5.5.30.0270.07019.46
5.5.20.0170.05719.54
5.5.10.0130.04319.25
5.5.00.0200.03719.45
5.4.450.0200.06019.33
5.4.440.0230.04719.25
5.4.430.0230.03719.43
5.4.420.0300.04719.47
5.4.410.0130.04319.27
5.4.400.0200.07319.16
5.4.390.0170.06019.16
5.4.380.0170.05018.81
5.4.370.0200.04019.19
5.4.360.0200.07019.20
5.4.350.0170.08019.11
5.4.340.0200.05719.08
5.4.320.0330.02319.16
5.4.310.0170.03718.79
5.4.300.0200.03318.80
5.4.290.0130.03719.08
5.4.280.0170.03318.79
5.4.270.0170.03318.79
5.4.260.0130.03719.14
5.4.250.0270.03019.14
5.4.240.0270.02719.00
5.4.230.0170.04319.08
5.4.220.0100.04019.20
5.4.210.0200.06719.17
5.4.200.0230.06719.18
5.4.190.0130.03718.93
5.4.180.0130.03719.00
5.4.170.0130.03719.17
5.4.160.0200.03719.05
5.4.150.0200.04019.13
5.4.140.0100.04716.17
5.4.130.0130.04316.28
5.4.120.0230.03016.45
5.4.110.0130.04016.36
5.4.100.0170.03316.41
5.4.90.0170.03316.25
5.4.80.0130.03316.31
5.4.70.0170.03316.39
5.4.60.0170.03016.28
5.4.50.0170.03716.27
5.4.40.0130.03316.34
5.4.30.0130.03316.30
5.4.20.0130.03316.32
5.4.10.0130.03316.32
5.4.00.0100.03715.61
5.3.290.0200.07714.48
5.3.280.0070.06014.55
5.3.270.0230.03014.62
5.3.260.0170.03714.48
5.3.250.0270.06714.56
5.3.240.0130.03714.55
5.3.230.0070.04314.49
5.3.220.0070.04714.50
5.3.210.0170.08714.44
5.3.200.0100.04014.51
5.3.190.0200.03314.46
5.3.180.0170.03314.52
5.3.170.0170.04014.45
5.3.160.0170.03014.49
5.3.150.0130.03714.57
5.3.140.0170.04014.48
5.3.130.0170.03314.46
5.3.120.0070.04314.52
5.3.110.0130.03714.55
5.3.100.0170.03013.93
5.3.90.0070.04013.95
5.3.80.0100.04013.85
5.3.70.0130.03313.83
5.3.60.0130.03313.93
5.3.50.0170.03313.78
5.3.40.0200.03013.89
5.3.30.0200.03313.69
5.3.20.0200.02713.70
5.3.10.0170.05313.63
5.3.00.0170.07713.56
5.2.170.0100.03312.42
5.2.160.0170.04312.42
5.2.150.0100.03012.42
5.2.140.0100.03012.42
5.2.130.0100.03012.42
5.2.120.0100.04012.42
5.2.110.0200.05012.42
5.2.100.0130.05312.42
5.2.90.0230.04312.42
5.2.80.0270.05312.42
5.2.70.0170.06012.42
5.2.60.0270.05012.42
5.2.50.0230.05712.42
5.2.40.0200.05312.42
5.2.30.0130.05012.42
5.2.20.0200.05712.42
5.2.10.0170.06012.42
5.2.00.0130.04712.42
5.1.60.0170.03712.42
5.1.50.0130.04712.42
5.1.40.0200.04712.42
5.1.30.0170.05712.42
5.1.20.0130.04712.42
5.1.10.0130.05012.42
5.1.00.0200.06012.42
5.0.50.0070.03012.42
5.0.40.0100.04012.42
5.0.30.0070.06712.42
5.0.20.0170.04312.42
5.0.10.0070.04312.42
5.0.00.0070.06012.42
4.4.90.0100.02312.42
4.4.80.0100.03312.42
4.4.70.0070.03712.42
4.4.60.0130.03012.42
4.4.50.0070.03712.42
4.4.40.0070.03312.42
4.4.30.0170.02712.42
4.4.20.0070.02312.42
4.4.10.0100.03312.42
4.4.00.0100.05012.42
4.3.110.0070.03712.42
4.3.100.0130.01712.42
4.3.90.0070.03312.42
4.3.80.0100.05312.42
4.3.70.0070.03312.42
4.3.60.0030.03012.42
4.3.50.0070.03312.42
4.3.40.0100.05012.42
4.3.30.0030.02712.42
4.3.20.0030.02312.42
4.3.10.0030.03712.42
4.3.00.0070.02712.42

preferences:
45.27 ms | 400 KiB | 5 Q