3v4l.org

run code in 300+ PHP versions simultaneously
<?php (@__DIR__ == '__DIR__') && define(__DIR__, dirname(__FILE__)); print_r(__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.0060.00918.31
8.3.50.0080.00822.09
8.3.40.0140.00418.66
8.3.30.0140.00018.88
8.3.20.0050.00320.18
8.3.10.0040.00423.48
8.3.00.0050.00320.84
8.2.180.0120.00316.38
8.2.170.0070.00722.96
8.2.160.0080.00620.44
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00020.56
8.2.110.0050.00522.07
8.2.100.0070.00420.48
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0050.00517.50
8.2.60.0040.00417.91
8.2.50.0040.00718.07
8.2.40.0000.00717.97
8.2.30.0040.00418.25
8.2.20.0000.00717.70
8.2.10.0040.00417.97
8.2.00.0080.00017.68
8.1.280.0100.00725.92
8.1.270.0000.00823.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.23
8.1.230.0040.00719.14
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00317.36
8.1.190.0040.00416.98
8.1.180.0000.00818.10
8.1.170.0050.00318.31
8.1.160.0030.00321.95
8.1.150.0000.00718.47
8.1.140.0040.00417.25
8.1.130.0000.00717.75
8.1.120.0070.00017.43
8.1.110.0000.00717.33
8.1.100.0030.00317.27
8.1.90.0030.00317.32
8.1.80.0040.00417.36
8.1.70.0050.00317.38
8.1.60.0040.00417.50
8.1.50.0050.00317.50
8.1.40.0000.00717.46
8.1.30.0000.00817.50
8.1.20.0050.00217.59
8.1.10.0040.00417.33
8.1.00.0070.00017.26
8.0.300.0040.00418.77
8.0.290.0050.00216.58
8.0.280.0060.00018.37
8.0.270.0030.00317.16
8.0.260.0000.00617.05
8.0.250.0060.00316.79
8.0.240.0000.00716.88
8.0.230.0070.00016.77
8.0.220.0040.00416.86
8.0.210.0030.00316.86
8.0.200.0030.00316.84
8.0.190.0040.00416.77
8.0.180.0050.00316.83
8.0.170.0040.00416.83
8.0.160.0070.00016.68
8.0.150.0040.00416.77
8.0.140.0030.00516.72
8.0.130.0030.00313.30
8.0.120.0000.00816.79
8.0.110.0040.00416.82
8.0.100.0070.00016.85
8.0.90.0030.00316.71
8.0.80.0030.01416.73
8.0.70.0040.00416.86
8.0.60.0030.00616.63
8.0.50.0040.00416.82
8.0.30.0080.01317.04
8.0.20.0090.00917.40
8.0.10.0040.00417.05
8.0.00.0120.00916.58
7.4.330.0000.00515.00
7.4.320.0030.00316.41
7.4.300.0030.00316.51
7.4.290.0040.00416.43
7.4.280.0090.00316.32
7.4.270.0030.00316.41
7.4.260.0080.00316.40
7.4.250.0030.00316.44
7.4.240.0020.00516.39
7.4.230.0070.00016.17
7.4.220.0100.00716.46
7.4.210.0070.00716.39
7.4.200.0000.00716.25
7.4.190.0030.00316.56
7.4.160.0060.01016.61
7.4.150.0080.00817.40
7.4.140.0110.00917.86
7.4.130.0130.00416.34
7.4.120.0050.01216.49
7.4.110.0080.00816.54
7.4.100.0090.00916.40
7.4.90.0070.01016.38
7.4.80.0140.00319.39
7.4.70.0090.00616.25
7.4.60.0060.01316.53
7.4.50.0000.00816.42
7.4.40.0090.00916.19
7.4.30.0000.01516.64
7.4.00.0100.00714.82
7.3.330.0030.00313.03
7.3.320.0020.00212.85
7.3.310.0000.00716.25
7.3.300.0050.00216.03
7.3.290.0030.01716.07
7.3.280.0050.00816.25
7.3.270.0140.00317.40
7.3.260.0090.00916.27
7.3.250.0110.00616.40
7.3.240.0120.00916.55
7.3.230.0090.01316.40
7.3.210.0100.01016.04
7.3.200.0090.00919.39
7.3.190.0140.00516.14
7.3.180.0120.00316.21
7.3.170.0070.00716.27
7.3.160.0130.00316.36
7.3.120.0050.01214.47
7.3.110.0100.00414.55
7.3.100.0030.00914.68
7.3.90.0090.00514.34
7.3.80.0070.00414.71
7.3.70.0040.00814.70
7.3.60.0060.00814.56
7.3.50.0050.00714.56
7.3.40.0040.00914.72
7.3.30.0070.00414.53
7.3.20.0050.00516.44
7.3.10.0040.00716.46
7.3.00.0080.00516.47
7.2.330.0080.01216.54
7.2.320.0060.01016.55
7.2.310.0100.00716.51
7.2.300.0130.00316.31
7.2.290.0000.02116.52
7.2.250.0090.01115.01
7.2.240.0030.01514.79
7.2.230.0080.00714.73
7.2.220.0030.00814.79
7.2.210.0030.01014.97
7.2.200.0080.00614.87
7.2.190.0030.01014.74
7.2.180.0050.01014.95
7.2.170.0070.00914.95
7.2.00.0040.01519.23
7.1.330.0030.01115.80
7.1.320.0070.00715.52
7.1.310.0050.00915.62
7.1.300.0050.00915.68
7.1.290.0060.00715.70
7.1.280.0030.01115.66
7.1.270.0060.00415.58
7.1.260.0030.01015.66
7.1.100.0070.00718.02
7.1.70.0230.00717.15
7.1.60.0040.01119.70
7.1.50.0180.00916.93
7.1.00.0070.06722.43
7.0.200.0160.00514.86
7.0.140.0000.07722.18
7.0.60.0100.07319.98
7.0.50.0030.04317.66
7.0.40.0100.05719.98
7.0.30.0400.04320.34
7.0.20.0270.06020.09
7.0.10.0070.06020.16
7.0.00.0200.07020.18
5.6.280.0030.07320.89
5.6.210.0100.07320.64
5.6.200.0130.07018.08
5.6.190.0070.04020.57
5.6.180.0430.07020.60
5.6.170.0300.08720.54
5.6.160.0070.07320.32
5.6.150.0000.05018.20
5.6.140.0130.04318.12
5.6.130.0070.07718.21
5.6.120.0070.06321.11
5.6.110.0130.07321.06
5.6.100.0000.04321.08
5.6.90.0070.08021.09
5.6.80.0070.07320.30
5.5.350.3300.04020.34
5.5.340.0130.07317.95
5.5.330.0030.09020.19
5.5.320.0230.07020.17
5.5.310.0300.07720.27
5.5.300.0070.07317.97
5.5.290.0030.05317.92
5.5.280.0130.07320.64
5.5.270.0100.06320.86
5.5.260.0070.06020.75
5.5.250.0100.06720.57
5.5.240.0070.08020.25
5.4.450.0970.04019.45
5.4.440.0570.04719.09
5.4.430.0430.04019.45
5.4.420.0700.03319.23
5.4.410.0400.05319.32
5.4.400.0730.03719.06
5.4.390.0770.03719.06
5.4.380.0630.03019.13
5.4.370.0530.04018.88
5.4.360.0570.04319.16
5.4.350.0330.04018.79
5.4.340.0730.03718.91
5.4.320.0370.04019.03
5.4.310.0600.04018.88
5.4.300.0570.03718.89
5.4.290.0770.02719.13
5.4.280.0300.04719.21
5.4.270.0600.04319.05
5.4.260.0970.03018.79
5.4.250.0470.04018.89
5.4.240.0530.04018.77
5.4.230.0270.04319.15
5.4.220.0630.04019.05
5.4.210.0730.04319.05
5.4.200.0800.03019.25
5.4.190.0530.04318.92
5.4.180.0530.04318.91
5.4.170.0670.03719.23
5.4.160.0800.04318.88
5.4.150.0770.04018.75
5.4.140.0800.03316.25
5.4.130.0830.02716.43
5.4.120.0670.03716.46
5.4.110.0870.03016.40
5.4.100.0770.03016.47
5.4.90.0700.03316.36
5.4.80.0400.04316.21
5.4.70.0370.03316.37
5.4.60.0770.03316.39
5.4.50.0570.04016.20
5.4.40.0430.03316.36
5.4.30.0130.03316.04
5.4.20.0870.02316.29
5.4.10.0730.04016.03
5.4.00.0270.04715.93
5.3.290.0370.04715.64
5.3.280.0300.04315.64
5.3.270.0530.04315.64
5.3.260.0530.04315.64
5.3.250.0570.04715.93
5.3.240.0470.04315.93
5.3.230.0830.03315.93
5.3.220.0530.07015.93
5.3.210.0700.03715.93
5.3.200.0870.02715.93
5.3.190.0430.04715.93
5.3.180.0370.03715.93
5.3.170.0570.03015.93
5.3.160.0530.04015.93
5.3.150.0430.04715.93
5.3.140.0400.03315.93
5.3.130.0830.02015.93
5.3.120.0700.04015.93
5.3.110.0430.03015.93
5.3.100.0400.04015.93
5.3.90.0730.04015.93
5.3.80.0500.03715.93
5.3.70.0370.03315.93
5.3.60.0300.04315.93
5.3.50.0600.03715.93
5.3.40.0970.03715.93
5.3.30.0500.04015.93
5.3.20.0630.03315.93
5.3.10.0630.02715.93
5.3.00.0670.03715.93
5.2.170.0800.02715.93
5.2.160.0530.03015.93
5.2.150.0470.02315.93
5.2.140.0470.03715.93
5.2.130.0700.02715.93
5.2.120.0430.02715.93
5.2.110.0030.03015.93
5.2.100.0530.03015.93
5.2.90.0430.03715.93
5.2.80.0570.02315.93
5.2.70.0330.03315.93
5.2.60.0500.02715.93
5.2.50.0300.04015.93
5.2.40.0600.03015.93
5.2.30.0400.03315.93
5.2.20.0530.02715.93
5.2.10.0470.04015.93
5.2.00.0200.03315.93
5.1.60.0130.02715.93
5.1.50.0070.03315.93
5.1.40.0270.02315.93
5.1.30.0530.03015.93
5.1.20.0330.02315.93
5.1.10.0500.02315.93
5.1.00.0470.02015.93
5.0.50.0170.02715.93
5.0.40.0100.02315.93
5.0.30.0270.03315.93
5.0.20.0370.01315.93
5.0.10.0070.02715.93
5.0.00.0330.03015.93
4.4.90.0200.01315.93
4.4.80.0030.02315.93
4.4.70.0170.02015.93
4.4.60.0270.01015.93
4.4.50.0230.02015.93
4.4.40.0300.02015.93
4.4.30.0030.02315.93
4.4.20.0130.01715.93
4.4.10.0130.01315.93
4.4.00.0100.03315.93
4.3.110.0170.04015.93
4.3.100.0200.01715.93
4.3.90.0370.00315.93
4.3.80.0230.02315.93
4.3.70.0100.01015.93
4.3.60.0300.01715.93
4.3.50.0230.01715.93
4.3.40.0200.01715.93
4.3.30.0100.01715.93
4.3.20.0030.01315.93
4.3.10.0030.01715.93
4.3.00.0130.01315.93

preferences:
43.22 ms | 401 KiB | 5 Q