3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('dsiplay_errors', 'On'); error_reporting(-1); echo 'realpath: '.realpath("\0")."\n";

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.70.0070.01118.39
8.3.60.0040.01116.48
8.3.50.0180.01021.79
8.3.40.0070.00718.71
8.3.30.0090.00618.96
8.3.20.0040.00420.07
8.3.10.0050.00323.52
8.3.00.0060.00317.91
8.2.180.0120.00416.50
8.2.170.0100.00322.96
8.2.160.0070.01420.35
8.2.150.0050.00324.18
8.2.140.0120.00624.66
8.2.130.0040.00426.16
8.2.120.0040.00419.24
8.2.110.0040.00720.56
8.2.100.0090.00317.59
8.2.90.0050.00317.75
8.2.80.0040.00417.97
8.2.70.0040.00417.91
8.2.60.0050.00317.91
8.2.50.0080.00018.10
8.2.40.0080.00019.17
8.2.30.0080.00018.17
8.2.20.0040.00417.60
8.2.10.0000.00717.95
8.2.00.0040.00417.77
8.1.280.0090.00625.92
8.1.270.0040.00423.87
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0000.00922.19
8.1.230.0040.00720.41
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0000.00817.23
8.1.180.0050.00218.10
8.1.170.0040.00418.46
8.1.160.0050.00221.85
8.1.150.0050.00218.49
8.1.140.0000.00717.36
8.1.130.0000.00717.80
8.1.120.0070.00017.30
8.1.110.0050.00217.21
8.1.100.0000.00817.27
8.1.90.0070.00017.34
8.1.80.0000.00817.20
8.1.70.0070.00017.27
8.1.60.0000.00817.46
8.1.50.0050.00317.45
8.1.40.0040.00417.38
8.1.30.0000.00817.56
8.1.20.0000.00717.60
8.1.10.0000.00817.50
8.1.00.0070.00017.51
8.0.300.0000.00819.65
8.0.290.0030.00516.63
8.0.280.0030.00318.37
8.0.270.0050.00217.10
8.0.260.0000.00717.16
8.0.250.0040.00416.82
8.0.240.0000.01016.94
8.0.230.0080.00016.88
8.0.220.0000.00716.88
8.0.210.0000.00716.86
8.0.200.0030.00316.93
8.0.190.0040.00416.99
8.0.180.0040.00416.91
8.0.170.0040.00416.94
8.0.160.0050.00316.75
8.0.150.0070.00316.71
8.0.140.0030.00416.84
8.0.130.0030.00313.32
8.0.120.0060.00316.88
8.0.110.0000.00816.88
8.0.100.0000.00716.94
8.0.90.0070.00016.82
8.0.80.0030.01316.88
8.0.70.0000.00716.85
8.0.60.0000.00716.89
8.0.50.0040.00416.76
8.0.30.0150.01017.02
8.0.20.0050.01417.40
8.0.10.0040.00416.82
8.0.00.0090.01316.70
7.4.330.0060.00015.00
7.4.320.0000.00616.25
7.4.300.0030.00316.41
7.4.290.0060.00316.38
7.4.280.0040.00416.43
7.4.270.0000.00816.38
7.4.260.0000.00716.43
7.4.250.0040.00416.42
7.4.240.0040.00316.34
7.4.230.0030.00316.54
7.4.220.0120.00616.56
7.4.210.0100.00316.36
7.4.200.0030.00316.36
7.4.160.0040.01116.47
7.4.150.0140.00717.40
7.4.140.0160.00417.86
7.4.130.0090.00816.47
7.4.120.0070.00916.29
7.4.110.0060.00916.36
7.4.100.0100.00716.36
7.4.90.0110.00516.13
7.4.80.0120.01219.39
7.4.70.0090.00616.51
7.4.60.0070.01116.25
7.4.50.0060.00316.19
7.4.40.0100.00716.43
7.4.30.0070.01416.45
7.4.00.0120.00414.91
7.3.330.0020.00213.17
7.3.320.0000.00613.09
7.3.310.0000.00716.20
7.3.300.0030.00316.23
7.3.290.0100.00316.29
7.3.280.0070.01016.22
7.3.270.0060.01217.40
7.3.260.0090.00916.41
7.3.250.0110.00916.35
7.3.240.0100.01316.34
7.3.230.0050.01116.39
7.3.210.0100.00616.48
7.3.200.0060.01519.39
7.3.190.0080.00916.31
7.3.180.0060.00916.25
7.3.170.0060.01016.31
7.3.160.0100.01016.43
7.3.120.0110.00614.86
7.3.110.0110.00714.75
7.3.100.0000.01614.88
7.3.90.0040.00914.84
7.3.80.0060.00714.79
7.3.70.0060.00514.85
7.3.60.0070.00514.77
7.3.50.0060.00814.71
7.3.40.0040.00914.80
7.3.30.0050.01014.70
7.3.20.0090.00716.57
7.3.10.0050.00816.65
7.3.00.0050.01016.46
7.2.330.0160.00716.71
7.2.320.0150.00316.61
7.2.310.0040.01316.64
7.2.300.0030.01716.53
7.2.290.0180.00016.55
7.2.250.0120.00515.13
7.2.240.0050.01415.08
7.2.230.0110.00515.13
7.2.220.0020.01215.05
7.2.210.0050.00915.14
7.2.200.0030.00815.11
7.2.190.0050.00614.97
7.2.180.0030.01314.92
7.2.170.0060.00814.93
7.2.00.0100.00019.07
7.1.330.0090.00515.62
7.1.320.0070.00615.72
7.1.310.0050.00915.51
7.1.300.0050.00615.79
7.1.290.0050.00515.83
7.1.280.0090.00315.62
7.1.270.0030.01015.58
7.1.260.0090.00515.53
7.1.100.0030.00717.69
7.1.70.0110.00317.16
7.1.60.0100.01419.70
7.1.50.0000.02416.73
7.1.00.0070.06322.40
7.0.200.0000.00716.70
7.0.140.0000.07322.04
7.0.60.0070.04719.95
7.0.50.0130.03317.84
7.0.40.0000.04720.27
7.0.30.0370.04720.20
7.0.20.0330.07720.00
7.0.10.0230.04020.16
7.0.00.0030.08320.20
5.6.280.0130.06721.11
5.6.210.0130.06720.72
5.6.200.0100.07018.22
5.6.190.0030.05720.33
5.6.180.0070.08020.66
5.6.170.0330.04320.50
5.6.160.0030.08320.38
5.6.150.0070.04018.18
5.6.140.0030.05018.20
5.6.130.0100.08318.10
5.6.120.0000.05021.00
5.6.110.0030.08321.02
5.6.100.0170.07021.07
5.6.90.0100.09020.92
5.6.80.0000.07720.36
5.6.70.3230.03720.41
5.5.350.0000.04020.44
5.5.340.0070.04018.02
5.5.330.0130.05020.37
5.5.320.0230.06720.24
5.5.310.0270.04020.30
5.5.300.0130.07318.02
5.5.290.0070.04017.98
5.5.280.0100.07720.75
5.5.270.0030.09020.75
5.5.260.0130.05720.85
5.5.250.0100.08320.59
5.5.240.0070.06020.25
5.4.450.0130.04019.49
5.4.440.0170.03719.41
5.4.430.0230.03719.54
5.4.420.0130.03719.41
5.4.410.0130.03719.36
5.4.400.0100.04018.92
5.4.390.0130.03719.16
5.4.380.0170.03319.08
5.4.370.0130.06319.09
5.4.360.0130.05319.25
5.4.350.0200.06019.25
5.4.340.0070.06319.07
5.4.320.0230.07319.09
5.4.310.0200.04719.13
5.4.300.0230.05719.09
5.4.290.0130.06319.20
5.4.280.0170.04019.09
5.4.270.0270.07019.08
5.4.260.0200.07718.80
5.4.250.0200.05318.87
5.4.240.0100.05319.24
5.4.230.0300.05318.93
5.4.220.0170.04019.08
5.4.210.0170.04019.15
5.4.200.0300.02719.07
5.4.190.0300.07019.14
5.4.180.0230.07019.05
5.4.170.0270.04719.15
5.4.160.0170.05318.79
5.4.150.0230.05719.11
5.4.140.0200.07316.27
5.4.130.0270.05716.28
5.4.120.0230.06716.38
5.4.110.0230.06016.39
5.4.100.0200.06016.30
5.4.90.0200.04716.39
5.4.80.0400.05716.38
5.4.70.0270.07016.39
5.4.60.0200.06316.36
5.4.50.0330.06016.05
5.4.40.0370.05016.43
5.4.30.0170.05016.41
5.4.20.0230.06716.43
5.4.10.0230.07316.40
5.4.00.0200.07315.63
5.3.290.0200.07014.52
5.3.280.0130.04714.42
5.3.270.0170.04314.54
5.3.260.0330.06714.44
5.3.250.0270.06714.55
5.3.240.0230.07014.55
5.3.230.0200.07314.45
5.3.220.0230.06714.52
5.3.210.0200.07314.52
5.3.200.0270.06314.60
5.3.190.0330.06314.42
5.3.180.0300.03714.54
5.3.170.0230.06314.41
5.3.160.0270.07014.46
5.3.150.0230.07314.41
5.3.140.0200.07014.41
5.3.130.0200.03714.50
5.3.120.0270.07314.40
5.3.110.0230.07314.38
5.3.100.0370.05314.11
5.3.90.0270.06714.06
5.3.80.0270.04313.81
5.3.70.0200.06713.85
5.3.60.0270.06313.85
5.3.50.0230.05013.90
5.3.40.0270.03713.89
5.3.30.0200.06313.88
5.3.20.0200.06713.52
5.3.10.0300.05013.60
5.3.00.0270.06313.59
5.2.170.0100.05312.17
5.2.160.0200.05712.17
5.2.150.0270.05312.17
5.2.140.0200.06012.17
5.2.130.0230.04012.17
5.2.120.0230.03012.17
5.2.110.0230.05312.17
5.2.100.0170.06012.17
5.2.90.0200.05312.17
5.2.80.0200.04712.17
5.2.70.0200.02712.17
5.2.60.0200.03712.17
5.2.50.0230.05012.17
5.2.40.0130.06012.17
5.2.30.0200.05712.17
5.2.20.0170.05312.17
5.2.10.0170.05012.17
5.2.00.0170.03312.17
5.1.60.0100.03312.17
5.1.50.0100.03312.17
5.1.40.0170.02712.17
5.1.30.0230.04712.17
5.1.20.0230.03012.17
5.1.10.0170.05312.17
5.1.00.0100.03712.17
5.0.50.0100.02312.17
5.0.40.0100.01712.17
5.0.30.0070.06312.17
5.0.20.0070.03012.17
5.0.10.0130.03312.17
5.0.00.0100.03712.17
4.4.90.0070.02712.17
4.4.80.0100.03312.17
4.4.70.0100.03712.17
4.4.60.0070.02712.17
4.4.50.0070.03712.17
4.4.40.0130.02312.17
4.4.30.0070.03312.17
4.4.20.0130.03012.17
4.4.10.0100.03712.17
4.4.00.0070.05012.17
4.3.110.0070.03712.17
4.3.100.0070.02012.17
4.3.90.0030.03712.17
4.3.80.0030.05712.17
4.3.70.0130.03012.17
4.3.60.0100.03312.17
4.3.50.0100.03012.17
4.3.40.0100.05012.17
4.3.30.0030.04012.17
4.3.20.0030.03312.17
4.3.10.0030.03712.17
4.3.00.0030.03312.17

preferences:
53.11 ms | 401 KiB | 5 Q