3v4l.org

run code in 300+ PHP versions simultaneously
<?php $PATH = "http://testbackend.adphone.mirotel.net/images/posts/00/01/88/d8-orig.jpg"; $dir = substr(strrchr($PATH, "/"), 1); var_dump($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.0100.01018.09
8.3.50.0160.00522.05
8.3.40.0110.00418.59
8.3.30.0100.00320.21
8.3.20.0040.00420.21
8.3.10.0030.00621.92
8.3.00.0050.00322.52
8.2.180.0110.00716.50
8.2.170.0100.01022.96
8.2.160.0030.01022.16
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.07
8.2.110.0070.00321.11
8.2.100.0060.00617.78
8.2.90.0040.00419.22
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0030.00618.10
8.2.40.0070.00018.09
8.2.30.0070.00017.96
8.2.20.0020.00517.57
8.2.10.0020.00517.54
8.2.00.0000.00717.64
8.1.280.0100.00725.92
8.1.270.0050.00224.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.84
8.1.230.0080.00317.77
8.1.220.0000.00817.79
8.1.210.0050.00318.77
8.1.200.0100.00017.23
8.1.190.0030.00617.23
8.1.180.0000.00918.10
8.1.170.0050.00318.50
8.1.160.0070.00022.07
8.1.150.0000.00718.48
8.1.140.0080.00017.32
8.1.130.0000.00717.87
8.1.120.0040.00417.36
8.1.110.0040.00417.38
8.1.100.0040.00417.39
8.1.90.0070.00017.32
8.1.80.0030.00617.43
8.1.70.0000.00717.31
8.1.60.0000.00917.52
8.1.50.0040.00417.42
8.1.40.0040.00417.44
8.1.30.0000.00817.57
8.1.20.0050.00317.61
8.1.10.0050.00317.33
8.1.00.0060.00517.35
8.0.300.0070.00018.77
8.0.290.0080.00016.63
8.0.280.0070.00018.35
8.0.270.0030.00317.16
8.0.260.0030.00316.74
8.0.250.0030.00316.85
8.0.240.0040.00416.81
8.0.230.0070.00016.77
8.0.220.0030.00316.71
8.0.210.0040.00416.79
8.0.200.0030.00316.74
8.0.190.0040.00416.74
8.0.180.0000.00916.86
8.0.170.0040.00416.78
8.0.160.0000.00716.77
8.0.150.0070.00016.64
8.0.140.0030.00316.81
8.0.130.0000.00513.17
8.0.120.0040.00416.76
8.0.110.0050.00316.80
8.0.100.0040.00416.72
8.0.90.0000.00816.82
8.0.80.0000.01616.82
8.0.70.0070.00016.61
8.0.60.0080.00016.59
8.0.50.0050.00316.71
8.0.30.0110.01016.97
8.0.20.0120.00617.40
8.0.10.0040.00416.90
8.0.00.0130.00916.66
7.4.330.0000.00415.00
7.4.320.0060.00016.41
7.4.300.0060.00016.34
7.4.290.0040.00416.52
7.4.280.0050.00316.36
7.4.270.0000.00716.41
7.4.260.0000.00813.24
7.4.250.0000.00716.38
7.4.240.0000.00716.41
7.4.230.0000.00616.40
7.4.220.0070.01016.55
7.4.210.0080.00716.48
7.4.200.0000.00716.18
7.4.190.0030.00316.63
7.4.160.0060.00916.46
7.4.150.0140.00317.40
7.4.140.0120.00817.86
7.4.130.0060.01016.29
7.4.120.0100.00716.35
7.4.110.0100.00616.36
7.4.100.0130.01016.30
7.4.90.0100.00716.31
7.4.80.0130.00319.39
7.4.70.0090.00916.34
7.4.60.0130.00316.25
7.4.50.0040.00416.57
7.4.40.0100.00522.77
7.4.30.0080.00816.36
7.4.00.0000.01414.80
7.3.330.0000.00512.97
7.3.320.0000.00612.95
7.3.310.0030.00316.01
7.3.300.0000.00716.11
7.3.290.0110.00916.10
7.3.280.0040.01116.13
7.3.270.0090.00917.40
7.3.260.0160.00816.13
7.3.250.0120.00616.28
7.3.240.0060.01216.07
7.3.230.0100.00716.43
7.3.210.0070.01016.45
7.3.200.0030.01619.39
7.3.190.0180.00416.23
7.3.180.0050.01116.36
7.3.170.0060.01016.33
7.3.160.0080.00816.34
7.3.120.0070.00314.92
7.3.110.0040.00814.61
7.3.100.0030.01014.58
7.3.90.0030.01014.71
7.3.80.0130.00315.02
7.3.70.0030.01014.46
7.3.60.0060.00914.63
7.3.50.0070.01014.62
7.3.40.0090.00314.34
7.3.30.0080.00414.33
7.3.20.0040.00416.50
7.3.10.0040.00416.51
7.3.00.0000.01316.36
7.2.330.0060.01116.25
7.2.320.0110.01116.25
7.2.310.0100.01016.39
7.2.300.0090.00616.63
7.2.290.0070.01116.38
7.2.240.0030.01014.77
7.2.230.0030.01315.11
7.2.220.0060.01114.67
7.2.210.0030.01214.80
7.2.200.0070.00414.94
7.2.190.0060.01214.61
7.2.180.0090.00314.86
7.2.170.0080.00414.80
7.2.160.0030.00914.66
7.2.150.0000.00916.73
7.2.140.0000.01316.80
7.2.130.0000.01416.77
7.2.120.0030.00716.48
7.2.110.0040.00416.68
7.2.100.0030.00716.85
7.2.90.0030.00616.68
7.2.80.0060.00616.75
7.2.70.0070.01016.80
7.2.60.0110.00316.71
7.2.50.0120.00616.70
7.2.40.0000.01216.62
7.2.30.0060.01016.84
7.2.20.0030.00716.68
7.2.10.0000.01116.52
7.2.00.0070.00416.57
7.1.330.0060.01015.92
7.1.320.0070.01115.70
7.1.310.0090.00615.57
7.1.300.0140.00415.69
7.1.290.0090.00615.75
7.1.280.0030.01015.82
7.1.270.0100.00315.39
7.1.260.0040.01215.75
7.1.250.0030.00615.64
7.1.200.0090.00615.74
7.1.70.0000.00816.70
7.1.60.0090.00619.43
7.1.50.0070.01316.50
7.1.00.0030.06022.36
7.0.200.0170.01116.56
7.0.140.0030.07322.09
7.0.60.0170.05719.82
7.0.50.0070.08317.81
7.0.40.0030.04320.30
7.0.30.0230.04720.09
7.0.20.0270.06320.09
7.0.10.0170.04020.33
7.0.00.0030.08720.08
5.6.280.0170.06020.77
5.6.210.0070.08320.68
5.6.200.0070.08318.12
5.6.190.0130.03320.76
5.6.180.0300.06720.33
5.6.170.0330.07720.46
5.6.160.0070.06020.46
5.6.150.0030.08018.21
5.6.140.0070.06318.14
5.6.130.0100.07718.21
5.6.120.0030.04321.09
5.6.110.0000.09021.10
5.6.100.0070.08721.00
5.6.90.0130.07720.96
5.6.80.0100.06020.51
5.6.70.0300.04720.40
5.5.350.0000.03320.32
5.5.340.0130.07717.96
5.5.330.0130.07320.13
5.5.320.0230.08020.31
5.5.310.0330.05020.28
5.5.300.0130.08318.00
5.5.290.0070.06318.02
5.5.280.0070.05020.86
5.5.270.0100.06020.79
5.5.260.0100.07720.95
5.5.250.0130.04320.49
5.5.240.0130.08320.26
5.4.450.0730.06019.55
5.4.440.0870.05719.13
5.4.430.0300.05319.63
5.4.420.0730.06319.58
5.4.410.0900.08019.39
5.4.400.1430.07318.72
5.4.390.1400.07018.71
5.4.380.0270.05018.68
5.4.370.0100.05718.64
5.4.360.0130.05018.59
5.4.350.0120.03511.97
5.4.340.0110.04111.96
5.4.320.0080.03812.45
5.4.310.0030.04412.45
5.4.300.0070.04612.45
5.4.290.0030.04112.45
5.4.280.0050.03612.35
5.4.270.0090.03712.35
5.4.260.0050.04112.35
5.4.250.0100.04112.35
5.4.240.0070.05718.73
5.4.230.0130.05018.63
5.4.220.0130.05319.01
5.4.210.0000.06318.77
5.4.200.0130.07018.75
5.4.190.0100.07718.90
5.4.180.0070.05018.97
5.4.170.0170.05018.72
5.4.160.0100.07018.86
5.4.150.0000.05718.95
5.4.140.0130.04316.41
5.4.130.0030.05016.27
5.4.120.0030.05016.29
5.4.110.0070.07316.48
5.4.100.0030.05316.40
5.4.90.0170.04316.41
5.4.80.0000.05716.38
5.4.70.0070.05016.41
5.4.60.0100.06716.21
5.4.50.0200.03716.21
5.4.40.0070.05316.37
5.4.30.0100.05316.34
5.4.20.0130.05316.30
5.4.10.0070.07316.30
5.4.00.0030.05715.89
5.3.290.0050.04312.80
5.3.280.0100.05014.60
5.3.270.0100.04714.64
5.3.260.0070.07014.60
5.3.250.0100.04714.69
5.3.240.0070.04714.30
5.3.230.0030.06014.59
5.3.220.0000.05714.61
5.3.210.0170.05714.58
5.3.200.0100.04714.65
5.3.190.0070.06014.57
5.3.180.0230.05714.40
5.3.170.0170.04714.71
5.3.160.0170.05014.60
5.3.150.0000.07314.65
5.3.140.0130.05314.70
5.3.130.0230.05714.70
5.3.120.0100.06014.70
5.3.110.0130.05714.46
5.3.100.0000.05714.15
5.3.90.0100.04714.16
5.3.80.0170.04014.03
5.3.70.0070.05013.88
5.3.60.0070.05014.00
5.3.50.0070.04713.83
5.3.40.0070.04313.82
5.3.30.0000.06313.83
5.3.20.0000.05013.70
5.3.10.0070.04313.79
5.3.00.0030.04713.64
5.2.170.0000.04311.04
5.2.160.0100.05011.13
5.2.150.0000.04311.05
5.2.140.0030.04011.05
5.2.130.0000.04011.10
5.2.120.0070.03710.93
5.2.110.0070.05011.03
5.2.100.0070.03711.19
5.2.90.0030.04011.11
5.2.80.0070.04310.92
5.2.70.0070.03310.99
5.2.60.0100.04310.96
5.2.50.0070.03710.92
5.2.40.0070.03310.76
5.2.30.0030.04011.05
5.2.20.0100.05010.95
5.2.10.0030.03710.93
5.2.00.0070.03310.62
5.1.60.0030.03310.03
5.1.50.0030.0339.90
5.1.40.0070.03010.21
5.1.30.0030.03710.41
5.1.20.0030.03710.56
5.1.10.0070.03010.32
5.1.00.0070.0439.92
5.0.50.0000.0338.68
5.0.40.0070.0378.43
5.0.30.0000.0478.45
5.0.20.0000.0278.25
5.0.10.0070.0278.15
5.0.00.0070.0538.15
4.4.90.0100.0135.77
4.4.80.0000.0235.77
4.4.70.0030.0175.75
4.4.60.0000.0235.74
4.4.50.0000.0235.85
4.4.40.0000.0335.77
4.4.30.0030.0275.85
4.4.20.0000.0305.81
4.4.10.0030.0235.84
4.4.00.0000.0375.77
4.3.110.0000.0335.69
4.3.100.0030.0205.77
4.3.90.0030.0176.22
4.3.80.0000.0476.22
4.3.70.0000.0206.22
4.3.60.0070.0176.22
4.3.50.0030.0206.22
4.3.40.0000.0376.22
4.3.30.0030.0206.22
4.3.20.0000.0276.22
4.3.10.0000.0306.22
4.3.00.0100.0276.70

preferences:
49.97 ms | 401 KiB | 5 Q