3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '[iframe scrolling="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/163969592&color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false" frameborder="no" height="166" width="100%"]'; echo preg_match('#[<\[](iframe [^>\]]*?soundcloud.com[^>\]]*?)[>\]]#i', $_content, $matches) > 0); var_dump($matches);

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)
5.4.310.3470.03318.87
5.4.300.3570.03719.14
5.4.290.3130.04019.06
5.4.280.3600.03719.24
5.4.270.0170.03719.22
5.4.260.0070.03318.87
5.4.250.0030.07318.84
5.4.240.1330.04018.94
5.4.230.3270.03719.21
5.4.220.2600.04718.95
5.4.210.3200.03318.98
5.4.200.2830.04318.98
5.4.190.3470.04319.30
5.4.180.3030.03319.21
5.4.170.3230.04718.86
5.4.160.3300.03719.20
5.4.150.3400.03719.14
5.4.140.3770.04016.51
5.4.130.3130.03716.38
5.4.120.3030.03016.30
5.4.110.3400.04316.46
5.4.100.3230.03016.55
5.4.90.3270.03316.58
5.4.80.3470.03316.39
5.4.70.3530.03316.18
5.4.60.3330.03716.23
5.4.50.3530.03016.33
5.4.40.3230.04016.48
5.4.30.3370.03716.16
5.4.20.2900.03716.39
5.4.10.3500.03016.39
5.4.00.3670.03715.76
5.3.290.3300.04014.51
5.3.280.3000.04014.64
5.3.270.3270.03314.56
5.3.260.2830.04014.55
5.3.250.3370.03314.62
5.3.240.2900.03714.52
5.3.230.3530.03314.47
5.3.220.3770.04314.52
5.3.210.3330.03714.52
5.3.200.3670.03314.41
5.3.190.3200.04014.57
5.3.180.2670.03314.50
5.3.170.3030.03314.52
5.3.160.1730.03314.42
5.3.150.1800.03714.47
5.3.140.1870.03314.41
5.3.130.2470.03714.49
5.3.120.2500.04714.59
5.3.110.2900.03714.56
5.3.100.2200.03713.90
5.3.90.2270.03313.99
5.3.80.2070.04314.04
5.3.70.2600.03713.87
5.3.60.2830.03713.96
5.3.50.2830.04013.98
5.3.40.2500.04013.93
5.3.30.2330.03313.89
5.3.20.1300.04313.68
5.3.10.2600.03713.43
5.3.00.3130.04013.48
5.2.170.3300.03010.98
5.2.160.2570.02710.99
5.2.150.2430.02711.22
5.2.140.2330.03010.97
5.2.130.1000.03310.96
5.2.120.1870.03011.26
5.2.110.2930.02711.11
5.2.100.2130.03010.92
5.2.90.2630.02710.98
5.2.80.2830.02711.04
5.2.70.2900.02711.11
5.2.60.3000.03311.11
5.2.50.2670.03010.96
5.2.40.1930.02710.84
5.2.30.2170.02710.91
5.2.20.2100.03010.90
5.2.10.1930.02710.77
5.2.00.2370.03010.76
5.1.60.1970.0279.96
5.1.50.2230.0279.85
5.1.40.2170.02310.05
5.1.30.2200.01710.45
5.1.20.2300.03010.25
5.1.10.2470.03010.15
5.1.00.2370.02010.04
5.0.50.1200.0238.53
5.0.40.1330.0208.28
5.0.30.1330.0338.09
5.0.20.1330.0278.43
5.0.10.1170.0178.10
5.0.00.1170.0308.05
4.4.90.0970.0176.38
4.4.80.0900.0106.38
4.4.70.1130.0136.38
4.4.60.1130.0136.38
4.4.50.1200.0106.38
4.4.40.1430.0376.38
4.4.30.1330.0106.38
4.4.20.1130.0136.38
4.4.10.1070.0176.38
4.4.00.1130.0276.38
4.3.110.1370.0136.38
4.3.100.1130.0176.38
4.3.90.1270.0076.38
4.3.80.1130.0206.38
4.3.70.0930.0176.38
4.3.60.1100.0176.38
4.3.50.1130.0136.38
4.3.40.0870.0276.38
4.3.30.0770.0206.38
4.3.20.0530.0176.38
4.3.10.0730.0276.38
4.3.00.0630.0236.38

preferences:
142.1 ms | 1394 KiB | 7 Q