3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = "some html More <Head> Something <title> Example.com</title> </Head> Foo bar"; $pos = stripos($html, "<title>")+7; echo substr($html, $pos, stripos($html, "</title>")-$pos);

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.01416.58
8.3.60.0120.00316.75
8.3.50.0150.00521.22
8.3.40.0070.01418.66
8.3.30.0040.01118.55
8.3.20.0070.00021.90
8.3.10.0040.00422.09
8.3.00.0040.00423.58
8.2.180.0110.00718.07
8.2.170.0040.01122.96
8.2.160.0110.00322.27
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0070.00318.97
8.2.110.0070.00719.30
8.2.100.0110.00017.84
8.2.90.0000.00817.63
8.2.80.0040.00419.00
8.2.70.0040.00418.04
8.2.60.0080.00018.03
8.2.50.0000.00818.10
8.2.40.0050.00219.42
8.2.30.0080.00019.10
8.2.20.0040.00417.94
8.2.10.0070.00019.16
8.2.00.0020.00519.23
8.1.280.0090.00925.92
8.1.270.0080.00022.19
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.86
8.1.230.0000.01121.02
8.1.220.0080.00017.76
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0040.00417.10
8.1.180.0030.00618.10
8.1.170.0000.00818.64
8.1.160.0000.00718.82
8.1.150.0000.00718.79
8.1.140.0000.00723.91
8.1.130.0030.00520.00
8.1.120.0000.00817.39
8.1.110.0000.00917.40
8.1.100.0040.00417.40
8.1.90.0000.00817.35
8.1.80.0040.00417.45
8.1.70.0050.00517.37
8.1.60.0040.00417.55
8.1.50.0000.01117.47
8.1.40.0080.00017.35
8.1.30.0000.00817.59
8.1.20.0000.00817.51
8.1.10.0000.00817.53
8.1.00.0040.00417.50
8.0.300.0070.00019.78
8.0.290.0040.00416.75
8.0.280.0000.00718.48
8.0.270.0070.00017.21
8.0.260.0000.00619.95
8.0.250.0050.00316.80
8.0.240.0040.00416.82
8.0.230.0000.00716.93
8.0.220.0030.00316.81
8.0.210.0000.00716.69
8.0.200.0000.00716.91
8.0.190.0000.00716.87
8.0.180.0070.00016.82
8.0.170.0060.00316.80
8.0.160.0040.00416.85
8.0.150.0040.00416.84
8.0.140.0040.00416.81
8.0.130.0050.00013.32
8.0.120.0030.00316.67
8.0.110.0030.00516.65
8.0.100.0000.00716.89
8.0.90.0050.00316.76
8.0.80.0100.00516.78
8.0.70.0000.00716.77
8.0.60.0080.00016.73
8.0.50.0040.00416.86
8.0.30.0090.00917.13
8.0.20.0170.01016.92
8.0.10.0000.00716.97
8.0.00.0110.00816.54
7.4.330.0050.00015.55
7.4.320.0000.00616.53
7.4.300.0050.00316.35
7.4.290.0070.00016.37
7.4.280.0000.00816.50
7.4.270.0030.00316.38
7.4.260.0000.00716.41
7.4.250.0030.00316.34
7.4.240.0020.00516.54
7.4.230.0000.00716.24
7.4.220.0070.00016.63
7.4.210.0100.00416.47
7.4.200.0000.00716.43
7.4.130.0120.00716.36
7.4.120.0190.00616.52
7.4.110.0180.00016.32
7.4.100.0090.00616.50
7.4.90.0150.00316.46
7.4.80.0120.00619.39
7.4.70.0100.00716.36
7.4.60.0100.01016.41
7.4.50.0060.00916.29
7.4.40.0040.01216.18
7.4.00.0070.01014.80
7.3.330.0030.00313.10
7.3.320.0000.00513.02
7.3.310.0030.00316.25
7.3.300.0030.00316.30
7.3.290.0050.00916.24
7.3.280.0070.00716.30
7.3.260.0100.00916.48
7.3.230.0120.01216.28
7.3.210.0090.00916.32
7.3.200.0030.01216.29
7.3.190.0120.00816.56
7.3.180.0090.00716.56
7.3.170.0060.01316.32
7.3.160.0110.01116.40
7.3.120.0110.00714.89
7.3.110.0080.01014.82
7.3.100.0030.01114.90
7.3.90.0060.01014.65
7.3.80.0060.00414.65
7.3.70.0060.00614.76
7.3.60.0060.00914.75
7.3.50.0060.00914.65
7.3.40.0080.00614.71
7.3.30.0090.00314.61
7.3.20.0080.00815.99
7.3.10.0090.00315.96
7.3.00.0090.00515.97
7.2.330.0140.00416.63
7.2.320.0100.01316.30
7.2.310.0140.00316.66
7.2.300.0090.00916.57
7.2.290.0080.00816.61
7.2.250.0050.01415.04
7.2.240.0130.00514.73
7.2.230.0070.00914.92
7.2.220.0040.01314.90
7.2.210.0100.00314.90
7.2.200.0070.00914.96
7.2.190.0030.01014.81
7.2.180.0110.00314.75
7.2.170.0050.00614.89
7.2.160.0080.00515.09
7.2.150.0090.00314.94
7.2.140.0090.00914.91
7.2.130.0110.00714.62
7.2.120.0070.01015.11
7.2.110.0140.00314.91
7.2.100.0090.00614.96
7.2.90.0030.00914.76
7.2.80.0090.00614.79
7.2.70.0820.00714.82
7.2.60.0030.01614.70
7.2.50.0100.00314.76
7.2.40.0060.01914.84
7.2.30.0190.00715.07
7.2.20.0180.00614.59
7.2.10.0140.00614.93
7.2.00.0150.00614.79
7.1.330.0050.01015.68
7.1.320.0060.00615.73
7.1.310.0020.01015.81
7.1.300.0050.00815.07
7.1.290.0080.00614.95
7.1.280.0080.00615.16
7.1.270.0060.00815.21
7.1.260.0020.01015.07
7.1.250.0110.00613.60

preferences:
50.38 ms | 401 KiB | 5 Q