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.60.0070.00718.43
8.3.50.0080.01022.95
8.3.40.0210.00018.93
8.3.30.0110.00419.08
8.3.20.0070.00020.38
8.3.10.0080.00023.53
8.3.00.0080.00019.38
8.2.180.0130.01016.88
8.2.170.0080.00822.96
8.2.160.0070.00720.27
8.2.150.0000.00824.18
8.2.140.0050.00224.66
8.2.130.0070.00026.16
8.2.120.0100.00319.20
8.2.110.0040.00422.28
8.2.100.0140.00018.34
8.2.90.0030.00719.34
8.2.80.0030.00617.97
8.2.70.0000.00917.75
8.2.60.0000.00818.13
8.2.50.0000.00818.07
8.2.40.0040.00518.31
8.2.30.0000.00718.09
8.2.20.0000.00717.82
8.2.10.0050.00318.09
8.2.00.0070.00017.83
8.1.280.0140.01025.92
8.1.270.0030.00623.95
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.96
8.1.230.0090.00319.21
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0060.00617.47
8.1.190.0050.00317.48
8.1.180.0040.00418.10
8.1.170.0000.01018.59
8.1.160.0000.00722.09
8.1.150.0020.00519.03
8.1.140.0040.00417.56
8.1.130.0070.00017.92
8.1.120.0000.00717.64
8.1.110.0000.00717.62
8.1.100.0040.00417.52
8.1.90.0050.00217.55
8.1.80.0040.00417.51
8.1.70.0080.00017.57
8.1.60.0000.00817.77
8.1.50.0030.00517.73
8.1.40.0000.00717.63
8.1.30.0000.00817.81
8.1.20.0070.00017.80
8.1.10.0000.00817.76
8.1.00.0050.00317.65
8.0.300.0040.00418.77
8.0.290.0050.00316.88
8.0.280.0030.00318.64
8.0.270.0030.00517.32
8.0.260.0030.00317.41
8.0.250.0050.00217.05
8.0.240.0040.00417.07
8.0.230.0000.00717.06
8.0.220.0030.00317.10
8.0.210.0000.00717.06
8.0.200.0030.00317.13
8.0.190.0080.00017.07
8.0.180.0000.00717.08
8.0.170.0040.00417.03
8.0.160.0040.00417.17
8.0.150.0000.00716.93
8.0.140.0040.00416.82
8.0.130.0000.00613.46
8.0.120.0000.00817.04
8.0.110.0040.00417.03
8.0.100.0040.00416.97
8.0.90.0080.00016.93
8.0.80.0090.01317.10
8.0.70.0070.00017.16
8.0.60.0050.00217.12
8.0.50.0030.00516.95
8.0.30.0140.00817.11
8.0.20.0110.00917.40
8.0.10.0060.00316.82
8.0.00.0090.01116.92
7.4.330.0000.00515.21
7.4.320.0060.00016.79
7.4.300.0030.00316.63
7.4.290.0070.00016.80
7.4.280.0050.00216.78
7.4.270.0000.00816.76
7.4.260.0070.00016.66
7.4.250.0040.00416.71
7.4.240.0030.00516.75
7.4.230.0070.00016.74
7.4.220.0100.00716.65
7.4.210.0090.00616.61
7.4.200.0040.00416.77
7.4.160.0150.00916.48
7.4.150.0140.00917.40
7.4.140.0120.00817.86
7.4.130.0070.00916.65
7.4.120.0120.00516.55
7.4.110.0120.00416.55
7.4.100.0090.00916.57
7.4.90.0110.00716.63
7.4.80.0100.01319.39
7.4.70.0120.00916.64
7.4.60.0070.01016.60
7.4.50.0050.00316.47
7.4.40.0100.00716.54
7.4.30.0030.01316.52
7.4.10.0070.01116.60
7.4.00.0080.01015.69
7.3.330.0060.00013.21
7.3.320.0050.00013.33
7.3.310.0080.00016.37
7.3.300.0000.00716.27
7.3.290.0030.01316.45
7.3.280.0080.00916.42
7.3.270.0070.01017.40
7.3.260.0110.00616.32
7.3.250.0080.01016.32
7.3.240.0200.00016.59
7.3.230.0060.01016.71
7.3.210.0130.00916.74
7.3.200.0140.00419.39
7.3.190.0090.01216.57
7.3.180.0060.01016.66
7.3.170.0060.00916.55
7.3.160.0040.01116.66
7.3.130.0160.01316.31
7.3.120.0130.00515.66
7.3.110.0050.01315.45
7.3.100.0110.00715.60
7.3.90.0050.01015.58
7.3.80.0090.00515.52
7.3.70.0050.00915.68
7.3.60.0080.00515.65
7.3.50.0050.00915.68
7.3.40.0050.00915.66
7.3.30.0030.00815.76
7.3.20.0050.00817.53
7.3.10.0070.00517.41
7.3.00.0040.01117.47
7.2.330.0220.00416.81
7.2.320.0030.01416.76
7.2.310.0090.00916.86
7.2.300.0090.00916.55
7.2.290.0110.00616.83
7.2.260.0100.01316.60
7.2.250.0070.01315.99
7.2.240.0100.01115.73
7.2.230.0100.01015.87
7.2.220.0060.00915.85
7.2.210.0050.00615.70
7.2.200.0090.00315.88
7.2.190.0070.01115.85
7.2.180.0030.01315.73
7.2.170.0060.00815.88
7.2.160.0090.00616.65
7.2.150.0090.00318.39
7.2.140.0040.00918.48
7.2.130.0040.01118.33
7.2.120.0110.00418.35
7.2.110.0040.00818.35
7.2.100.0040.01318.48
7.2.90.0060.01018.52
7.2.80.0080.00418.42
7.2.70.0100.00618.39
7.2.60.0030.00918.23
7.2.50.0160.00318.55
7.2.40.0030.00918.49
7.2.30.0070.00318.42
7.2.20.0080.00418.49
7.2.10.0030.01018.29
7.2.00.0070.00518.84
7.1.330.0130.00316.66
7.1.320.0050.00616.56
7.1.310.0050.00716.61
7.1.300.0100.00616.61
7.1.290.0060.00616.63
7.1.280.0110.00316.63
7.1.270.0060.00616.71
7.1.260.0050.00516.67
7.1.250.0000.00917.32
7.1.240.0040.01317.38
7.1.230.0090.00617.31
7.1.220.0040.01117.40
7.1.210.0060.00617.38
7.1.200.0090.00017.29
7.1.190.0070.01017.24
7.1.180.0060.00317.38
7.1.170.0070.00717.35
7.1.160.0000.01617.40
7.1.150.0030.00917.39
7.1.140.0000.01317.37
7.1.130.0100.00317.20
7.1.120.0120.00017.27
7.1.110.0030.00617.45
7.1.100.0060.00617.91
7.1.90.0050.00517.55
7.1.80.0000.01217.30
7.1.70.0050.00917.27
7.1.60.0050.01118.47
7.1.50.0090.00917.30
7.1.40.0000.01517.47
7.1.30.0000.01117.39
7.1.20.0090.00317.51
7.1.10.0040.01117.29
7.1.00.0020.04319.95
7.0.330.0060.00617.03
7.0.320.0030.00617.02
7.0.310.0040.00816.98
7.0.300.0030.00617.07
7.0.290.0000.01116.96
7.0.280.0030.00716.78
7.0.270.0140.00016.86
7.0.260.0070.00717.08
7.0.250.0120.00017.00
7.0.240.0080.00817.03
7.0.230.0000.01116.96
7.0.220.0070.00416.99
7.0.210.0040.01116.94
7.0.200.0100.00416.84
7.0.190.0030.01017.06
7.0.180.0040.00717.13
7.0.170.0100.00317.02
7.0.160.0030.00617.08
7.0.150.0000.01016.94
7.0.140.0120.03319.58
7.0.130.0080.00817.04
7.0.120.0030.00617.06
7.0.110.0090.00317.09
7.0.100.0060.00316.92
7.0.90.0070.00717.04
7.0.80.0070.00717.03
7.0.70.0070.00717.10
7.0.60.0100.01818.48
7.0.50.0050.02717.36
7.0.40.0110.02017.37
7.0.30.0150.03117.64
7.0.20.0100.02317.55
7.0.10.0100.04517.60
7.0.00.0110.04217.63
5.6.400.0040.00816.18
5.6.390.0110.00416.06
5.6.380.0000.01416.05
5.6.370.0060.00915.89
5.6.360.0060.00615.77
5.6.350.0030.00715.98
5.6.340.0000.01316.09
5.6.330.0070.00715.83
5.6.320.0090.00616.02
5.6.310.0070.00716.10
5.6.300.0090.00616.16
5.6.290.0000.00915.92
5.6.280.0040.03918.66
5.6.270.0000.01416.13
5.6.260.0070.00315.99
5.6.250.0030.01016.12
5.6.240.0070.00716.03
5.6.230.0030.00616.01
5.6.220.0030.01316.04
5.6.210.0090.04218.20
5.6.200.0060.04516.98
5.6.190.0100.04218.43
5.6.180.0150.04018.19
5.6.170.0200.04018.24
5.6.160.0120.03318.17
5.6.150.0080.03616.97
5.6.140.0060.02316.95
5.6.130.0070.04717.13
5.6.120.0100.03218.63
5.6.110.0050.04818.50
5.6.100.0020.02918.43
5.6.90.0080.03818.54
5.6.80.0050.04618.19
5.6.70.0070.00715.77
5.6.60.0070.00715.55
5.6.50.0060.00615.85
5.6.40.0100.00315.82
5.6.30.0000.01315.67
5.6.20.0070.01015.90
5.6.10.0060.00315.94
5.6.00.0120.00315.87
5.5.380.0130.00615.82
5.5.370.0120.00615.98
5.5.360.0070.01215.66
5.5.350.0210.03818.07
5.5.340.0070.02816.94
5.5.330.0070.04618.09
5.5.320.0240.04118.04
5.5.310.0300.03418.02
5.5.300.0160.03816.95
5.5.290.0100.02116.99
5.5.280.0110.02818.41
5.5.270.0110.04418.29
5.5.260.0170.04018.37
5.5.250.0080.04618.28
5.5.240.0070.04218.07
5.5.230.0080.00815.72
5.5.220.0000.01515.89
5.5.210.0070.00415.93
5.5.200.0100.00315.80
5.5.190.0030.01115.77
5.5.180.0030.01215.86
5.5.170.0060.00316.00
5.5.160.0070.00716.02
5.5.150.0070.01016.04
5.5.140.0000.01415.92
5.5.130.0040.01216.01
5.5.120.0040.01215.85
5.5.110.0080.00815.93
5.5.100.0040.01115.81
5.5.90.0000.01115.91
5.5.80.0090.00615.73
5.5.70.0070.00716.00
5.5.60.0070.00415.93
5.5.50.0080.00815.91
5.5.40.0090.00315.90
5.5.30.0060.00616.02
5.5.20.0040.01116.05
5.5.10.0090.00615.83
5.5.00.0040.01115.70
5.4.450.0130.02816.09
5.4.440.0140.02115.99
5.4.430.0080.02316.09
5.4.420.0170.02216.23
5.4.410.0080.02916.08
5.4.400.0130.01716.01
5.4.390.0100.02716.01
5.4.380.0260.02315.66
5.4.370.0190.03415.73
5.4.360.0180.03415.71
5.4.350.0190.02815.63
5.4.340.0200.02915.58
5.4.330.0070.00712.70
5.4.320.0080.02112.57
5.4.310.0070.02012.56
5.4.300.0060.02212.57
5.4.290.0090.02012.60
5.4.280.0130.01412.50
5.4.270.0070.02012.56
5.4.260.0060.02212.55
5.4.250.0080.01912.54
5.4.240.0100.02012.53
5.4.230.0060.02312.46
5.4.220.0110.01812.48
5.4.210.0040.02312.46
5.4.200.0100.02012.54
5.4.190.0100.01812.52
5.4.180.0060.02312.45
5.4.170.0060.02312.49
5.4.160.0020.02512.47
5.4.150.0080.01912.52
5.4.140.0090.01912.39
5.4.130.0100.02012.33
5.4.120.0080.02312.31
5.4.110.0070.02112.40
5.4.100.0080.02112.31
5.4.90.0100.01912.34
5.4.80.0020.02512.35
5.4.70.0060.02212.34
5.4.60.0100.02112.40
5.4.50.0080.01912.33
5.4.40.0080.02412.33
5.4.30.0080.02312.38
5.4.20.0080.01812.34
5.4.10.0080.02112.29
5.4.00.0060.02112.09
5.3.290.0090.03812.80
5.3.280.0070.03712.71
5.3.270.0050.04012.73
5.3.260.0070.03912.71
5.3.250.0070.03612.72
5.3.240.0090.03412.72
5.3.230.0020.04212.71
5.3.220.0050.03812.68
5.3.210.0040.04012.68
5.3.200.0050.03712.68
5.3.190.0080.03512.68
5.3.180.0040.03812.68
5.3.170.0070.03612.67
5.3.160.0040.03912.67
5.3.150.0120.03112.67
5.3.140.0070.03512.66
5.3.130.0060.03712.66
5.3.120.0050.03912.66
5.3.110.0030.04012.66
5.3.100.0070.03512.12
5.3.90.0080.03312.08
5.3.80.0100.03212.07
5.3.70.0060.03412.08
5.3.60.0060.03612.07
5.3.50.0060.03412.00
5.3.40.0050.03612.00
5.3.30.0060.03511.96
5.3.20.0080.03611.74
5.3.10.0090.03511.70
5.3.00.0070.03311.69
5.2.170.0040.0309.19
5.2.160.0030.0299.19
5.2.150.0040.0299.20
5.2.140.0040.0299.19
5.2.130.0070.0259.15
5.2.120.0040.0289.15
5.2.110.0030.0299.16
5.2.100.0070.0359.15
5.2.90.0040.0289.16
5.2.80.0020.0329.15
5.2.70.0060.0289.14
5.2.60.0030.0309.10
5.2.50.0040.0309.07
5.2.40.0090.0249.05
5.2.30.0040.0289.03
5.2.20.0050.0329.02
5.2.10.0010.0308.93
5.2.00.0070.0258.80
5.1.60.0040.0258.08
5.1.50.0040.0318.07
5.1.40.0060.0278.06
5.1.30.0020.0278.41
5.1.20.0050.0338.43
5.1.10.0050.0298.16
5.1.00.0050.0238.15
5.0.50.0030.0216.64
5.0.40.0040.0186.50
5.0.30.0040.0296.31
5.0.20.0060.0166.29
5.0.10.0040.0196.26
5.0.00.0040.0296.25
4.4.90.0040.0144.78
4.4.80.0030.0154.76
4.4.70.0050.0144.76
4.4.60.0040.0214.75
4.4.50.0020.0154.77
4.4.40.0030.0244.71
4.4.30.0030.0204.76
4.4.20.0040.0134.85
4.4.10.0040.0144.85
4.4.00.0020.0244.76
4.3.110.0020.0154.67
4.3.100.0050.0134.66
4.3.90.0020.0174.63
4.3.80.0000.0274.58
4.3.70.0030.0144.63
4.3.60.0010.0154.63
4.3.50.0030.0154.63
4.3.40.0030.0254.54
4.3.30.0020.0193.30
4.3.20.0010.0163.28
4.3.10.0020.0173.23
4.3.00.0030.01318.41

preferences:
36.29 ms | 401 KiB | 5 Q