3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<str <td width="551"> <p><strong>Full Time Faculty<br> <strong></strong>Assistant Professor</strong></p>Doctorate of Business Administration<br><br> <strong>Phone</strong>: +88 01756567676<br> <strong>Email</strong>: frank.wade@email.com<br> <strong>Office</strong>: NAC739<br> <br><p><b>Curriculum Vitae</b></p></td> str; // We explode $str and use '</strong>' as delimiter and get only the part of result that we need $lines = array_slice(explode('</strong>', $str), 3, 3); // Define a function to remove extra text from left and right of our so called lines function stripLine($line) { // ltrim ' ;' characters and remove everything after (and including) '<br>' return preg_replace('/<br>.*/is', '', ltrim($line, ' :')); } $lines = array_map('stripLine', $lines); print_r($lines);

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.4.120.0100.00720.68
8.4.110.0120.00822.44
8.4.100.0120.00818.92
8.4.90.0070.00918.93
8.4.80.0040.00519.77
8.4.70.0090.01117.98
8.4.60.0110.00918.57
8.4.50.0060.00517.69
8.4.40.0100.01017.77
8.4.30.0040.00417.61
8.4.20.0100.01018.37
8.4.10.0090.00017.90
8.3.250.0110.00818.77
8.3.240.0140.00717.05
8.3.230.0070.00416.59
8.3.220.0110.00717.28
8.3.210.0140.00616.67
8.3.200.0060.00216.84
8.3.190.0140.00516.88
8.3.180.0060.00416.73
8.3.170.0120.00618.76
8.3.160.0150.00316.62
8.3.150.0120.00620.61
8.3.140.0030.00516.55
8.3.130.0030.00618.41
8.3.120.0150.00418.89
8.3.110.0030.00620.94
8.3.100.0060.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00318.55
8.3.70.0150.00618.28
8.3.60.0120.00618.53
8.3.50.0060.00818.12
8.3.40.0080.00818.97
8.3.30.0030.01318.93
8.3.20.0060.00318.62
8.3.10.0040.00423.48
8.3.00.0070.00023.50
8.2.290.0100.00720.67
8.2.280.0110.00822.08
8.2.270.0040.00417.24
8.2.260.0000.00719.07
8.2.250.0080.00016.59
8.2.240.0090.00016.75
8.2.230.0060.01522.58
8.2.220.0030.00637.54
8.2.210.0080.00026.77
8.2.200.0060.00316.50
8.2.190.0100.01016.58
8.2.180.0120.00618.41
8.2.170.0140.00022.96
8.2.160.0140.00020.50
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0050.00322.26
8.2.120.0050.00326.35
8.2.110.0090.00022.05
8.2.100.0040.00819.64
8.2.90.0030.00517.75
8.2.80.0080.00018.86
8.2.70.0060.00319.48
8.2.60.0040.00417.75
8.2.50.0040.00417.75
8.2.40.0040.00419.48
8.2.30.0020.00520.66
8.2.20.0040.00418.09
8.2.10.0000.00718.16
8.2.00.0040.00419.52
8.1.330.0070.01121.91
8.1.320.0160.00416.23
8.1.310.0040.00416.65
8.1.300.0080.00618.07
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00620.52
8.1.230.0060.00617.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00017.35
8.1.190.0040.00417.35
8.1.180.0070.00218.10
8.1.170.0000.00918.63
8.1.160.0000.00718.86
8.1.150.0000.00818.79
8.1.140.0040.00418.95
8.1.130.0040.00417.45
8.1.120.0000.00717.58
8.1.110.0040.00417.59
8.1.100.0040.00417.48
8.1.90.0040.00417.59
8.1.80.0030.00517.48
8.1.70.0030.00617.62
8.1.60.0040.00417.57
8.1.50.0080.00017.55
8.1.40.0040.00417.63
8.1.30.0090.00017.80
8.1.20.0040.00417.58
8.1.10.0050.00317.47
8.1.00.0050.00317.55
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0070.00018.34
8.0.270.0060.00317.12
8.0.260.0070.00416.99
8.0.250.0000.00717.09
8.0.240.0030.00317.12
8.0.230.0030.00317.00
8.0.220.0000.00817.11
8.0.210.0070.00017.12
8.0.200.0000.00717.14
8.0.190.0040.00416.96
8.0.180.0000.00917.08
8.0.170.0040.00417.04
8.0.160.0000.00816.97
8.0.150.0000.00816.88
8.0.140.0040.00417.05
8.0.130.0030.00313.51
8.0.120.0030.00516.88
8.0.110.0040.00417.08
8.0.100.0000.00717.08
8.0.90.0070.00016.85
8.0.80.0070.01417.07
8.0.70.0070.00317.09
8.0.60.0030.00417.06
8.0.50.0030.00616.91
8.0.30.0090.00817.19
8.0.20.0050.01417.40
8.0.10.0040.00417.06
8.0.00.0100.01216.93
7.4.330.0000.00515.55
7.4.320.0060.00016.56
7.4.300.0030.00316.74
7.4.290.0030.00316.80
7.4.280.0040.00416.66
7.4.270.0030.00716.79
7.4.260.0000.00716.60
7.4.250.0000.00716.71
7.4.240.0030.00616.61
7.4.230.0000.00816.71
7.4.220.0000.00716.77
7.4.210.0050.00916.75
7.4.200.0050.00216.56
7.4.160.0080.01116.68
7.4.140.0080.01217.86
7.4.130.0090.00916.68
7.4.120.0130.00616.70
7.4.110.0070.01016.53
7.4.100.0130.01016.74
7.4.90.0070.01016.50
7.4.80.0120.00919.39
7.4.70.0070.01416.65
7.4.60.0090.00916.66
7.4.50.0000.01216.62
7.4.40.0110.01116.74
7.4.00.0100.00315.23
7.3.330.0020.00213.34
7.3.320.0000.00513.43
7.3.310.0000.00616.34
7.3.300.0030.00316.41
7.3.290.0000.00716.32
7.3.280.0060.01416.37
7.3.260.0090.00816.56
7.3.240.0100.00716.55
7.3.230.0050.01416.52
7.3.210.0090.00816.48
7.3.200.0090.00616.38
7.3.190.0040.01816.43
7.3.180.0040.01216.43
7.3.170.0090.00616.32
7.3.160.0030.01716.41
7.3.10.0110.00316.74
7.3.00.0070.00716.65
7.2.330.0100.01316.78
7.2.320.0130.01016.59
7.2.310.0140.00316.78
7.2.300.0090.01216.63
7.2.290.0100.00816.65
7.2.130.0040.00816.85
7.2.120.0040.00416.91
7.2.110.0000.01216.70
7.2.100.0070.00317.02
7.2.90.0090.00016.73
7.2.80.0240.00615.64
7.2.70.0160.00715.99
7.2.60.0170.00716.08
7.2.50.0220.00815.96
7.2.40.0180.00615.97
7.2.30.0190.00616.10
7.2.20.0220.00816.12
7.2.10.0190.01215.83
7.2.00.0100.00615.99
7.1.250.0030.00815.81
7.1.200.0320.00714.01
7.1.190.0320.00014.15
7.1.180.0260.01314.02
7.1.170.0290.00613.79
7.1.160.0330.01313.96
7.1.150.0450.01013.82
7.1.140.0470.00313.69
7.1.130.0270.00614.08
7.1.120.0290.01314.00
7.1.110.0640.00614.12
7.1.100.0290.00713.95
7.1.90.0250.00314.01
7.1.80.0160.00414.02
7.1.70.0310.00613.93
7.1.60.0220.01231.71
7.1.50.0470.00931.74
7.1.40.0600.00632.02
7.1.30.0430.01032.03
7.1.20.0510.00731.97
7.1.10.0450.00614.12
7.1.00.0440.00313.87

preferences:
27.02 ms | 403 KiB | 5 Q