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]." / "; $str_nv = mb_ereg_replace('[0-9].+', '', $str_n[0]).' / '; $str_dv = mb_ereg_replace('[0-9].+', '', $str_d[0]).' / '; $str_fv = mb_ereg_replace('[0-9].+', '', $str_f[0]).' / '; $str_ndf = $str_nv.$str_dv.$str_fv; echo $str_ndf; ?>

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.40.0040.01118.79
8.3.30.0070.00719.20
8.3.20.0040.00420.43
8.3.10.0030.00623.61
8.3.00.0040.00419.38
8.2.170.0170.00322.96
8.2.160.0040.01120.38
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0070.00321.16
8.2.110.0060.00319.27
8.2.100.0030.00818.34
8.2.90.0040.00419.36
8.2.80.0030.00617.97
8.2.70.0000.00818.05
8.2.60.0080.00017.93
8.2.50.0040.00418.10
8.2.40.0040.00420.68
8.2.30.0000.00818.09
8.2.20.0040.00417.84
8.2.10.0050.00218.27
8.2.00.0040.00417.89
8.1.270.0050.00323.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.80
8.1.230.0000.01120.31
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0030.00517.47
8.1.190.0060.00317.35
8.1.180.0050.00318.10
8.1.170.0060.00318.50
8.1.160.0000.00722.21
8.1.150.0040.00419.08
8.1.140.0040.00417.65
8.1.130.0070.00017.92
8.1.120.0040.00417.51
8.1.110.0040.00417.67
8.1.100.0000.00717.66
8.1.90.0040.00417.50
8.1.80.0040.00417.63
8.1.70.0000.00717.61
8.1.60.0040.00417.58
8.1.50.0000.00817.63
8.1.40.0050.00317.62
8.1.30.0040.00417.72
8.1.20.0000.00717.75
8.1.10.0000.00817.69
8.1.00.0030.00517.54
8.0.300.0090.00018.77
8.0.290.0040.00416.88
8.0.280.0040.00418.63
8.0.270.0030.00317.42
8.0.260.0000.00617.41
8.0.250.0000.00717.12
8.0.240.0050.00217.19
8.0.230.0000.00717.02
8.0.220.0030.00317.04
8.0.210.0030.00316.98
8.0.200.0030.00317.07
8.0.190.0000.00717.04
8.0.180.0000.00717.01
8.0.170.0000.00816.96
8.0.160.0040.00416.99
8.0.150.0070.00016.94
8.0.140.0000.00816.93
8.0.130.0060.00013.45
8.0.120.0040.00416.92
8.0.110.0000.00817.02
8.0.100.0040.00416.82
8.0.90.0000.00816.91
8.0.80.0100.00617.05
8.0.70.0000.00816.91
8.0.60.0040.00416.89
8.0.50.0020.00517.04
8.0.30.0110.00917.28
8.0.20.0130.00917.40
8.0.10.0040.00417.11
8.0.00.0160.00316.92
7.4.330.0050.00015.32
7.4.320.0030.00316.63
7.4.300.0050.00316.70
7.4.290.0030.00316.70
7.4.280.0040.00416.76
7.4.270.0030.00616.73
7.4.260.0000.00716.73
7.4.250.0000.00816.54
7.4.240.0020.00616.65
7.4.230.0030.00316.50
7.4.220.0030.01416.60
7.4.210.0110.00716.71
7.4.200.0070.00016.71
7.4.160.0070.01316.66
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0070.01016.72
7.4.120.0110.00916.70
7.4.110.0030.01416.64
7.4.100.0060.01316.54
7.4.90.0040.01316.45
7.4.80.0100.01319.39
7.4.70.0070.01116.54
7.4.60.0080.00816.55
7.4.50.0060.00316.34
7.4.40.0090.00816.57
7.4.30.0130.00316.56
7.4.00.0060.01115.10
7.3.330.0030.00313.33
7.3.320.0060.00013.32
7.3.310.0080.00016.46
7.3.300.0030.00316.29
7.3.290.0030.01216.37
7.3.280.0060.01016.42
7.3.270.0140.00617.40
7.3.260.0130.00416.37
7.3.250.0090.00916.46
7.3.240.0070.01116.43
7.3.230.0110.00616.43
7.3.210.0040.01616.79
7.3.200.0120.01219.39
7.3.190.0040.01616.59
7.3.180.0130.00316.36
7.3.170.0130.00316.64
7.3.160.0070.01016.37
7.2.330.0090.01316.84
7.2.320.0100.00716.63
7.2.310.0140.00316.75
7.2.300.0030.01416.95
7.2.290.0080.01516.78
7.2.00.0090.00019.68
7.1.100.0100.00018.26
7.1.70.0000.00717.07
7.1.60.0070.01019.46
7.1.50.0100.01316.98
7.1.00.0030.08022.46
7.0.200.0030.00716.53
7.0.140.0030.07322.09
7.0.60.0200.07319.89
7.0.50.0100.07717.87
7.0.40.0100.08720.24
7.0.30.0270.07720.13
7.0.20.0370.07020.09
7.0.10.0100.08320.12
7.0.00.0100.06020.00
5.6.280.0030.07721.07
5.6.210.0100.07720.71
5.6.200.0100.05318.22
5.6.190.0100.03720.43
5.6.180.0170.04020.64
5.6.170.0400.07720.45
5.6.160.0070.09020.40
5.6.150.0030.04318.13
5.6.140.0100.06018.11
5.6.130.0000.04318.07
5.6.120.0100.07721.12
5.6.110.0070.04021.04
5.6.100.0130.06721.05
5.6.90.0200.07020.88
5.6.80.0200.05020.42
5.6.70.4400.03720.40
5.5.350.0100.07020.33
5.5.340.0070.04718.02
5.5.330.0030.05320.25
5.5.320.0000.06320.18
5.5.310.0230.04320.21
5.5.300.0130.07318.01
5.5.290.0030.04017.97
5.5.280.0030.05720.81
5.5.270.0070.03720.65
5.5.260.0130.06020.85
5.5.250.0030.08320.70
5.5.240.0130.08320.28
5.4.450.0170.05019.58
5.4.440.0170.05019.10
5.4.430.0200.03719.25
5.4.420.0100.04319.38
5.4.410.0130.04319.32
5.4.400.0230.03018.92
5.4.390.0330.02718.94
5.4.380.0270.06018.62
5.4.370.0500.06718.67
5.4.360.0330.06318.61
5.4.350.0330.05718.64
5.4.340.0370.05318.68
5.4.320.0050.03612.46
5.4.310.0050.04912.46
5.4.300.0110.03412.46
5.4.290.0040.03912.46
5.4.280.0060.03412.36
5.4.270.0050.04412.36
5.4.260.0050.03812.36
5.4.250.0060.03912.36
5.4.240.0080.03912.36
5.4.230.0070.04612.35
5.4.220.0080.03412.35
5.4.210.0090.03612.35
5.4.200.0060.03712.35
5.4.190.0090.03512.34
5.4.180.0080.03612.34
5.4.170.0070.03412.36
5.4.160.0060.03412.36
5.4.150.0060.03512.35
5.4.140.0040.03812.04
5.4.130.0060.03412.02
5.4.120.0060.03711.98
5.4.110.0040.04911.97
5.4.100.0060.03611.97
5.4.90.0080.04211.98
5.4.80.0060.04711.98
5.4.70.0080.03511.97
5.4.60.0060.04211.97
5.4.50.0100.03711.97
5.4.40.0070.03311.96
5.4.30.0060.03511.96
5.4.20.0050.03711.96
5.4.10.0070.03411.96
5.4.00.0060.03511.44
5.3.290.0080.04712.80
5.3.280.0070.04412.71
5.3.270.0050.04312.72
5.3.260.0060.04112.72
5.3.250.0050.04412.72
5.3.240.0040.03812.72
5.3.230.0040.03812.71
5.3.220.0060.05112.68
5.3.210.0040.04112.68
5.3.200.0030.03812.68
5.3.190.0050.03812.68
5.3.180.0040.04212.67
5.3.170.0090.03312.67
5.3.160.0050.03812.67
5.3.150.0060.04712.67
5.3.140.0050.03612.66
5.3.130.0070.03712.66
5.3.120.0060.03812.66
5.3.110.0070.03712.66
5.3.100.0040.03812.12
5.3.90.0060.03612.09
5.3.80.0050.03712.07
5.3.70.0050.04512.07
5.3.60.0040.03612.07
5.3.50.0070.03412.00
5.3.40.0040.03812.00
5.3.30.0050.03611.96
5.3.20.0010.03911.74
5.3.10.0040.03611.70
5.3.00.0050.03811.69
5.2.170.0010.0329.19
5.2.160.0070.0369.19
5.2.150.0060.0339.20
5.2.140.0060.0319.19
5.2.130.0040.0329.15
5.2.120.0030.0299.15
5.2.110.0050.0309.16
5.2.100.0060.0269.15
5.2.90.0050.0279.15
5.2.80.0070.0279.15
5.2.70.0030.0389.14
5.2.60.0040.0319.10
5.2.50.0040.0309.07
5.2.40.0030.0299.04
5.2.30.0050.0299.03
5.2.20.0050.0279.01
5.2.10.0040.0288.93
5.2.00.0060.0278.79
5.1.60.0040.0298.08
5.1.50.0040.0328.08
5.1.40.0050.0248.06
5.1.30.0040.0328.41
5.1.20.0040.0268.43
5.1.10.0030.0268.16
5.1.00.0040.0308.16
5.0.50.0030.0276.64
5.0.40.0070.0256.50
5.0.30.0050.0396.31
5.0.20.0010.0236.29
5.0.10.0020.0216.26
5.0.00.0060.0316.25
4.4.90.0040.0224.77
4.4.80.0030.0154.76
4.4.70.0020.0164.75
4.4.60.0040.0144.75
4.4.50.0050.0144.77
4.4.40.0030.0244.71
4.4.30.0030.0204.76
4.4.20.0040.0154.84
4.4.10.0040.0204.85
4.4.00.0040.0294.76
4.3.110.0040.0184.67
4.3.100.0020.0194.67
4.3.90.0020.0174.63
4.3.80.0020.0244.58
4.3.70.0010.0194.63
4.3.60.0000.0194.63
4.3.50.0020.0164.63
4.3.40.0040.0224.53
4.3.30.0010.0163.30
4.3.20.0010.0163.27
4.3.10.0010.0163.24
4.3.00.0030.02018.41

preferences:
40.35 ms | 400 KiB | 5 Q