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_dc,';'); $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]." / "; echo mb_ereg_replace('[0-9].+', '', $str_n[0]).' / '; echo mb_ereg_replace('[0-9].+', '', $str_d[0]).' / '; echo mb_ereg_replace('[0-9].+', '', $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.0060.00818.41
8.3.50.0200.00922.91
8.3.40.0220.00018.98
8.3.30.0110.00319.39
8.3.20.0040.00420.34
8.3.10.0040.00423.73
8.3.00.0040.00419.50
8.2.180.0120.00617.00
8.2.170.0100.01022.96
8.2.160.0090.00620.53
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0110.00326.16
8.2.120.0040.00719.31
8.2.110.0090.00022.33
8.2.100.0120.00018.28
8.2.90.0040.00819.24
8.2.80.0050.00317.97
8.2.70.0050.00317.61
8.2.60.0080.00018.05
8.2.50.0080.00018.07
8.2.40.0030.00618.22
8.2.30.0000.00818.30
8.2.20.0000.00717.88
8.2.10.0040.00418.06
8.2.00.0000.00717.79
8.1.280.0070.01125.92
8.1.270.0080.00023.96
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00324.07
8.1.230.0040.00719.09
8.1.220.0030.00617.79
8.1.210.0000.00818.77
8.1.200.0000.01017.47
8.1.190.0000.00817.38
8.1.180.0040.00418.10
8.1.170.0080.00218.29
8.1.160.0020.00522.23
8.1.150.0000.00719.06
8.1.140.0040.00417.55
8.1.130.0000.00817.92
8.1.120.0070.00017.61
8.1.110.0000.00817.61
8.1.100.0000.00817.50
8.1.90.0040.00417.62
8.1.80.0040.00417.59
8.1.70.0070.00017.56
8.1.60.0060.00317.77
8.1.50.0000.00917.66
8.1.40.0050.00217.63
8.1.30.0040.00417.77
8.1.20.0030.00517.77
8.1.10.0000.00717.74
8.1.00.0050.00317.64
8.0.300.0000.00818.77
8.0.290.0040.00416.88
8.0.280.0030.00318.57
8.0.270.0000.00717.37
8.0.260.0000.00617.33
8.0.250.0000.00717.11
8.0.240.0000.00717.15
8.0.230.0040.00417.14
8.0.220.0000.00717.05
8.0.210.0040.00317.02
8.0.200.0020.00517.02
8.0.190.0070.00017.10
8.0.180.0050.00317.10
8.0.170.0040.00416.97
8.0.160.0000.00717.02
8.0.150.0080.00016.99
8.0.140.0030.00516.91
8.0.130.0000.00513.45
8.0.120.0030.00616.97
8.0.110.0020.00517.09
8.0.100.0000.00817.06
8.0.90.0050.00316.91
8.0.80.0040.01217.14
8.0.70.0040.00416.86
8.0.60.0000.00716.86
8.0.50.0040.00416.94
8.0.30.0130.00817.26
8.0.20.0140.01217.40
8.0.10.0000.00717.05
8.0.00.0080.01116.71
7.4.330.0040.00315.06
7.4.320.0030.00316.50
7.4.300.0070.00016.59
7.4.290.0070.00016.59
7.4.280.0030.00516.69
7.4.270.0000.00716.52
7.4.260.0030.00716.52
7.4.250.0040.00416.67
7.4.240.0060.00216.66
7.4.230.0000.00716.77
7.4.220.0110.00716.56
7.4.210.0060.01516.56
7.4.200.0030.00316.73
7.4.160.0100.01316.56
7.4.150.0090.00917.40
7.4.140.0080.01117.86
7.4.130.0050.01216.57
7.4.120.0100.00616.57
7.4.110.0110.00616.72
7.4.100.0090.01216.68
7.4.90.0120.00616.62
7.4.80.0100.01319.39
7.4.70.0050.01416.56
7.4.60.0170.00516.62
7.4.50.0090.00016.45
7.4.40.0100.00616.55
7.4.30.0090.00916.46
7.4.00.0100.00614.99
7.3.330.0000.00713.26
7.3.320.0000.00513.25
7.3.310.0000.00716.38
7.3.300.0070.00016.25
7.3.290.0060.00916.38
7.3.280.0070.00916.33
7.3.270.0140.00317.40
7.3.260.0170.01016.40
7.3.250.0160.00716.47
7.3.240.0130.00416.25
7.3.230.0060.01016.39
7.3.210.0160.00816.20
7.3.200.0090.00919.39
7.3.190.0030.01316.39
7.3.180.0120.00416.46
7.3.170.0130.00316.58
7.3.160.0060.00916.41
7.2.330.0090.01016.60
7.2.320.0100.00716.92
7.2.310.0120.00616.50
7.2.300.0080.00816.51
7.2.290.0150.00316.93
7.2.00.0000.01419.41
7.1.100.0070.00318.39
7.1.70.0000.00717.17
7.1.60.0090.00619.46
7.1.50.0120.00917.08
7.1.00.0070.07322.30
7.0.200.0000.00816.53
7.0.140.0070.07021.92
7.0.60.0200.03019.89
7.0.50.0100.07017.95
7.0.40.0070.08320.10
7.0.30.0270.03020.12
7.0.20.0300.07720.20
7.0.10.0130.08720.29
7.0.00.0230.04020.03
5.6.280.0000.07721.05
5.6.210.0200.07320.66
5.6.200.0100.06318.08
5.6.190.0070.09020.35
5.6.180.0270.07320.43
5.6.170.0230.04020.50
5.6.160.0130.06020.38
5.6.150.0070.07318.15
5.6.140.0070.07018.11
5.6.130.0030.07318.20
5.6.120.0100.05320.97
5.6.110.0170.08021.00
5.6.100.0100.07021.03
5.6.90.0130.07721.14
5.6.80.0070.03720.48
5.6.70.4330.03720.52
5.5.350.0070.04320.45
5.5.340.0070.07318.03
5.5.330.0070.07020.43
5.5.320.0100.07020.13
5.5.310.0330.04020.20
5.5.300.0030.03717.97
5.5.290.0070.08017.98
5.5.280.0230.05020.74
5.5.270.0000.07020.89
5.5.260.0100.04720.96
5.5.250.0030.04020.59
5.5.240.0170.07020.15
5.4.450.0230.05019.10
5.4.440.0170.04019.46
5.4.430.0130.04719.54
5.4.420.0170.05019.44
5.4.410.0200.04319.02
5.4.400.0130.03319.09
5.4.390.0130.03719.06
5.4.380.0330.05718.68
5.4.370.0430.05718.71
5.4.360.0400.05018.66
5.4.350.0400.05718.53
5.4.340.0430.07318.51
5.4.320.0060.04712.46
5.4.310.0050.04712.46
5.4.300.0050.03712.46
5.4.290.0090.04312.46
5.4.280.0030.03812.36
5.4.270.0070.04312.36
5.4.260.0080.03912.36
5.4.250.0100.04712.36
5.4.240.0080.03612.36
5.4.230.0080.03512.35
5.4.220.0080.05512.35
5.4.210.0050.03512.35
5.4.200.0030.04412.35
5.4.190.0050.03712.34
5.4.180.0070.04112.34
5.4.170.0050.04812.36
5.4.160.0060.03812.35
5.4.150.0040.03812.35
5.4.140.0060.04612.03
5.4.130.0090.04312.02
5.4.120.0090.03911.98
5.4.110.0110.04311.98
5.4.100.0060.03811.98
5.4.90.0080.03511.97
5.4.80.0100.04111.98
5.4.70.0050.03311.97
5.4.60.0070.04911.97
5.4.50.0050.03911.97
5.4.40.0060.04411.96
5.4.30.0080.04611.96
5.4.20.0060.04311.96
5.4.10.0070.03911.96
5.4.00.0050.04111.45
5.3.290.0080.04112.80
5.3.280.0100.03912.71
5.3.270.0060.03812.72
5.3.260.0100.03712.72
5.3.250.0080.04012.72
5.3.240.0120.04512.72
5.3.230.0040.04812.71
5.3.220.0050.04512.68
5.3.210.0070.05012.68
5.3.200.0060.03712.68
5.3.190.0080.03812.68
5.3.180.0040.05112.68
5.3.170.0070.03612.67
5.3.160.0090.03712.67
5.3.150.0100.05012.67
5.3.140.0030.04312.66
5.3.130.0100.04212.65
5.3.120.0090.04512.66
5.3.110.0060.04312.66
5.3.100.0090.05012.12
5.3.90.0090.03912.08
5.3.80.0110.04812.07
5.3.70.0060.04712.08
5.3.60.0090.04512.06
5.3.50.0060.04312.00
5.3.40.0100.03612.00
5.3.30.0090.04811.96
5.3.20.0100.04511.74
5.3.10.0100.03611.70
5.3.00.0120.04011.69
5.2.170.0090.0379.20
5.2.160.0070.0389.20
5.2.150.0060.0399.19
5.2.140.0050.0299.19
5.2.130.0050.0339.15
5.2.120.0100.0359.15
5.2.110.0130.0339.16
5.2.100.0050.0309.15
5.2.90.0070.0349.16
5.2.80.0060.0469.15
5.2.70.0070.0359.15
5.2.60.0030.0359.10
5.2.50.0050.0359.07
5.2.40.0050.0289.05
5.2.30.0060.0329.03
5.2.20.0090.0319.02
5.2.10.0070.0358.93
5.2.00.0080.0358.79
5.1.60.0060.0268.08
5.1.50.0040.0318.07
5.1.40.0070.0378.06
5.1.30.0020.0438.41
5.1.20.0070.0328.43
5.1.10.0060.0288.15
5.1.00.0060.0278.16
5.0.50.0060.0276.64
5.0.40.0020.0286.50
5.0.30.0050.0346.31
5.0.20.0030.0256.28
5.0.10.0060.0256.26
5.0.00.0060.0386.25
4.4.90.0040.0224.77
4.4.80.0050.0244.75
4.4.70.0040.0204.76
4.4.60.0070.0144.75
4.4.50.0030.0254.77
4.4.40.0030.0434.71
4.4.30.0020.0164.76
4.4.20.0030.0154.84
4.4.10.0020.0164.85
4.4.00.0050.0244.75
4.3.110.0040.0204.67
4.3.100.0040.0204.66
4.3.90.0070.0184.63
4.3.80.0040.0334.58
4.3.70.0030.0184.63
4.3.60.0060.0184.63
4.3.50.0040.0244.62
4.3.40.0050.0344.54
4.3.30.0030.0153.30
4.3.20.0020.0333.27
4.3.10.0040.0233.24
4.3.00.0000.01718.41

preferences:
49.5 ms | 401 KiB | 5 Q