3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = "/var/www/foo"; var_dump($pаth."/user/supplied/path"); // prints /user/supplied/path, and emits a notice

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.0130.00716.46
8.3.50.0120.00722.90
8.3.40.0070.00718.71
8.3.30.0090.00518.84
8.3.20.0070.00020.21
8.3.10.0050.00323.48
8.3.00.0040.00419.25
8.2.180.0150.00716.75
8.2.170.0110.00422.96
8.2.160.0090.00620.43
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00020.97
8.2.110.0070.00320.57
8.2.100.0000.01118.22
8.2.90.0030.00519.26
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0080.00017.93
8.2.50.0000.00818.07
8.2.40.0080.00018.16
8.2.30.0100.00017.98
8.2.20.0070.00017.68
8.2.10.0040.00418.00
8.2.00.0000.00717.61
8.1.280.0130.00725.92
8.1.270.0050.00323.87
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0090.00022.14
8.1.230.0080.00419.02
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0050.00221.82
8.1.150.0050.00318.69
8.1.140.0030.00517.37
8.1.130.0040.00417.80
8.1.120.0070.00017.32
8.1.110.0020.00517.38
8.1.100.0000.00717.34
8.1.90.0050.00317.41
8.1.80.0000.00717.35
8.1.70.0070.00017.38
8.1.60.0030.00617.51
8.1.50.0080.00017.41
8.1.40.0080.00017.31
8.1.30.0060.00317.59
8.1.20.0050.00217.59
8.1.10.0040.00417.56
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00818.48
8.0.270.0000.00717.26
8.0.260.0030.00317.25
8.0.250.0030.00316.94
8.0.240.0040.00416.88
8.0.230.0040.00416.95
8.0.220.0000.00616.91
8.0.210.0000.00816.98
8.0.200.0000.00616.89
8.0.190.0050.00216.89
8.0.180.0070.00016.89
8.0.170.0000.00816.89
8.0.160.0000.00716.90
8.0.150.0050.00316.86
8.0.140.0030.00516.80
8.0.130.0030.00313.43
8.0.120.0060.00316.91
8.0.110.0020.00516.85
8.0.100.0040.00416.77
8.0.90.0030.00416.96
8.0.80.0160.00016.82
8.0.70.0070.00016.93
8.0.60.0040.00417.00
8.0.50.0070.00016.88
8.0.30.0140.00617.08
8.0.20.0110.00817.40
8.0.10.0070.00016.88
8.0.00.0080.01016.85
7.4.330.0000.00715.00
7.4.320.0060.00016.42
7.4.300.0030.00316.42
7.4.290.0060.00016.47
7.4.280.0000.00816.34
7.4.270.0040.00416.36
7.4.260.0030.00316.37
7.4.250.0000.00716.25
7.4.240.0030.00516.44
7.4.230.0040.00416.42
7.4.220.0030.01416.40
7.4.210.0070.00716.50
7.4.200.0030.00316.61
7.4.160.0120.00616.58
7.4.150.0060.01217.40
7.4.140.0150.00717.86
7.4.130.0110.00616.45
7.4.120.0090.00816.48
7.4.110.0070.01416.34
7.4.100.0150.00916.46
7.4.90.0060.01016.61
7.4.80.0120.00919.39
7.4.70.0080.00816.52
7.4.60.0070.01016.61
7.4.50.0050.00316.48
7.4.40.0130.00316.37
7.4.30.0060.01016.45
7.4.00.0080.00714.80
7.3.330.0000.00613.07
7.3.320.0060.00013.09
7.3.310.0030.00316.24
7.3.300.0070.00016.25
7.3.290.0110.00316.33
7.3.280.0070.00716.25
7.3.270.0140.00317.40
7.3.260.0070.01716.27
7.3.250.0090.00716.32
7.3.240.0040.01416.20
7.3.230.0160.00016.39
7.3.210.0060.01216.16
7.3.200.0130.00619.39
7.3.190.0190.00316.09
7.3.180.0030.01416.31
7.3.170.0030.01916.34
7.3.160.0030.01316.40
7.3.120.0050.01214.53
7.3.110.0020.01414.84
7.3.100.0060.00814.61
7.3.90.0060.00914.66
7.3.80.0030.01214.57
7.3.70.0050.00714.84
7.3.60.0080.00714.75
7.3.50.0030.01014.66
7.3.40.0050.01114.65
7.3.30.0020.00814.58
7.3.20.0040.00916.64
7.3.10.0080.00616.54
7.3.00.0100.00616.29
7.2.330.0120.00616.37
7.2.320.0070.01016.63
7.2.310.0100.00716.47
7.2.300.0140.00416.36
7.2.290.0050.01116.22
7.2.250.0060.01314.98
7.2.240.0060.01514.78
7.2.230.0120.00515.03
7.2.220.0080.01015.02
7.2.210.0060.00714.69
7.2.200.0090.00314.91
7.2.190.0070.00514.88
7.2.180.0040.00914.82
7.2.170.0060.00614.94
7.2.130.0070.00716.65
7.2.120.0060.00916.54
7.2.110.0140.00316.50
7.2.100.0120.00816.84
7.2.90.0030.01016.53
7.2.80.0100.00816.55
7.2.70.0060.01216.48
7.2.60.0190.00016.57
7.2.50.0120.01216.35
7.2.40.0160.00016.55
7.2.30.0040.01116.53
7.2.20.0040.01116.50
7.2.10.0120.00916.42
7.2.00.0060.01017.95
7.1.330.0030.01215.75
7.1.320.0070.00515.73
7.1.310.0080.00815.66
7.1.300.0030.00915.62
7.1.290.0050.00715.63
7.1.280.0050.01115.41
7.1.270.0060.00915.67
7.1.260.0020.01015.52
7.1.250.0070.00415.62
7.1.100.0080.00318.12
7.1.70.0030.00316.81
7.1.60.0050.00819.46
7.1.50.0060.01916.86
7.1.00.0030.07722.45
7.0.200.0000.00816.41
7.0.140.0030.07321.95
7.0.60.0070.03719.91
7.0.50.0070.08017.85
7.0.40.0170.03020.31
7.0.30.0270.07320.34
7.0.20.0200.05720.17
7.0.10.0070.04019.98
7.0.00.0030.05320.03
5.6.280.0000.07720.98
5.6.210.0270.06320.56
5.6.200.0100.03318.19
5.6.190.0130.06720.35
5.6.180.3700.04020.67
5.6.170.0230.04020.61
5.6.160.0000.04720.40
5.6.150.0130.06718.09
5.6.140.0070.04018.18
5.6.130.0170.06718.19
5.6.120.0070.07020.71
5.6.110.0100.07321.13
5.6.100.0100.06320.95
5.6.90.0100.06720.96
5.6.80.0070.06320.52
5.5.350.0200.06720.43
5.5.340.0100.04318.01
5.5.330.0070.07320.15
5.5.320.0470.07020.28
5.5.310.0300.06320.41
5.5.300.0000.05317.89
5.5.290.0070.08317.93
5.5.280.0070.04020.75
5.5.270.0100.08720.74
5.5.260.0070.08020.75
5.5.250.0130.08020.65
5.5.240.0200.06320.36
5.4.450.2100.04319.21
5.4.440.2130.03719.24
5.4.430.2170.04019.45
5.4.420.2530.04319.38
5.4.410.2270.04318.98
5.4.400.2570.03718.92
5.4.390.2200.04019.08
5.4.380.2170.03019.08
5.4.370.2070.04019.25
5.4.360.2200.03718.93
5.4.350.2200.04019.22
5.4.340.2400.03319.13
5.4.320.2230.02719.25
5.4.310.2470.03719.13
5.4.300.2230.04019.07
5.4.290.2130.04018.93
5.4.280.2130.03319.09
5.4.270.2230.04019.07
5.4.260.2270.03719.13
5.4.250.2330.04018.80
5.4.240.2070.04019.12
5.4.230.2070.03318.88
5.4.220.2130.03719.12
5.4.210.2100.03019.08
5.4.200.2300.04019.08
5.4.190.0930.05018.92
5.4.180.0100.07019.22
5.4.170.0000.06318.88
5.4.160.0230.06719.05
5.4.150.2070.03718.75
5.4.140.2030.04016.30
5.4.130.2370.04016.32
5.4.120.2430.03716.43
5.4.110.0030.07316.34
5.4.100.0100.05016.43
5.4.90.0000.04716.40
5.4.80.0970.04316.17
5.4.70.0030.04016.46
5.4.60.0000.04716.04
5.4.50.0030.03316.16
5.4.40.1970.03716.36
5.4.30.2100.04016.38
5.4.20.2400.04016.46
5.4.10.2370.03716.36
5.4.00.2330.03715.62
5.3.290.2100.04314.67
5.3.280.0170.05014.55
5.3.270.0170.06314.55
5.3.260.0300.06314.44
5.3.250.0230.07014.65
5.3.240.0100.04314.45
5.3.230.0200.04014.45
5.3.220.0200.04014.66
5.3.210.0200.07314.58
5.3.200.0200.03314.61
5.3.190.0370.07314.66
5.3.180.0300.03714.60
5.3.170.0130.06314.61
5.3.160.0200.03314.46
5.3.150.0130.07714.41
5.3.140.0170.07014.50
5.3.130.0330.06314.37
5.3.120.0230.05314.38
5.3.110.0270.07014.64
5.3.100.0100.04313.88
5.3.90.0170.04713.88
5.3.80.0270.02714.06
5.3.70.0300.06013.95
5.3.60.0200.06713.84
5.3.50.0130.04714.03
5.3.40.0070.04013.89
5.3.30.0230.06313.75
5.3.20.0130.04313.54
5.3.10.0230.03013.69
5.3.00.0130.04713.41
5.2.170.0100.03311.15
5.2.160.0100.03010.99
5.2.150.0100.03310.99
5.2.140.0130.03011.03
5.2.130.0200.05711.18
5.2.120.0200.03311.11
5.2.110.0200.05711.04
5.2.100.0130.03011.00
5.2.90.0100.04011.04
5.2.80.0130.03011.13
5.2.70.0100.03310.98
5.2.60.0200.02310.98
5.2.50.0130.03010.88
5.2.40.0130.05310.92
5.2.30.0170.06011.13
5.2.20.0130.03311.11
5.2.10.0130.02710.79
5.2.00.0200.03310.73
5.1.60.0130.03010.11
5.1.50.0100.02310.11
5.1.40.0170.0409.89
5.1.30.0100.02710.33
5.1.20.0130.02310.50
5.1.10.0100.0309.99
5.1.00.0070.0379.96
5.0.50.0130.0238.63
5.0.40.0100.0338.32
5.0.30.0070.0308.09
5.0.20.0070.0438.16
5.0.10.0030.0208.14
5.0.00.0130.0378.05
4.4.90.0000.0207.46
4.4.80.0030.0307.46
4.4.70.0070.0207.46
4.4.60.0070.0207.46
4.4.50.0070.0377.46
4.4.40.0070.0237.46
4.4.30.0030.0177.46
4.4.20.0130.0307.46
4.4.10.0070.0207.46
4.4.00.0100.0337.46
4.3.110.0030.0207.46
4.3.100.0030.0237.46
4.3.90.0070.0207.46
4.3.80.0070.0277.46
4.3.70.0030.0207.46
4.3.60.0070.0137.46
4.3.50.0030.0177.46
4.3.40.0100.0237.46
4.3.30.0000.0207.46
4.3.20.0000.0177.46
4.3.10.0070.0137.46
4.3.00.0030.0137.46

preferences:
41.51 ms | 401 KiB | 5 Q