3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test; echo __DIR__;

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.60.0120.00316.50
8.3.50.0080.00722.96
8.3.40.0060.00918.67
8.3.30.0160.00318.96
8.3.20.0050.00320.04
8.3.10.0040.00420.41
8.3.00.0080.00019.15
8.2.180.0030.01216.32
8.2.170.0130.00722.96
8.2.160.0000.01720.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.00
8.2.110.0060.00320.51
8.2.100.0080.00418.03
8.2.90.0080.00019.23
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0040.00418.03
8.2.50.0000.00918.07
8.2.40.0040.00418.09
8.2.30.0000.00719.42
8.2.20.0040.00417.54
8.2.10.0050.00218.03
8.2.00.0040.00417.59
8.1.280.0180.00325.92
8.1.270.0080.00023.96
8.1.260.0030.00326.35
8.1.250.0060.00328.09
8.1.240.0090.00023.84
8.1.230.0070.00418.97
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0070.00317.23
8.1.190.0080.00016.88
8.1.180.0060.00318.10
8.1.170.0090.00018.51
8.1.160.0030.00321.95
8.1.150.0070.00018.80
8.1.140.0080.00017.23
8.1.130.0000.00617.70
8.1.120.0000.00717.34
8.1.110.0000.00817.28
8.1.100.0040.00417.27
8.1.90.0050.00217.27
8.1.80.0070.00017.22
8.1.70.0030.00317.20
8.1.60.0000.01117.45
8.1.50.0060.00317.33
8.1.40.0000.00817.35
8.1.30.0040.00417.35
8.1.20.0040.00417.50
8.1.10.0030.00517.40
8.1.00.0040.00417.33
8.0.300.0030.00518.77
8.0.290.0070.00016.63
8.0.280.0000.00818.30
8.0.270.0000.00717.09
8.0.260.0060.00017.19
8.0.250.0000.00716.82
8.0.240.0000.00716.72
8.0.230.0030.00316.84
8.0.220.0040.00416.78
8.0.210.0000.00716.75
8.0.200.0070.00016.64
8.0.190.0070.00016.81
8.0.180.0070.00016.78
8.0.170.0050.00316.79
8.0.160.0070.00016.77
8.0.150.0070.00016.64
8.0.140.0070.00016.57
8.0.130.0000.00513.18
8.0.120.0020.00516.68
8.0.110.0080.00016.64
8.0.100.0020.00516.86
8.0.90.0000.00716.69
8.0.80.0060.01616.76
8.0.70.0040.00416.74
8.0.60.0000.00816.62
8.0.50.0000.00716.63
8.0.30.0100.01117.11
8.0.20.0150.00617.40
8.0.10.0070.00016.75
8.0.00.0070.01016.66
7.4.330.0050.00015.00
7.4.320.0000.00716.46
7.4.300.0000.00716.36
7.4.290.0030.00316.27
7.4.280.0000.00716.36
7.4.270.0030.00316.39
7.4.260.0040.00416.37
7.4.250.0040.00416.32
7.4.240.0040.00316.35
7.4.230.0000.00616.21
7.4.220.0120.00616.46
7.4.210.0040.01116.24
7.4.200.0030.00316.41
7.4.160.0030.01416.39
7.4.150.0160.00317.40
7.4.140.0080.01017.86
7.4.130.0120.00716.41
7.4.120.0140.00616.32
7.4.110.0030.01316.39
7.4.100.0150.00916.28
7.4.90.0060.01216.27
7.4.80.0100.01319.39
7.4.70.0060.00916.32
7.4.60.0090.00816.28
7.4.50.0050.00316.33
7.4.40.0100.00616.16
7.4.30.0090.00916.43
7.4.00.0080.00814.82
7.3.330.0000.00612.86
7.3.320.0050.00012.94
7.3.310.0030.00316.18
7.3.300.0000.00615.98
7.3.290.0000.01316.07
7.3.280.0100.00916.09
7.3.270.0130.00517.40
7.3.260.0130.00316.40
7.3.250.0070.01016.27
7.3.240.0060.01516.42
7.3.230.0000.01616.39
7.3.210.0090.00916.37
7.3.200.0110.01219.39
7.3.190.0070.01116.47
7.3.180.0030.01316.23
7.3.170.0430.01116.27
7.3.160.0000.01516.38
7.2.330.0030.01916.19
7.2.320.0060.01116.28
7.2.310.0100.00616.41
7.2.300.0110.00516.53
7.2.290.0090.00616.50
7.2.80.0060.00616.63
7.2.00.0030.00719.03
7.1.200.0130.00315.84
7.1.100.0000.01217.69
7.1.70.0040.00416.84
7.1.60.0100.01419.61
7.1.50.0110.00016.61
7.1.00.0100.07022.35
7.0.200.0030.00316.42
7.0.140.0070.07022.12
7.0.60.0030.05019.81
7.0.50.0130.07017.88
7.0.40.0070.06020.21
7.0.30.0370.04320.20
7.0.20.0200.05020.16
7.0.10.0070.07020.13
7.0.00.0100.08020.32
5.6.280.0070.07020.85
5.6.210.0130.07020.69
5.6.200.0100.04718.18
5.6.190.0030.04320.43
5.6.180.0470.06720.35
5.6.170.0370.04720.61
5.6.160.0070.04020.48
5.6.150.0070.07718.14
5.6.140.0030.04718.08
5.6.130.0070.07018.18
5.6.120.0070.04320.73
5.6.110.0070.07721.11
5.6.100.0100.07721.00
5.6.90.0200.07321.12
5.6.80.0030.07720.50
5.5.350.0270.07020.36
5.5.340.0100.07318.01
5.5.330.0030.08720.08
5.5.320.0300.05020.33
5.5.310.0270.08020.33
5.5.300.0070.05317.97
5.5.290.0100.07017.92
5.5.280.0070.05020.79
5.5.270.0230.06320.77
5.5.260.0030.04020.77
5.5.250.0130.07720.57
5.5.240.0230.07020.11
5.4.450.0000.04319.57
5.4.440.0070.04719.25
5.4.430.0070.06719.41
5.4.420.0030.08019.56
5.4.410.0000.04019.28
5.4.400.0000.05019.24
5.4.390.0070.04719.06
5.4.380.0070.07019.16
5.4.370.0070.04719.25
5.4.360.0070.04718.88
5.4.350.0070.07719.09
5.4.340.0070.07019.10
5.4.320.0000.05019.08
5.4.310.0030.05718.75
5.4.300.0000.07718.91
5.4.290.0030.07318.93
5.4.280.0030.04318.88
5.4.270.0030.07719.07
5.4.260.0030.06018.88
5.4.250.0070.05318.78
5.4.240.0030.07019.06
5.4.230.0030.07019.21
5.4.220.0030.07719.04
5.4.210.0070.04718.80
5.4.200.0070.06318.80
5.4.190.0070.07318.90
5.4.180.0070.05319.12
5.4.170.0030.06019.13
5.4.160.0100.07019.14
5.4.150.0070.04319.14
5.4.140.0070.07316.34
5.4.130.0030.05316.33
5.4.120.0000.07016.45
5.4.110.0000.03716.38
5.4.100.0000.07316.38
5.4.90.0000.04716.34
5.4.80.0030.05016.32
5.4.70.0070.07316.18
5.4.60.0030.03716.40
5.4.50.0030.07316.40
5.4.40.0000.05316.32
5.4.30.0030.07316.38
5.4.20.0000.04016.28
5.4.10.0030.04016.36
5.4.00.0100.06315.82

preferences:
38.29 ms | 401 KiB | 5 Q