3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = "some html More <Head> Something <title> Example.com</title> <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.60.0090.00616.63
8.3.50.0130.00621.16
8.3.40.0090.01218.84
8.3.30.0070.00718.68
8.3.20.0040.00421.75
8.3.10.0050.00322.04
8.3.00.0000.00723.65
8.2.180.0060.00916.63
8.2.170.0040.01122.96
8.2.160.0110.00422.02
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0050.00520.95
8.2.100.0000.01217.59
8.2.90.0040.00422.28
8.2.80.0080.00019.17
8.2.70.0080.00017.80
8.2.60.0030.00618.03
8.2.50.0000.00818.10
8.2.40.0000.00719.39
8.2.30.0050.00219.20
8.2.20.0000.00717.93
8.2.10.0040.00419.12
8.2.00.0080.00019.24
8.1.280.0070.01025.92
8.1.270.0030.00522.18
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0030.00622.34
8.1.230.0080.00320.89
8.1.220.0050.00317.78
8.1.210.0030.00520.70
8.1.200.0090.00017.22
8.1.190.0030.00617.09
8.1.180.0040.00418.10
8.1.170.0080.00018.61
8.1.160.0000.00718.82
8.1.150.0040.00418.91
8.1.140.0040.00422.19
8.1.130.0060.00320.12
8.1.120.0070.00017.30
8.1.110.0030.00717.35
8.1.100.0040.00417.36
8.1.90.0070.00017.44
8.1.80.0030.00517.30
8.1.70.0070.00417.27
8.1.60.0040.00417.55
8.1.50.0060.00617.41
8.1.40.0030.00517.48
8.1.30.0030.00517.56
8.1.20.0000.00817.59
8.1.10.0080.00017.46
8.1.00.0000.00717.42
8.0.300.0020.00520.04
8.0.290.0060.00316.61
8.0.280.0030.00318.48
8.0.270.0000.00717.17
8.0.260.0000.00619.98
8.0.250.0050.00216.85
8.0.240.0000.01016.90
8.0.230.0000.00716.93
8.0.220.0040.00416.75
8.0.210.0000.00816.71
8.0.200.0000.00716.79
8.0.190.0050.00316.88
8.0.180.0070.00016.83
8.0.170.0060.00616.84
8.0.160.0040.00416.90
8.0.150.0040.00416.74
8.0.140.0000.00816.65
8.0.130.0000.00713.19
8.0.120.0050.00316.75
8.0.110.0030.00516.80
8.0.100.0070.00016.89
8.0.90.0090.00016.73
8.0.80.0090.00716.80
8.0.70.0040.00416.73
8.0.60.0040.00416.83
8.0.50.0000.00716.66
8.0.30.0070.01416.94
8.0.20.0130.00617.04
8.0.10.0000.00717.00
8.0.00.0100.00716.77
7.4.330.0000.00515.55
7.4.320.0000.00616.59
7.4.300.0030.00516.58
7.4.290.0070.00016.36
7.4.280.0070.00016.46
7.4.270.0040.00416.30
7.4.260.0000.00716.38
7.4.250.0000.00816.39
7.4.240.0020.00516.55
7.4.230.0030.00316.34
7.4.220.0000.00716.50
7.4.210.0070.00716.51
7.4.200.0040.00416.26
7.4.130.0160.00916.55
7.4.120.0160.00416.41
7.4.110.0130.00516.38
7.4.100.0090.00616.43
7.4.90.0070.01116.47
7.4.80.0100.01419.39
7.4.70.0130.00316.36
7.4.60.0130.00316.50
7.4.50.0000.01516.28
7.4.40.0110.00516.63
7.4.00.0070.01014.97
7.3.330.0060.00013.01
7.3.320.0000.00513.17
7.3.310.0030.00316.21
7.3.300.0000.00616.28
7.3.290.0100.00316.24
7.3.280.0100.01016.09
7.3.260.0060.01116.41
7.3.230.0000.02016.20
7.3.210.0100.01016.25
7.3.200.0140.00716.46
7.3.190.0090.00616.21
7.3.180.0030.01216.57
7.3.170.0090.01516.21
7.3.160.0140.00716.24
7.3.120.0030.01314.44
7.3.110.0090.00914.58
7.3.100.0090.00314.73
7.3.90.0060.00314.77
7.3.80.0110.00714.58
7.3.70.0060.00914.64
7.3.60.0070.00514.78
7.3.50.0060.00814.69
7.3.40.0050.01414.61
7.3.30.0110.00314.76
7.3.20.0080.01015.47
7.3.10.0100.00715.64
7.3.00.0120.00415.69
7.2.330.0060.01216.30
7.2.320.0110.01116.57
7.2.310.0050.01116.27
7.2.300.0070.01016.54
7.2.290.0060.01516.29
7.2.250.0030.01615.06
7.2.240.0040.01515.09
7.2.230.0060.01015.16
7.2.220.0060.00615.09
7.2.210.0060.00614.88
7.2.200.0080.00714.93
7.2.190.0090.00814.70
7.2.180.0060.00914.77
7.2.170.0050.00914.77
7.2.160.0050.00515.01
7.2.150.0110.00914.59
7.2.140.0100.00615.06
7.2.130.0170.00714.77
7.2.120.0200.00014.83
7.2.110.0120.00915.00
7.2.100.0110.00414.80
7.2.90.0120.00914.79
7.2.80.0090.00914.85
7.2.70.0080.00814.78
7.2.60.0150.01114.65
7.2.50.0150.00915.00
7.2.40.0190.00715.00
7.2.30.0060.00914.93
7.2.20.1000.00714.56
7.2.10.0150.00414.88
7.2.00.0190.00914.95
7.1.330.0030.01215.55
7.1.320.0030.00915.70
7.1.310.0070.00715.70
7.1.300.0090.00614.71
7.1.290.0090.00514.70
7.1.280.0090.00514.76
7.1.270.0060.00614.77
7.1.260.0090.01114.76
7.1.250.0090.00613.60

preferences:
73.81 ms | 401 KiB | 5 Q