3v4l.org

run code in 500+ PHP versions simultaneously
<?php $text = '<strong>this test is strong</strong> this text is out tags'; print_r(preg_split('/\s*<strong>(.*?)<\/strong>\s*/s', $text, -1, PREG_SPLIT_NO_EMPTY| PREG_SPLIT_DELIM_CAPTURE));

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.70.0120.00616.89
8.5.60.0080.00616.82
8.5.50.0100.00616.62
8.5.30.0100.00818.77
8.5.20.0110.00719.55
8.5.10.0090.01016.86
8.5.00.0130.00819.85
8.4.210.0140.00719.60
8.4.180.0150.00819.91
8.4.170.0120.00920.73
8.4.160.0140.00821.56
8.4.150.0070.00716.93
8.4.140.0120.00917.73
8.4.130.0110.01018.15
8.4.120.0140.00520.83
8.4.110.0110.00922.38
8.4.100.0130.00717.96
8.4.90.0130.00817.80
8.4.80.0040.00517.85
8.4.70.0120.00717.92
8.4.60.0100.00418.64
8.4.50.0140.00717.73
8.4.40.0050.00317.85
8.4.30.0040.01518.58
8.4.20.0070.00318.00
8.4.10.0060.00319.86
8.3.300.0120.00820.75
8.3.290.0150.00520.85
8.3.280.0140.00618.39
8.3.270.0110.00816.54
8.3.260.0090.00916.60
8.3.250.0020.00718.88
8.3.240.0070.01216.73
8.3.230.0130.00716.80
8.3.220.0060.00517.01
8.3.210.0040.00416.81
8.3.200.0050.00316.80
8.3.190.0090.01016.91
8.3.180.0120.00816.73
8.3.170.0130.00316.76
8.3.160.0180.00020.66
8.3.150.0070.01116.40
8.3.140.0110.00716.44
8.3.130.0100.00618.27
8.3.120.0100.00718.91
8.3.110.0090.00016.55
8.3.100.0090.00016.54
8.3.90.0040.00426.77
8.3.80.0000.00916.63
8.3.70.0090.00618.18
8.3.60.0150.00416.63
8.3.50.0090.00618.42
8.3.40.0150.00318.81
8.3.30.0150.00018.67
8.3.20.0050.00324.18
8.3.10.0000.00824.66
8.3.00.0100.00326.16
8.2.300.0140.00722.04
8.2.290.0130.00520.57
8.2.280.0060.00418.39
8.2.270.0040.01116.59
8.2.260.0070.01117.15
8.2.250.0090.00016.61
8.2.240.0040.00816.42
8.2.230.0080.00020.94
8.2.220.0030.00624.06
8.2.210.0000.00726.77
8.2.200.0080.00016.88
8.2.190.0150.00416.63
8.2.180.0100.00625.92
8.2.170.0100.00619.09
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0000.00720.77
8.2.110.0060.00320.35
8.2.100.0090.00317.91
8.2.90.0070.00317.63
8.2.80.0050.00517.97
8.2.70.0000.00817.75
8.2.60.0090.00017.63
8.2.50.0000.00817.75
8.2.40.0000.00917.75
8.2.30.0000.00717.70
8.2.20.0040.00419.45
8.2.10.0040.00417.65
8.2.00.0070.00019.26
8.1.340.0080.01117.75
8.1.330.0100.00822.02
8.1.320.0110.00816.27
8.1.310.0100.00718.48
8.1.300.0090.00618.49
8.1.290.0030.00730.84
8.1.280.0090.00625.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0040.00422.20
8.1.230.0040.00819.04
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0040.00417.36
8.1.190.0070.01117.11
8.1.180.0050.00318.10
8.1.170.0000.00717.62
8.1.160.0040.00418.81
8.1.150.0050.00318.72
8.1.140.0080.00017.59
8.1.130.0070.00018.75
8.1.120.0050.00317.57
8.1.110.0040.00417.56
8.1.100.0050.00317.56
8.1.90.0040.00417.41
8.1.80.0090.00017.58
8.1.70.0000.00717.54
8.1.60.0050.00217.72
8.1.50.0040.00417.59
8.1.40.0020.00517.64
8.1.30.0000.00817.57
8.1.20.0040.00417.73
8.1.10.0040.00417.50
8.1.00.0050.00217.49
8.0.300.0060.00319.91
8.0.290.0030.00616.75
8.0.280.0000.00718.13
8.0.270.0070.00016.84
8.0.260.0000.00618.41
8.0.250.0030.00616.98
8.0.240.0040.00417.00
8.0.230.0050.00217.02
8.0.220.0020.00516.86
8.0.210.0040.00416.97
8.0.200.0030.00317.09
8.0.190.0000.00917.02
8.0.180.0040.00416.87
8.0.170.0050.00316.99
8.0.160.0040.00416.87
8.0.150.0070.00016.82
8.0.140.0000.00816.94
8.0.130.0000.00613.35
8.0.120.0040.00813.44
8.0.110.0100.00213.32
8.0.100.0070.00413.34
8.0.90.0060.00613.33
8.0.80.0120.00013.34
8.0.70.0120.00013.43
8.0.60.0110.00013.33
8.0.50.0120.00013.34
8.0.30.0060.00613.29
8.0.20.0060.00613.43
8.0.10.0090.00213.50
8.0.00.0000.00713.53
7.4.330.0050.00315.55
7.4.320.0040.00416.79
7.4.300.0070.00016.71
7.4.290.0040.00416.60
7.4.280.0000.00716.54
7.4.270.0030.00416.77
7.4.260.0030.00313.43
7.4.250.0070.00713.43
7.4.240.0110.00313.38
7.4.230.0140.00013.45
7.4.220.0060.00613.41
7.4.210.0120.00013.38
7.4.200.0080.00413.39
7.4.190.0040.00713.37
7.4.180.0090.00313.51
7.4.160.0120.00013.45
7.4.150.0000.01113.49
7.4.140.0060.00613.35
7.4.130.0120.00013.37
7.4.120.0060.00613.31
7.4.110.0080.00413.21
7.4.100.0110.00013.34
7.4.90.0080.00413.43
7.4.80.0120.00013.36
7.4.70.0000.01213.26
7.4.60.0080.00413.31
7.4.50.0090.00213.23
7.4.40.0050.00713.32
7.4.30.0060.00613.34
7.4.20.0050.00513.24
7.4.10.0120.00013.30
7.4.00.0090.00213.18
7.3.330.0070.00016.43
7.3.320.0000.01213.13
7.3.310.0060.00613.13
7.3.300.0100.00113.04
7.3.290.0080.00413.16
7.3.280.0130.00013.02
7.3.270.0040.00813.20
7.3.260.0120.00013.17
7.3.250.0000.01213.08
7.3.240.0060.00612.97
7.3.230.0100.00213.20
7.3.220.0080.00413.00
7.3.210.0120.00012.98
7.3.200.0080.00413.09
7.3.190.0090.00313.04
7.3.180.0090.00313.16
7.3.170.0080.00412.96
7.3.160.0130.00013.02
7.3.150.0120.00013.12
7.3.140.0100.00312.92
7.3.130.0080.00412.99
7.3.120.0140.00013.02
7.3.110.0120.00013.10
7.3.100.0130.00013.06
7.3.90.0140.00013.23
7.3.80.0090.00313.01
7.3.70.0120.00013.17
7.3.60.0000.01313.14
7.3.50.0080.00413.29
7.3.40.0080.00413.15
7.3.30.0140.00013.21
7.3.20.0030.01014.93
7.3.10.0040.00914.89
7.3.00.0120.00415.11

preferences:
60.32 ms | 1404 KiB | 5 Q