3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "i want to show you my youtube channel : [youtube id=12341234] and my instagram account : [instagram id=myingaccount213]"; preg_match_all("~\h*(.*?\[[^][]*])~", $s, $matches); print_r($matches[1]);

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.0100.01116.98
8.5.00.0110.01020.39
8.4.150.0020.00014.05
8.4.140.0090.01317.55
8.4.130.0120.00818.77
8.4.120.0130.00818.64
8.4.110.0120.00818.74
8.4.100.0130.00817.77
8.4.90.0150.00620.70
8.4.80.0120.00718.75
8.4.70.0170.00418.14
8.4.60.0110.00918.10
8.4.50.0150.00619.45
8.4.40.0150.00318.75
8.4.30.0130.00620.30
8.4.20.0090.01222.50
8.4.10.0040.00422.39
8.3.280.0130.00820.09
8.3.270.0120.00816.56
8.3.260.0140.00516.38
8.3.250.0070.00516.45
8.3.240.0110.00816.72
8.3.230.0120.00716.64
8.3.220.0050.00420.60
8.3.210.0080.01018.34
8.3.200.0100.00916.55
8.3.190.0080.00616.85
8.3.180.0020.00718.48
8.3.170.0030.00516.64
8.3.160.0110.00718.80
8.3.150.0040.01417.02
8.3.140.0040.00418.95
8.3.130.0050.00318.26
8.3.120.0070.00418.74
8.3.110.0060.00320.94
8.3.100.0070.00324.06
8.3.90.0050.00326.77
8.3.80.0070.00316.50
8.3.70.0060.00918.27
8.3.60.0070.00718.27
8.3.50.0130.00724.66
8.3.40.0030.01219.03
8.3.30.0060.00918.98
8.3.20.0070.01124.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0100.00816.93
8.2.280.0110.00818.74
8.2.270.0160.00316.67
8.2.260.0140.00319.00
8.2.250.0000.00817.15
8.2.240.0120.00619.23
8.2.230.0030.00622.58
8.2.220.0080.00837.54
8.2.210.0080.00026.77
8.2.200.0030.00716.63
8.2.190.0100.01317.00
8.2.180.0140.00725.92
8.2.170.0040.01119.14
8.2.160.0140.00022.96
8.2.150.0000.00725.66
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0080.00019.88
8.2.110.0030.00622.23
8.2.100.0070.00918.03
8.2.90.0030.00618.93
8.2.80.0040.00717.97
8.2.70.0040.00417.75
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0080.00018.13
8.2.20.0050.00217.96
8.2.10.0050.00219.08
8.2.00.0040.00419.10
8.1.330.0070.00416.27
8.1.320.0090.01116.43
8.1.310.0110.00718.50
8.1.300.0060.01218.56
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0090.00023.59
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0110.00022.46
8.1.230.0000.01117.89
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00817.35
8.1.180.0090.00018.10
8.1.170.0160.00018.40
8.1.160.0040.00418.76
8.1.150.0000.00818.89
8.1.140.0030.00718.77
8.1.130.0000.00720.01
8.1.120.0040.00417.56
8.1.110.0050.00317.55
8.1.100.0040.00417.45
8.1.90.0000.00717.59
8.1.80.0040.00817.54
8.1.70.0000.00717.57
8.1.60.0040.00417.66
8.1.50.0030.00517.58
8.1.40.0000.00817.66
8.1.30.0080.00017.75
8.1.20.0040.00417.77
8.1.10.0080.00017.73
8.1.00.0000.00817.67
8.0.300.0060.00318.77
8.0.290.0060.00316.75
8.0.280.0070.00020.21
8.0.270.0000.00918.15
8.0.260.0050.00318.43
8.0.250.0030.00317.05
8.0.240.0040.00417.00
8.0.230.0000.00717.03
8.0.220.0000.00816.87
8.0.210.0030.00316.96
8.0.200.0030.00316.89
8.0.190.0050.00217.05
8.0.180.0070.00017.05
8.0.170.0080.00017.00
8.0.160.0000.00716.96
8.0.150.0050.00316.96
8.0.140.0030.00616.94
8.0.130.0000.00513.39
8.0.120.0000.00716.96
8.0.110.0060.00316.95
8.0.100.0070.00016.84
8.0.90.0040.00417.04
8.0.80.0130.00616.95
8.0.70.0070.00017.04
8.0.60.0000.00716.81
8.0.50.0000.00717.05
8.0.30.0150.01117.45
8.0.20.0140.00417.38
8.0.10.0050.00317.14
8.0.00.0130.01316.91
7.4.330.0050.00016.80
7.4.320.0000.00716.66
7.4.300.0070.00016.57
7.4.290.0070.00016.65
7.4.280.0030.00516.65
7.4.270.0070.00016.75
7.4.260.0050.00013.42
7.4.250.0070.00016.57
7.4.240.0040.00416.79
7.4.230.0040.00416.75
7.4.220.0050.00216.83
7.4.210.0070.00916.70
7.4.200.0000.00716.63
7.4.130.0100.00716.89
7.4.120.0090.00916.79
7.4.110.0070.01516.47
7.4.100.0120.00816.71
7.4.90.0030.01416.63
7.4.80.0160.00316.55
7.4.70.0160.00416.54
7.4.60.0100.01016.63
7.4.50.0100.00816.69
7.4.40.0060.01316.78
7.4.30.0130.01316.49
7.4.20.0060.01516.68
7.4.10.0040.01816.68
7.4.00.0060.01216.46
7.3.330.0000.00616.38
7.3.320.0000.00713.21
7.3.310.0000.00716.20
7.3.300.0000.00716.18
7.3.290.0070.01116.32
7.3.260.0110.00716.30
7.3.230.0130.00316.50
7.3.210.0100.00716.25
7.3.200.0090.00916.30
7.3.190.0070.01016.48
7.3.180.0150.00316.63
7.3.170.0100.01316.40
7.3.160.0100.01016.40
7.3.150.0090.00916.52
7.3.140.0090.01216.63
7.3.130.0040.01316.38
7.3.120.0130.00316.39
7.3.110.0100.00716.41
7.3.100.0100.00716.36
7.3.90.0110.00716.36
7.3.80.0110.00616.42
7.3.70.0110.00716.59
7.3.60.0160.00316.60
7.3.50.0150.00316.25
7.3.40.0070.01016.43
7.3.30.0080.00916.39
7.3.20.0090.00916.36
7.3.10.0170.00616.50
7.3.00.0120.00616.57
7.2.330.0070.01016.56
7.2.320.0100.00716.71
7.2.310.0060.01316.61
7.2.300.0090.00916.58
7.2.290.0100.01016.57
7.2.280.0120.00616.67
7.2.270.0130.01016.44
7.2.260.0110.00616.66
7.2.250.0120.00616.62
7.2.240.0140.00316.77
7.2.230.0090.00916.61
7.2.220.0150.00416.65
7.2.210.0060.01216.55
7.2.200.0090.00916.57
7.2.190.0100.01316.53
7.2.180.0130.00316.52
7.2.170.0090.00916.56
7.2.160.0110.00716.43
7.2.150.0130.00616.61
7.2.140.0140.00716.57
7.2.130.0120.00616.72
7.2.120.0140.01016.63
7.2.110.0550.00016.68
7.2.100.0060.01116.59
7.2.90.0060.01216.75
7.2.80.0190.00316.66
7.2.70.0090.01216.71
7.2.60.0120.00916.56
7.2.50.0060.01216.72
7.2.40.0060.01616.71
7.2.30.0140.00316.59
7.2.20.0090.00916.53
7.2.10.0030.01416.65
7.2.00.0090.00916.76

preferences:
36.68 ms | 403 KiB | 5 Q