3v4l.org

run code in 300+ PHP versions simultaneously
<?php $href = "test#content"; $href = explode('#', $href); $href = $href['0']; echo $href;

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.5.10.0070.00120.20
8.5.00.0150.01020.00
8.4.150.0020.00014.05
8.4.140.0120.00917.41
8.4.130.0070.00417.95
8.4.120.0100.00520.41
8.4.110.0160.00322.33
8.4.100.0040.00420.27
8.4.90.0100.00720.63
8.4.80.0140.00719.50
8.4.70.0060.00319.45
8.4.60.0110.01018.73
8.4.50.0090.00619.59
8.4.40.0060.00318.70
8.4.30.0060.01419.35
8.4.20.0060.00317.79
8.4.10.0030.00617.68
8.3.280.0130.00918.25
8.3.270.0100.00916.45
8.3.260.0140.00716.41
8.3.250.0140.00518.79
8.3.240.0110.00816.57
8.3.230.0130.00616.45
8.3.220.0130.00718.60
8.3.210.0100.00916.51
8.3.200.0030.00616.63
8.3.190.0040.00417.26
8.3.180.0110.00816.34
8.3.170.0000.00818.79
8.3.160.0090.00918.07
8.3.150.0110.00720.50
8.3.140.0030.00616.51
8.3.130.0040.00418.13
8.3.120.0130.00718.57
8.3.110.0120.00020.94
8.3.100.0080.00024.06
8.3.90.0100.01026.77
8.3.80.0040.00816.63
8.3.70.0120.00416.58
8.3.60.0120.00418.15
8.3.50.0100.00921.92
8.3.40.0040.01118.66
8.3.30.0060.00918.89
8.3.20.0000.00920.25
8.3.10.0040.00423.53
8.3.00.0040.00419.55
8.2.290.0120.00820.39
8.2.280.0130.00718.30
8.2.270.0130.00617.35
8.2.260.0070.00416.86
8.2.250.0030.00616.67
8.2.240.0000.00918.98
8.2.230.0080.00322.58
8.2.220.0000.00837.54
8.2.210.0070.01026.77
8.2.200.0030.00616.48
8.2.190.0090.00916.58
8.2.180.0070.01118.29
8.2.170.0040.01122.96
8.2.160.0130.00320.38
8.2.150.0030.00624.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0040.00421.13
8.2.110.0090.00019.29
8.2.100.0000.01217.84
8.2.90.0060.00319.20
8.2.80.0030.00517.97
8.2.70.0080.00017.63
8.2.60.0040.00417.90
8.2.50.0030.00818.07
8.2.40.0030.00619.91
8.2.30.0000.00817.99
8.2.20.0060.00317.72
8.2.10.0030.00518.02
8.2.00.0060.00318.11
8.1.330.0120.00621.94
8.1.320.0150.00616.25
8.1.310.0060.00316.87
8.1.300.0030.00618.38
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0110.00720.19
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0070.01020.47
8.1.230.0110.00017.65
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0050.00318.45
8.1.160.0000.00718.85
8.1.150.0040.00418.81
8.1.140.0040.00419.38
8.1.130.0050.00217.58
8.1.120.0000.00817.44
8.1.110.0000.00817.43
8.1.100.0040.00417.29
8.1.90.0000.00717.38
8.1.80.0000.00817.33
8.1.70.0090.00017.23
8.1.60.0030.00617.53
8.1.50.0030.00617.45
8.1.40.0000.00917.45
8.1.30.0080.00017.48
8.1.20.0000.00717.60
8.1.10.0050.00217.54
8.1.00.0000.00817.43
8.0.300.0040.00718.77
8.0.290.0000.00816.75
8.0.280.0070.00020.24
8.0.270.0000.00716.68
8.0.260.0000.00717.25
8.0.250.0000.00716.92
8.0.240.0000.00716.84
8.0.230.0000.00716.81
8.0.220.0050.00316.71
8.0.210.0030.00316.75
8.0.200.0030.00316.71
8.0.190.0000.00816.75
8.0.180.0000.00716.75
8.0.170.0000.00816.87
8.0.160.0040.00416.83
8.0.150.0040.00416.79
8.0.140.0030.00516.66
8.0.130.0060.00013.30
8.0.120.0070.00016.76
8.0.110.0000.00816.73
8.0.100.0050.00216.70
8.0.90.0040.00416.71
8.0.80.0070.01416.72
8.0.70.0040.00416.92
8.0.60.0040.00416.88
8.0.50.0000.00716.80
8.0.30.0060.01216.98
8.0.20.0140.00517.40
8.0.10.0030.00616.79
8.0.00.0130.00916.95
7.4.330.0050.00016.74
7.4.320.0000.00816.29
7.4.300.0000.00616.52
7.4.290.0030.00316.44
7.4.280.0000.00916.43
7.4.270.0000.00716.42
7.4.260.0070.00016.28
7.4.250.0040.00416.54
7.4.240.0050.00216.54
7.4.230.0040.00416.43
7.4.220.0090.01616.57
7.4.210.0090.00916.57
7.4.200.0000.00816.37
7.4.160.0110.00616.51
7.4.150.0110.00717.40
7.4.140.0130.01117.86
7.4.130.0110.00816.43
7.4.120.0060.01016.45
7.4.110.0060.01316.43
7.4.100.0130.00616.58
7.4.90.0030.01316.51
7.4.80.0100.01319.39
7.4.70.0160.00016.57
7.4.60.0080.00816.39
7.4.50.0090.00616.39
7.4.40.0070.01016.52
7.4.30.0080.00816.68
7.4.00.0060.00614.91
7.3.330.0000.00613.09
7.3.320.0000.00513.16
7.3.310.0000.00716.20
7.3.300.0000.00716.14
7.3.290.0080.00816.26
7.3.280.0110.00716.24
7.3.270.0060.01217.40
7.3.260.0070.01016.26
7.3.240.0110.00616.39
7.3.230.0080.00816.39
7.3.210.0070.01516.50
7.3.200.0060.01516.22
7.3.190.0080.00916.57
7.3.180.0130.00316.27
7.3.170.0070.01316.54
7.3.160.0110.01116.77
7.3.00.0030.01016.82
7.2.330.0160.00716.32
7.2.320.0070.01416.46
7.2.310.0000.01816.64
7.2.300.0040.01316.21
7.2.290.0040.01116.69
7.2.130.0040.00716.95
7.2.120.0030.01016.71
7.2.110.0090.00616.89
7.2.100.0030.00917.05
7.2.90.0130.00316.63
7.2.80.0060.00916.88
7.2.70.0060.00616.67
7.2.60.0110.00616.67
7.2.50.0140.01016.98
7.2.40.0030.00616.63
7.2.30.0080.00316.76
7.2.20.0070.00317.05
7.2.10.0060.01016.60
7.2.00.0110.00718.18
7.1.250.0070.00315.72
7.1.240.0170.00315.87
7.1.230.0120.00015.84
7.1.220.0150.00315.77
7.1.210.0040.01115.71
7.1.200.0030.01115.75
7.1.190.0000.01715.80
7.1.180.0070.00715.73
7.1.170.0170.00315.73
7.1.160.0070.00715.87
7.1.150.0000.01415.65
7.1.140.0060.00315.70
7.1.130.0060.00615.72
7.1.120.0090.00815.83
7.1.110.0030.00715.82
7.1.100.0060.00517.03
7.1.90.0070.00715.83
7.1.80.0030.01015.99
7.1.70.0070.00616.48
7.1.60.0080.01017.39
7.1.50.0030.00916.34
7.1.40.0000.01315.75
7.1.30.0030.01215.52
7.1.20.0070.00715.91
7.1.10.0080.00615.57
7.1.00.0060.04019.03
7.0.330.0130.00615.50
7.0.320.0120.00615.34
7.0.310.0140.00715.23
7.0.300.0080.00415.44
7.0.290.0040.01115.16
7.0.280.0150.00415.33
7.0.270.0060.00915.57
7.0.260.0040.01115.35
7.0.250.0130.00615.48
7.0.240.0050.00515.29
7.0.230.0040.01115.34
7.0.220.0160.00015.38
7.0.210.0100.01015.46
7.0.200.0070.00916.08
7.0.190.0000.00815.40
7.0.180.0070.00715.40
7.0.170.0130.00315.53
7.0.160.0090.00315.25
7.0.150.0150.00015.50
7.0.140.0090.00315.38
7.0.130.0000.00715.64
7.0.120.0030.00615.29
7.0.110.0100.00015.24
7.0.100.0100.00015.41
7.0.90.0000.01015.45
7.0.80.0030.00615.25
7.0.70.0040.00815.51
7.0.60.0070.04417.57
7.0.50.0030.02316.61
7.0.40.0040.02516.87
7.0.30.0160.02316.74
7.0.20.0220.03716.69
7.0.10.0070.04416.71
7.0.00.0050.04116.80
5.6.380.0060.00614.35
5.6.370.0040.00414.30
5.6.360.0000.00914.04
5.6.350.0040.01114.42
5.6.340.0130.00014.38
5.6.330.0030.01014.37
5.6.320.0110.00314.35
5.6.310.0030.01014.09
5.6.300.0000.01014.29
5.6.290.0040.01114.28
5.6.280.0030.02117.78
5.6.270.0110.00414.26
5.6.260.0100.00014.43
5.6.250.0070.00314.30
5.6.240.0000.01114.25
5.6.230.0060.00614.28
5.6.220.0000.00814.35
5.6.210.0120.03917.38
5.6.200.0050.04616.20
5.6.190.0080.04317.32
5.6.180.0060.04317.34
5.6.170.0110.02717.46
5.6.160.0120.04017.45
5.6.150.0080.02716.22
5.6.140.0070.04316.21
5.6.130.0050.03616.23
5.6.120.0100.03517.67
5.6.110.0050.02917.62
5.6.100.0050.04417.52
5.6.90.0050.04017.68
5.6.80.0060.04117.35
5.6.70.0030.01214.19
5.6.60.0070.00714.25
5.6.50.0000.00814.25
5.6.40.0040.01114.14
5.6.30.0000.01614.20
5.6.20.0070.00714.16
5.6.10.0080.00414.32
5.6.00.0120.00014.04
5.5.380.0000.00711.23
5.5.370.0040.00411.18
5.5.360.0070.00011.18
5.5.350.2210.02115.80
5.5.340.0050.04314.55
5.5.330.0060.02115.69
5.5.320.0160.04015.68
5.5.310.0120.04015.73
5.5.300.0030.02314.58
5.5.290.0100.03214.55
5.5.280.0070.02915.91
5.5.270.0030.03215.90
5.5.260.0030.02516.02
5.5.250.0030.02315.83
5.5.240.0110.03815.65
5.5.230.0030.00311.18
5.5.220.0040.00411.18
5.5.210.0120.00011.18
5.5.200.0040.00411.18
5.5.190.0060.00611.18
5.5.180.0060.00611.18
5.5.170.0000.01211.18
5.5.160.0000.01311.18
5.5.150.0000.00711.18
5.5.140.0030.00911.20
5.5.130.0000.01011.18
5.5.120.0040.00411.18
5.5.110.0000.01411.18
5.5.100.0030.00711.18
5.5.90.0040.00411.18
5.5.80.0000.01111.19
5.5.70.0050.00311.18
5.5.60.0000.00911.18
5.5.50.0040.01111.18
5.5.40.0070.00411.18
5.5.30.0000.00611.18
5.5.20.0090.00011.18
5.5.10.0000.01111.18
5.5.00.0060.00011.18

preferences:
168.92 ms | 403 KiB | 5 Q