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.0070.00718.79
8.3.30.0060.00919.21
8.3.20.0070.00020.39
8.3.10.0000.00723.63
8.3.00.0030.00619.50
8.2.170.0040.01122.96
8.2.160.0100.00620.41
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0000.00726.16
8.2.120.0000.00920.93
8.2.110.0100.00721.16
8.2.100.0060.00617.85
8.2.90.0000.00818.28
8.2.80.0000.00917.97
8.2.70.0080.00017.75
8.2.60.0000.00918.05
8.2.50.0040.00418.07
8.2.40.0000.00818.34
8.2.30.0040.00418.12
8.2.20.0040.00417.76
8.2.10.0040.00418.27
8.2.00.0050.00317.71
8.1.270.0090.00023.83
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.97
8.1.230.0040.00820.76
8.1.220.0040.00417.91
8.1.210.0000.00818.79
8.1.200.0030.00617.60
8.1.190.0060.00317.36
8.1.180.0000.00818.10
8.1.170.0050.00518.77
8.1.160.0040.00422.16
8.1.150.0030.00519.00
8.1.140.0000.00717.53
8.1.130.0070.00017.86
8.1.120.0000.00717.68
8.1.110.0030.00617.52
8.1.100.0000.00717.50
8.1.90.0040.00417.57
8.1.80.0000.00717.62
8.1.70.0030.00317.50
8.1.60.0040.00417.70
8.1.50.0030.00617.64
8.1.40.0040.00417.61
8.1.30.0040.00417.67
8.1.20.0060.00317.79
8.1.10.0000.00817.66
8.1.00.0080.00017.65
8.0.300.0040.00420.22
8.0.290.0040.00416.88
8.0.280.0030.00318.51
8.0.270.0000.00717.40
8.0.260.0050.00317.40
8.0.250.0050.00217.06
8.0.240.0050.00317.07
8.0.230.0050.00217.04
8.0.220.0000.00717.00
8.0.210.0000.00717.03
8.0.200.0000.00617.12
8.0.190.0080.00017.11
8.0.180.0040.00417.01
8.0.170.0060.00317.04
8.0.160.0000.00717.07
8.0.150.0050.00216.87
8.0.140.0000.00716.93
8.0.130.0030.00313.45
8.0.120.0080.00016.96
8.0.110.0040.00416.94
8.0.100.0050.00217.08
8.0.90.0000.00816.96
8.0.80.0120.00616.99
8.0.70.0040.00416.88
8.0.60.0040.00417.06
8.0.50.0070.00017.04
8.0.30.0100.01317.18
8.0.20.0160.01117.45
8.0.10.0050.00217.14
8.0.00.0050.01416.79
7.4.330.0000.00515.15
7.4.320.0000.00616.52
7.4.300.0000.00716.81
7.4.290.0040.00416.76
7.4.280.0040.00416.67
7.4.270.0070.00016.76
7.4.260.0070.00316.61
7.4.250.0000.00816.60
7.4.240.0040.00416.76
7.4.230.0030.00316.34
7.4.220.0150.00316.58
7.4.210.0110.00416.64
7.4.200.0000.00716.68
7.4.160.0030.01616.45
7.4.150.0140.01017.40
7.4.140.0080.00917.86
7.4.130.0080.00916.55
7.4.120.0070.00916.61
7.4.110.0060.01116.72
7.4.100.0090.00916.64
7.4.90.0150.00316.61
7.4.80.0160.00319.39
7.4.70.0120.00616.65
7.4.60.0140.00316.50
7.4.50.0060.00316.64
7.4.40.0070.01016.59
7.4.30.0060.01016.58
7.4.00.0100.00815.11
7.3.330.0030.00313.25
7.3.320.0000.00613.25
7.3.310.0030.00316.35
7.3.300.0030.00316.40
7.3.290.0060.00916.42
7.3.280.0070.00916.40
7.3.270.0070.01117.40
7.3.260.0070.01016.30
7.3.250.0080.01016.50
7.3.240.0120.00416.55
7.3.230.0120.00616.49
7.3.210.0150.01116.61
7.3.200.0110.00619.39
7.3.190.0100.00716.46
7.3.180.0060.00916.43
7.3.170.0030.01316.46
7.3.160.0080.00816.60
7.3.120.0110.00714.74
7.3.110.0080.00914.87
7.3.100.0060.01114.84
7.3.90.0070.00715.07
7.3.80.0030.01014.84
7.3.70.0050.01014.96
7.3.60.0000.01314.70
7.3.50.0000.01414.95
7.3.40.0050.00914.92
7.3.30.0030.01114.68
7.3.20.0080.00616.67
7.3.10.0060.00716.75
7.3.00.0090.00416.58
7.2.330.0130.01316.94
7.2.320.0170.00016.47
7.2.310.0120.00616.60
7.2.300.0100.00616.58
7.2.290.0060.01016.82
7.2.250.0050.01315.32
7.2.240.0110.00715.19
7.2.230.0020.01215.36
7.2.220.0080.00515.27
7.2.210.0050.01315.25
7.2.200.0070.00714.95
7.2.190.0030.00914.82
7.2.180.0050.00815.03
7.2.170.0030.00915.13
7.2.160.0030.00914.80
7.2.150.0100.00316.97
7.2.140.0060.00916.97
7.2.130.0080.00616.69
7.2.120.0030.01016.95
7.2.110.0070.00616.82
7.2.100.0080.00616.86
7.2.90.0110.00416.86
7.2.80.0090.00716.84
7.2.70.0070.00916.70
7.2.60.0080.00516.72
7.2.50.0080.01016.83
7.2.40.0060.00916.79
7.2.30.0080.00816.84
7.2.20.0080.00916.77
7.2.10.0080.00716.61
7.2.00.0060.01017.41
7.1.330.0110.00315.91
7.1.320.0060.00915.83
7.1.310.0050.01215.76
7.1.300.0080.00515.90
7.1.290.0080.00615.89
7.1.280.0030.01015.84
7.1.270.0030.01015.93
7.1.260.0050.00915.91
7.1.250.0050.00715.75
7.1.240.0080.00415.78
7.1.230.0030.01015.85
7.1.220.0030.00715.84
7.1.210.0130.00015.75
7.1.200.0060.00415.73
7.1.190.0000.01615.86
7.1.180.0060.01015.85
7.1.170.0030.00615.95
7.1.160.0070.00315.92
7.1.150.0060.00715.93
7.1.140.0030.01015.79
7.1.130.0030.01015.83
7.1.120.0000.01315.76
7.1.110.0000.01415.69
7.1.100.0090.00316.94
7.1.90.0120.00415.80
7.1.80.0110.00415.84
7.1.70.0050.00516.57
7.1.60.0030.00816.33
7.1.50.0020.01616.23
7.1.40.0000.00915.74
7.1.30.0000.01415.79
7.1.20.0100.00715.59
7.1.10.0080.00315.71
7.1.00.0070.04019.02
7.0.330.0000.01715.56
7.0.320.0100.00615.37
7.0.310.0080.00415.56
7.0.300.0070.00315.52
7.0.290.0030.01015.49
7.0.280.0070.00715.38
7.0.270.0040.00415.19
7.0.260.0080.00415.25
7.0.250.0040.01115.37
7.0.240.0070.00715.38
7.0.230.0000.01215.27
7.0.220.0030.01015.51
7.0.210.0000.01015.30
7.0.200.0050.00516.13
7.0.190.0070.00715.63
7.0.180.0000.01615.48
7.0.170.0030.01015.16
7.0.160.0100.00715.24
7.0.150.0140.00015.48
7.0.140.0090.03918.77
7.0.130.0000.01315.31
7.0.120.0060.00915.29
7.0.110.0100.00315.35
7.0.100.0040.01115.36
7.0.90.0060.00815.57
7.0.80.0080.00815.52
7.0.70.0040.01115.51
7.0.60.0020.05217.68
7.0.50.0120.04016.79
7.0.40.0050.02916.73
7.0.30.0120.04516.76
7.0.20.0200.04016.72
7.0.10.0100.04516.79
7.0.00.0090.03616.60
5.6.400.0000.01314.05
5.6.390.0030.00614.37
5.6.380.0070.00714.36
5.6.370.0100.00314.30
5.6.360.0070.00714.52
5.6.350.0100.00914.51
5.6.340.0000.00914.03
5.6.330.0000.01414.53
5.6.320.0070.00414.28
5.6.310.0100.00014.44
5.6.300.0130.00314.47
5.6.290.0040.01114.58
5.6.280.0020.04417.54
5.6.270.0080.00614.24
5.6.260.0000.01514.46
5.6.250.0040.01114.64
5.6.240.0060.00914.59
5.6.230.0030.01214.43
5.6.220.0030.01014.19
5.6.210.0070.03617.48
5.6.200.0050.02516.34
5.6.190.0030.02717.47
5.6.180.0110.02317.55
5.6.170.0200.03717.46
5.6.160.0100.03717.46
5.6.150.0030.03216.35
5.6.140.0120.04016.43
5.6.130.0020.02416.29
5.6.120.0000.04417.64
5.6.110.0050.04817.63
5.6.100.0150.03717.62
5.6.90.0070.03217.66
5.6.80.0080.02517.40
5.6.70.1250.01717.42
5.6.60.0050.00514.16
5.6.50.0060.00314.32
5.6.40.0070.00314.18
5.6.30.0030.00914.69
5.6.20.0060.01014.37
5.6.10.0090.00614.59
5.6.00.0070.00714.10
5.5.380.0030.00914.42
5.5.370.0030.01414.60
5.5.360.0060.01014.63
5.5.350.0130.04017.20
5.5.340.0070.04516.12
5.5.330.0050.04117.45
5.5.320.0060.04317.27
5.5.310.0240.03717.17
5.5.300.0080.01816.30
5.5.290.0030.03516.23
5.5.280.0150.02417.66
5.5.270.0070.03817.63
5.5.260.0050.03217.57
5.5.250.0080.03717.44
5.5.240.0140.03817.28
5.5.230.0030.00714.32
5.5.220.0030.01014.38
5.5.210.0030.00614.39
5.5.200.0070.00314.53
5.5.190.0070.00714.23
5.5.180.0060.00314.51
5.5.170.0070.00314.35
5.5.160.0120.00314.22
5.5.150.0100.00714.56
5.5.140.0070.01114.62
5.5.130.0030.00914.25
5.5.120.0080.00414.21
5.5.110.0030.01414.36
5.5.100.0060.01014.23
5.5.90.0000.01314.04
5.5.80.0070.01114.33
5.5.70.0040.00714.40
5.5.60.0040.01414.51
5.5.50.0130.00014.25
5.5.40.0100.00714.52
5.5.30.0110.00314.53
5.5.20.0000.01814.29
5.5.10.0040.00814.53
5.5.00.0030.00614.25
5.4.450.0140.01915.93
5.4.440.0140.02016.08
5.4.430.0130.03016.05
5.4.420.0090.02516.07
5.4.410.0120.02215.79
5.4.400.0120.02315.88
5.4.390.0090.02515.85
5.4.380.0150.03315.63
5.4.370.0230.02815.64
5.4.360.0200.03015.66
5.4.350.0210.02815.59
5.4.340.0220.03015.67
5.4.330.0060.00312.60
5.4.320.0040.02512.53
5.4.310.0020.02712.53
5.4.300.0060.02312.53
5.4.290.0050.02312.53
5.4.280.0110.01412.48
5.4.270.0050.02212.48
5.4.260.0090.01812.48
5.4.250.0060.02712.48
5.4.240.0040.02512.48
5.4.230.0040.02312.48
5.4.220.0040.02312.47
5.4.210.0050.02112.48
5.4.200.0030.02512.47
5.4.190.0050.02212.47
5.4.180.0040.02212.47
5.4.170.0070.01912.48
5.4.160.0060.02012.48
5.4.150.0040.02312.48
5.4.140.0070.02112.32
5.4.130.0070.01912.31
5.4.120.0050.02312.29
5.4.110.0030.02312.29
5.4.100.0030.02012.29
5.4.90.0060.01912.29
5.4.80.0020.02412.29
5.4.70.0050.02212.29
5.4.60.0060.02312.29
5.4.50.0060.02012.29
5.4.40.0040.01912.28
5.4.30.0050.02212.28
5.4.20.0060.02012.28
5.4.10.0040.02212.28
5.4.00.0070.02112.02
5.3.290.0070.03912.80
5.3.280.0080.03612.71
5.3.270.0080.04712.73
5.3.260.0040.04612.72
5.3.250.0040.04412.72
5.3.240.0090.03312.72
5.3.230.0050.03812.71
5.3.220.0070.03512.68
5.3.210.0050.04012.68
5.3.200.0070.03512.68
5.3.190.0070.03512.68
5.3.180.0040.04612.67
5.3.170.0080.03412.67
5.3.160.0050.03712.67
5.3.150.0100.03712.67
5.3.140.0030.03912.66
5.3.130.0040.04012.66
5.3.120.0060.03812.66
5.3.110.0050.04012.66
5.3.100.0060.03612.12
5.3.90.0050.03712.08
5.3.80.0060.03612.08
5.3.70.0080.03512.07
5.3.60.0070.03512.06
5.3.50.0070.03712.00
5.3.40.0080.04012.00
5.3.30.0080.03211.96
5.3.20.0100.03011.74
5.3.10.0060.03411.70
5.3.00.0050.03611.69
5.2.170.0050.0299.19
5.2.160.0040.0299.20
5.2.150.0040.0319.19
5.2.140.0070.0289.19
5.2.130.0050.0289.14
5.2.120.0050.0289.15
5.2.110.0040.0299.16
5.2.100.0070.0359.15
5.2.90.0040.0299.16
5.2.80.0060.0289.15
5.2.70.0070.0279.15
5.2.60.0050.0299.10
5.2.50.0060.0289.07
5.2.40.0100.0259.05
5.2.30.0090.0289.03
5.2.20.0060.0279.01
5.2.10.0100.0248.93
5.2.00.0030.0308.79
5.1.60.0050.0238.08
5.1.50.0050.0248.07
5.1.40.0040.0248.06
5.1.30.0060.0238.41
5.1.20.0060.0308.43
5.1.10.0060.0288.15
5.1.00.0030.0268.15
5.0.50.0030.0276.63
5.0.40.0050.0256.50
5.0.30.0030.0326.31
5.0.20.0030.0226.29
5.0.10.0010.0226.26
5.0.00.0030.0316.25
4.4.90.0050.0134.78
4.4.80.0020.0164.76
4.4.70.0030.0154.76
4.4.60.0010.0174.76
4.4.50.0030.0164.77
4.4.40.0020.0264.71
4.4.30.0020.0164.76
4.4.20.0020.0164.84
4.4.10.0010.0174.85
4.4.00.0020.0254.76
4.3.110.0040.0144.67
4.3.100.0020.0154.66
4.3.90.0030.0144.64
4.3.80.0040.0224.59
4.3.70.0030.0154.63
4.3.60.0020.0154.63
4.3.50.0030.0194.63
4.3.40.0040.0274.54
4.3.30.0010.0173.30
4.3.20.0000.0183.28
4.3.10.0020.0153.24
4.3.00.0030.01718.41

preferences:
43.59 ms | 400 KiB | 5 Q