3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = array(); $str_n = array(); $str_d = array(); $str_dc = 0; $str_f = array(); $str_fc = 0; $str[0] = "Shockwave Flash;Shockwave Flash 13.0 r0;NPSWF32_13_0_0_214.dll;undefined(Adobe Flash movie;application/x-shockwave-flash;swf)(FutureSplash movie;application/futuresplash;spl)"; $str_n[0] = mb_strstr($str[0],';',true); $str_dc = mb_strstr($str[0],';'); $str_dc = substr($str_dc,1,mb_strlen($str_dc)); $str_d[0] = mb_strstr($str_dc,';',true); $str_fc = mb_strstr($str_d[0],';'); $str_fc = substr($str_fc,1,mb_strlen($str_fc)); $str_f[0] = mb_strstr($str_fc,';',true); echo $str_n[0]." / "; echo $str_d[0]." / "; echo $str_f[0]." / "; ?>

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.0110.00418.56
8.3.50.0190.00922.85
8.3.40.0040.01218.97
8.3.30.0070.00719.16
8.3.20.0040.00420.20
8.3.10.0050.00223.52
8.3.00.0040.00419.25
8.2.180.0160.00616.63
8.2.170.0110.00322.96
8.2.160.0100.00320.15
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00021.04
8.2.110.0060.00322.22
8.2.100.0040.00718.28
8.2.90.0000.00819.26
8.2.80.0040.00417.97
8.2.70.0030.00617.49
8.2.60.0050.00318.05
8.2.50.0050.00518.07
8.2.40.0040.00418.22
8.2.30.0030.00518.02
8.2.20.0050.00317.70
8.2.10.0070.00018.10
8.2.00.0000.00817.57
8.1.280.0030.01725.92
8.1.270.0000.00823.87
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.18
8.1.230.0090.00319.01
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0070.00317.23
8.1.190.0090.00017.25
8.1.180.0000.00818.10
8.1.170.0000.00918.46
8.1.160.0000.00722.03
8.1.150.0050.00218.99
8.1.140.0000.00817.45
8.1.130.0030.00317.88
8.1.120.0080.00017.55
8.1.110.0000.00717.53
8.1.100.0040.00317.47
8.1.90.0000.00717.52
8.1.80.0040.00417.45
8.1.70.0030.00317.36
8.1.60.0060.00317.64
8.1.50.0030.00617.66
8.1.40.0000.00817.60
8.1.30.0040.00417.66
8.1.20.0040.00417.71
8.1.10.0040.00417.64
8.1.00.0040.00417.47
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00318.50
8.0.270.0000.00817.18
8.0.260.0030.00317.41
8.0.250.0030.00317.08
8.0.240.0000.00917.02
8.0.230.0000.00716.99
8.0.220.0030.00316.93
8.0.210.0000.00716.85
8.0.200.0050.00216.92
8.0.190.0020.00516.98
8.0.180.0030.00317.03
8.0.170.0030.00516.86
8.0.160.0000.00816.98
8.0.150.0080.00016.86
8.0.140.0000.00716.89
8.0.130.0000.00513.46
8.0.120.0000.00716.94
8.0.110.0040.00416.80
8.0.100.0040.00416.87
8.0.90.0070.00016.84
8.0.80.0120.00917.03
8.0.70.0040.00416.97
8.0.60.0040.00416.95
8.0.50.0050.00316.78
8.0.30.0090.01117.00
8.0.20.0110.00817.40
8.0.10.0040.00417.01
8.0.00.0140.00816.72
7.4.330.0000.00515.00
7.4.320.0000.00616.44
7.4.300.0000.00716.55
7.4.290.0040.00416.56
7.4.280.0000.00816.50
7.4.270.0000.00716.57
7.4.260.0040.00416.50
7.4.250.0050.00316.48
7.4.240.0020.00616.47
7.4.230.0000.00716.26
7.4.220.0030.01416.52
7.4.210.0100.00716.43
7.4.200.0030.00316.34
7.4.160.0150.00616.51
7.4.150.0120.00617.40
7.4.140.0050.01317.86
7.4.130.0040.01816.42
7.4.120.0150.00516.37
7.4.110.0160.00016.45
7.4.100.0150.00316.48
7.4.90.0060.01116.34
7.4.80.0080.01219.39
7.4.70.0120.00616.57
7.4.60.0110.00616.68
7.4.50.0000.00816.46
7.4.40.0080.00816.45
7.4.30.0120.00316.29
7.4.00.0030.01214.92
7.3.330.0000.00613.15
7.3.320.0000.00613.00
7.3.310.0030.00316.33
7.3.300.0040.00416.27
7.3.290.0120.00316.27
7.3.280.0080.00916.35
7.3.270.0060.01017.40
7.3.260.0100.01016.31
7.3.250.0150.00216.39
7.3.240.0070.01016.68
7.3.230.0130.00316.50
7.3.210.0080.01116.19
7.3.200.0030.01419.39
7.3.190.0150.00316.54
7.3.180.0090.00616.18
7.3.170.0090.00616.27
7.3.160.0070.01016.55
7.2.330.0140.01316.67
7.2.320.0030.01316.53
7.2.310.0150.00316.37
7.2.300.0070.01016.58
7.2.290.0090.00916.57
7.2.60.0070.00716.57
7.2.00.0060.00619.55
7.1.200.0030.01015.96
7.1.100.0090.00318.29
7.1.70.0040.00416.87
7.1.60.0060.00919.46
7.1.50.0060.01617.05
7.1.00.0070.07322.43
7.0.200.0020.00516.69
7.0.140.0070.06322.04
7.0.110.0030.08719.95
7.0.100.0070.05720.08
7.0.90.0100.07719.93
7.0.80.0100.07019.85
7.0.70.0100.07019.94
7.0.60.0070.07320.04
7.0.50.0030.08720.38
7.0.40.0170.08020.23
7.0.30.0130.07720.25
7.0.20.0030.08720.24
7.0.10.0100.08020.18
7.0.00.0130.07020.06
5.6.280.0030.07320.89
5.6.250.0130.06020.59
5.6.240.0100.05020.68
5.6.230.0170.07320.64
5.6.220.0030.07720.63
5.6.210.0100.07720.57
5.6.200.0030.07321.30
5.6.190.0130.08021.13
5.6.180.0100.07020.93
5.6.170.0070.05021.27
5.6.160.0030.05020.99
5.6.150.0070.04021.15
5.6.140.0170.08021.20
5.6.130.0030.07020.90
5.6.120.0130.07021.22
5.6.110.0030.08721.21
5.6.100.0100.07320.95
5.6.90.0100.08020.90
5.6.80.0070.08020.58
5.6.70.0100.03320.57
5.6.60.0130.07020.59
5.6.50.0000.04720.58
5.6.40.0100.07320.40
5.6.30.0100.07720.45
5.6.20.0070.07320.41
5.6.10.0100.07320.38
5.6.00.0170.07020.33
5.5.380.0030.08720.57
5.5.370.0130.04320.49
5.5.360.0130.07320.28
5.5.350.0070.08020.46
5.5.340.0100.08020.87
5.5.330.0000.08720.87
5.5.320.0070.07720.99
5.5.310.0070.05320.70
5.5.300.0100.08320.84
5.5.290.0000.07020.95
5.5.280.0070.05720.74
5.5.270.0030.05720.98
5.5.260.0030.08020.74
5.5.250.0100.07020.68
5.5.240.0170.07020.13
5.5.230.0170.06020.19
5.5.220.0100.05720.17
5.5.210.0000.07320.40
5.5.200.0000.08020.16
5.5.190.0030.08320.37
5.5.180.0170.05320.20
5.5.160.0170.07720.39
5.5.150.0030.07320.13
5.5.140.0070.07720.05
5.5.130.0130.07320.09
5.5.120.0100.08020.37
5.5.110.0070.07320.25
5.5.100.0100.08320.17
5.5.90.0170.07020.15
5.5.80.0100.07720.03
5.5.70.0030.08019.98
5.5.60.0000.07020.16
5.5.50.0170.06720.16
5.5.40.0030.07320.13
5.5.30.0330.03020.14
5.5.20.0100.07020.10
5.5.10.0100.07720.22
5.5.00.0170.06720.17
5.4.450.0070.07019.51
5.4.440.0000.08719.43
5.4.430.0070.07319.31
5.4.420.0030.07019.39
5.4.410.0100.06319.22
5.4.400.0030.07719.13
5.4.390.0030.05019.25
5.4.380.0270.03018.95
5.4.370.0030.06318.98
5.4.360.0030.05019.14
5.4.350.0100.04019.07
5.4.340.0000.05319.03
5.4.320.0030.08019.25
5.4.310.0000.07319.00
5.4.300.0030.08018.98
5.4.290.0100.08019.12
5.4.280.0070.08018.93
5.4.270.0030.05019.09
5.4.260.0130.07019.25
5.4.250.0200.06719.11
5.4.240.0100.04319.02
5.4.230.0130.07019.09
5.4.220.0070.08019.07
5.4.210.0170.06019.16
5.4.200.0070.07319.16
5.4.190.0100.07319.00
5.4.180.0100.07018.97
5.4.170.0100.07019.17
5.4.160.0170.06319.07
5.4.150.0070.06319.14
5.4.140.0100.03316.50
5.4.130.0000.07716.19
5.4.120.0070.07016.18
5.4.110.0130.07016.40
5.4.100.0200.02016.40
5.4.90.0000.07716.49
5.4.80.0030.07016.28
5.4.70.0030.05016.37
5.4.60.0100.06716.26
5.4.50.0130.06016.22
5.4.40.0100.07016.50
5.4.30.0030.08016.18
5.4.20.0100.05316.46
5.4.10.0100.06716.50
5.4.00.0070.07315.98
5.3.290.0070.07714.62
5.3.280.0100.07314.55
5.3.270.0030.07714.41
5.3.260.0070.06314.44
5.3.250.0030.08014.46
5.3.240.0000.07714.54
5.3.230.0100.07314.62
5.3.220.0100.06714.52
5.3.210.0170.06314.45
5.3.200.0070.06714.48
5.3.190.0030.07314.50
5.3.180.0030.05714.52
5.3.170.0100.07014.40
5.3.160.0170.06714.42
5.3.150.0130.06714.45
5.3.140.0070.07014.51
5.3.130.0070.07314.44
5.3.120.0130.06714.66
5.3.110.0100.07014.40
5.3.100.0130.07013.97
5.3.90.0030.07713.91
5.3.80.0030.07313.96
5.3.70.0070.07313.96
5.3.60.0070.05013.91
5.3.50.0130.07013.86
5.3.40.0070.04313.89
5.3.30.0070.07013.84
5.3.20.0030.08013.63
5.3.10.0030.07313.74
5.3.00.0170.06713.51
5.2.170.0000.04011.16
5.2.160.0100.05311.09
5.2.150.0030.06311.08
5.2.140.0000.04011.08
5.2.130.0030.06311.05
5.2.120.0100.06011.01
5.2.110.0070.05311.04
5.2.100.0030.04311.05
5.2.90.0030.05010.90
5.2.80.0030.06711.04
5.2.70.0100.05711.19
5.2.60.0000.06711.08
5.2.50.0030.06011.02
5.2.40.0030.04311.17
5.2.30.0070.05710.89
5.2.20.0070.05710.91
5.2.10.0100.04010.82
5.2.00.0000.07010.73
5.1.60.0100.04310.16
5.1.50.0030.0539.95
5.1.40.0070.05010.16
5.1.30.0030.03010.57
5.1.20.0070.05310.59
5.1.10.0000.06010.08
5.1.00.0130.04010.00
5.0.50.0070.0438.57
5.0.40.0030.0378.57
5.0.30.0070.0508.48
5.0.20.0030.0238.29
5.0.10.0070.0408.20
5.0.00.0030.0638.16
4.4.90.0030.0337.92
4.4.80.0000.0377.92
4.4.70.0070.0307.92
4.4.60.0030.0307.92
4.4.50.0030.0337.92
4.4.40.0070.0237.92
4.4.30.0000.0277.92
4.4.20.0000.0377.92
4.4.10.0000.0237.92
4.4.00.0070.0537.92
4.3.110.0000.0377.92
4.3.100.0000.0377.92
4.3.90.0030.0307.92
4.3.80.0030.0507.92
4.3.70.0000.0377.92
4.3.60.0000.0377.92
4.3.50.0070.0237.92
4.3.40.0030.0477.92
4.3.30.0000.0337.92
4.3.20.0000.0377.92
4.3.10.0000.0377.92
4.3.00.0030.0237.92

preferences:
43.05 ms | 401 KiB | 5 Q