3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info = new SplFileInfo('/usr/local/example.php'); echo $info->getFilename();

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.00918.27
8.3.50.0120.00521.07
8.3.40.0120.00918.80
8.3.30.0120.00319.00
8.3.20.0070.00020.03
8.3.10.0000.00822.05
8.3.00.0050.00220.69
8.2.180.0090.00616.38
8.2.170.0030.01022.96
8.2.160.0110.00720.56
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00019.54
8.2.110.0040.00422.07
8.2.100.0070.00319.28
8.2.90.0000.00819.21
8.2.80.0070.00019.39
8.2.70.0040.00417.59
8.2.60.0090.00017.80
8.2.50.0040.00418.07
8.2.40.0040.00417.97
8.2.30.0000.00718.13
8.2.20.0040.00417.57
8.2.10.0050.00317.52
8.2.00.0080.00017.67
8.1.280.0140.00725.92
8.1.270.0040.00420.35
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00023.87
8.1.230.0090.00319.01
8.1.220.0080.00017.76
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.28
8.1.180.0000.00718.87
8.1.170.0000.00918.50
8.1.160.0040.00422.00
8.1.150.0030.00618.57
8.1.140.0000.00717.31
8.1.130.0030.00317.84
8.1.120.0000.00817.30
8.1.110.0000.00717.45
8.1.100.0000.00817.46
8.1.90.0000.00717.43
8.1.80.0000.00717.44
8.1.70.0040.00417.43
8.1.60.0040.00417.50
8.1.50.0040.00417.50
8.1.40.0040.00417.50
8.1.30.0040.00417.57
8.1.20.0000.00717.43
8.1.10.0040.00417.41
8.1.00.0000.00817.52
8.0.300.0070.00018.77
8.0.290.0040.00417.15
8.0.280.0050.00318.49
8.0.270.0030.00317.16
8.0.260.0000.00816.77
8.0.250.0060.00017.02
8.0.240.0080.00016.94
8.0.230.0030.00316.89
8.0.220.0070.00016.81
8.0.210.0030.00316.86
8.0.200.0000.00716.86
8.0.190.0040.00416.95
8.0.180.0050.00316.87
8.0.170.0040.00416.89
8.0.160.0070.00016.81
8.0.150.0030.00316.70
8.0.140.0070.00016.78
8.0.130.0050.00013.27
8.0.120.0070.00016.68
8.0.110.0000.00816.74
8.0.100.0000.00716.63
8.0.90.0000.00816.78
8.0.80.0060.00916.89
8.0.70.0000.00716.63
8.0.60.0070.00016.68
8.0.50.0000.00716.94
8.0.30.0160.00816.93
8.0.20.0090.00817.40
8.0.10.0040.00417.07
8.0.00.0070.01016.77
7.4.330.0070.00015.00
7.4.320.0030.00316.43
7.4.300.0000.00616.55
7.4.290.0000.00716.44
7.4.280.0000.00716.43
7.4.270.0040.00416.41
7.4.260.0050.00516.49
7.4.250.0040.00416.41
7.4.240.0060.00116.49
7.4.230.0030.00316.64
7.4.220.0030.02316.44
7.4.210.0090.00916.52
7.4.200.0000.00716.41
7.4.190.0030.00316.68
7.4.160.0030.01316.45
7.4.150.0050.01817.40
7.4.140.0080.00917.86
7.4.130.0100.00716.43
7.4.120.0090.00816.54
7.4.110.0170.00016.17
7.4.100.0070.01116.41
7.4.90.0100.01016.50
7.4.80.0100.01019.39
7.4.70.0110.00616.19
7.4.60.0180.01216.68
7.4.50.0030.00516.53
7.4.40.0000.01522.77
7.4.30.0070.01016.36
7.4.00.0130.00315.06
7.3.330.0060.00012.82
7.3.320.0030.00312.93
7.3.310.0030.00316.26
7.3.300.0000.00716.17
7.3.290.0090.00616.09
7.3.280.0120.00516.14
7.3.270.0040.01217.40
7.3.260.0130.01016.23
7.3.250.0130.01016.39
7.3.240.0090.00916.17
7.3.230.0150.00316.48
7.3.210.0040.01416.20
7.3.200.0070.01319.39
7.3.190.0140.00716.47
7.3.180.0110.00516.21
7.3.170.0090.00616.40
7.3.160.0070.00816.36
7.3.120.0040.01114.77
7.3.10.0040.01116.73
7.3.00.0100.00316.43
7.2.330.0130.00316.53
7.2.320.0110.00716.41
7.2.310.0090.01016.45
7.2.300.0060.00916.47
7.2.290.0080.00816.71
7.2.130.0100.00316.80
7.2.120.0100.00316.90
7.2.110.0060.00916.91
7.2.100.0110.00316.71
7.2.90.0000.01617.04
7.2.80.0090.00216.67
7.2.70.0080.00616.78
7.2.60.0090.00316.82
7.2.50.0030.01216.93
7.2.40.0050.00717.03
7.2.30.0080.00716.96
7.2.20.0100.00316.91
7.2.10.0040.00816.75
7.2.00.0070.00718.14
7.1.250.0090.00615.34
7.1.100.0070.00718.01
7.1.70.0040.00416.68
7.1.60.0220.00319.82
7.1.50.0070.01416.86
7.1.00.0030.03322.54
7.0.200.0040.00416.69
7.0.140.0000.07721.97
7.0.60.0200.07319.94
7.0.50.0100.07317.75
7.0.40.0070.05320.20
7.0.30.0300.07320.09
7.0.20.0230.04720.14
7.0.10.0170.07020.00
7.0.00.0030.06319.99
5.6.280.0000.07721.09
5.6.210.0100.07020.64
5.6.200.0130.07718.20
5.6.190.0000.08720.32
5.6.180.4030.04020.41
5.6.170.0300.07720.50
5.6.160.0130.03720.52
5.6.150.0030.05318.19
5.6.140.0070.07718.11
5.6.130.0130.08318.11
5.6.120.0000.08721.10
5.6.110.0100.08321.07
5.6.100.0100.08320.95
5.6.90.0100.07321.01
5.6.80.0100.07020.37
5.6.70.0300.06720.51
5.5.350.0230.07320.40
5.5.340.0070.04318.02
5.5.330.0100.07720.20
5.5.320.0330.07320.32
5.5.310.0330.06320.41
5.5.300.0100.04317.96
5.5.290.0130.06317.89
5.5.280.0070.08720.77
5.5.270.0100.07320.67
5.5.260.0000.04320.77
5.5.250.0030.08020.58
5.5.240.0130.07320.04
5.4.450.0870.05019.52
5.4.440.0230.05019.58
5.4.430.0170.05719.63
5.4.420.0630.06319.41
5.4.410.0630.05319.50
5.4.400.1200.05718.50
5.4.390.0930.07018.80
5.4.380.0370.06018.50
5.4.370.0130.05718.70
5.4.360.0230.04318.70
5.4.350.0060.04411.97
5.4.340.0060.04011.97
5.4.320.0040.03712.46
5.4.310.0030.04412.45
5.4.300.0060.03612.46
5.4.290.0090.04312.45
5.4.280.0130.03912.35
5.4.270.0090.04312.35
5.4.260.0030.04012.35
5.4.250.0130.05018.58
5.4.240.0100.07718.86
5.4.230.0100.07318.83
5.4.220.0100.05718.74
5.4.210.0000.06018.64
5.4.200.0030.06018.58
5.4.190.0100.05718.81
5.4.180.0070.06718.88
5.4.170.0130.06018.68
5.4.160.0230.04018.72
5.4.150.0100.08018.79
5.4.140.0070.05316.38
5.4.130.0070.05016.46
5.4.120.0030.05316.25
5.4.110.0130.04016.41
5.4.100.0070.04716.14
5.4.90.0070.05016.41
5.4.80.0100.04716.16
5.4.70.0030.05316.36
5.4.60.0170.04316.15
5.4.50.0100.05016.25
5.4.40.0170.04716.46
5.4.30.0100.04716.17
5.4.20.0070.04716.41
5.4.10.0070.05316.41
5.4.00.0130.04315.90
5.3.290.0070.04612.80
5.3.280.0130.05314.61
5.3.270.0070.05314.44
5.3.260.0100.05014.47
5.3.250.0070.05014.48
5.3.240.0030.06714.52
5.3.230.0200.04014.75
5.3.220.0170.04314.27
5.3.210.0030.05714.66
5.3.200.0000.05714.59
5.3.190.0000.05714.42
5.3.180.0070.05314.56
5.3.170.0070.04714.43
5.3.160.0070.05014.57
5.3.150.0100.05014.57
5.3.140.0200.06014.47
5.3.130.0070.07314.61
5.3.120.0070.05714.38
5.3.110.0070.05314.40
5.3.100.0130.05014.04
5.3.90.0130.04314.02
5.3.80.0100.04713.86
5.3.70.0130.04314.01
5.3.60.0100.04713.95
5.3.50.0100.04313.72
5.3.40.0030.05313.96
5.3.30.0070.05013.74
5.3.20.0030.05013.71
5.3.10.0130.06313.64
5.3.00.0130.06313.68
5.2.170.0170.05011.14
5.2.160.0070.04011.07
5.2.150.0000.04711.29
5.2.140.0000.04311.15
5.2.130.0000.04311.11
5.2.120.0100.03311.02
5.2.110.0070.03711.03
5.2.100.0030.04011.09
5.2.90.0170.04311.19
5.2.80.0000.04311.01
5.2.70.0100.05711.10
5.2.60.0130.03311.20
5.2.50.0070.04711.02
5.2.40.0070.03711.09
5.2.30.0170.05010.98
5.2.20.0000.04310.71
5.2.10.0030.04310.62
5.2.00.0030.04010.88
5.1.60.0000.0379.93
5.1.50.0070.03310.16
5.1.40.0030.0509.88
5.1.30.0000.04710.25
5.1.20.0100.05010.11
5.1.10.0070.05310.09
5.1.00.0030.05310.02
5.0.50.0100.0238.43
5.0.40.0070.0238.17
5.0.30.0030.0508.25
5.0.20.0030.0278.16
5.0.10.0070.0238.21
5.0.00.0070.0378.10
4.4.90.0000.0236.33
4.4.80.0000.0236.33
4.4.70.0030.0206.33
4.4.60.0030.0206.33
4.4.50.0030.0206.33
4.4.40.0070.0306.33
4.4.30.0030.0306.33
4.4.20.0000.0236.33
4.4.10.0030.0306.33
4.4.00.0100.0276.33
4.3.110.0030.0336.33
4.3.100.0070.0176.33
4.3.90.0030.0206.33
4.3.80.0070.0306.33
4.3.70.0100.0136.33
4.3.60.0030.0176.33
4.3.50.0000.0236.33
4.3.40.0030.0306.33
4.3.30.0000.0236.33
4.3.20.0030.0206.33
4.3.10.0100.0136.33
4.3.00.0100.0276.94

preferences:
38.48 ms | 401 KiB | 5 Q