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]." / "; ?>

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.0230.00522.82
8.3.40.0060.01218.75
8.3.30.0070.00719.19
8.3.20.0070.00020.28
8.3.10.0040.00423.51
8.3.00.0080.00019.50
8.2.180.0080.01116.38
8.2.170.0100.01022.96
8.2.160.0120.00320.36
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0140.00019.22
8.2.110.0030.00622.08
8.2.100.0040.00818.34
8.2.90.0100.00019.11
8.2.80.0040.00417.97
8.2.70.0050.00317.62
8.2.60.0080.00018.05
8.2.50.0080.00018.07
8.2.40.0030.00618.28
8.2.30.0040.00418.14
8.2.20.0030.00517.76
8.2.10.0040.00418.06
8.2.00.0000.00717.62
8.1.280.0100.01025.92
8.1.270.0030.00523.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0060.00619.11
8.1.220.0030.00617.76
8.1.210.0080.00018.77
8.1.200.0030.00717.35
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0080.00418.21
8.1.160.0040.00421.91
8.1.150.0050.00218.91
8.1.140.0040.00417.38
8.1.130.0000.00717.84
8.1.120.0040.00417.55
8.1.110.0040.00417.46
8.1.100.0000.00817.55
8.1.90.0050.00217.46
8.1.80.0000.00817.53
8.1.70.0030.00317.35
8.1.60.0040.00717.57
8.1.50.0000.00817.65
8.1.40.0000.00717.47
8.1.30.0000.00817.55
8.1.20.0000.00717.73
8.1.10.0080.00017.54
8.1.00.0040.00417.45
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0040.00418.39
8.0.270.0030.00317.22
8.0.260.0000.00717.25
8.0.250.0020.00416.97
8.0.240.0070.00016.93
8.0.230.0000.00716.91
8.0.220.0050.00316.98
8.0.210.0030.00316.88
8.0.200.0000.00617.02
8.0.190.0040.00417.09
8.0.180.0050.00316.98
8.0.170.0030.00517.01
8.0.160.0030.00316.89
8.0.150.0050.00216.77
8.0.140.0040.00316.75
8.0.130.0000.00613.37
8.0.120.0000.00716.98
8.0.110.0040.00416.88
8.0.100.0000.00716.75
8.0.90.0030.00516.77
8.0.80.0090.01216.91
8.0.70.0050.00217.02
8.0.60.0000.00716.79
8.0.50.0040.00416.89
8.0.30.0060.01217.18
8.0.20.0150.00717.40
8.0.10.0000.00717.04
8.0.00.0140.00816.84
7.4.330.0000.00515.00
7.4.320.0070.00016.53
7.4.300.0030.00316.40
7.4.290.0030.00316.48
7.4.280.0070.00016.45
7.4.270.0000.00816.58
7.4.260.0030.00616.46
7.4.250.0040.00416.41
7.4.240.0020.00716.49
7.4.230.0030.00316.55
7.4.220.0060.01216.59
7.4.210.0060.00916.60
7.4.200.0000.00716.64
7.4.160.0060.01616.30
7.4.150.0120.00917.40
7.4.140.0120.00617.86
7.4.130.0050.01216.43
7.4.120.0070.00916.60
7.4.110.0060.01016.48
7.4.100.0070.01116.58
7.4.90.0100.00716.43
7.4.80.0170.00919.39
7.4.70.0100.01016.65
7.4.60.0110.00716.41
7.4.50.0090.00016.77
7.4.40.0060.00916.50
7.4.30.0130.00316.51
7.4.00.0090.00914.84
7.3.330.0060.00013.20
7.3.320.0050.00013.02
7.3.310.0030.00316.12
7.3.300.0070.00016.17
7.3.290.0100.01016.26
7.3.280.0050.01016.27
7.3.270.0100.00617.40
7.3.260.0140.00316.58
7.3.250.0130.00516.44
7.3.240.0100.00716.32
7.3.230.0040.01216.52
7.3.210.0180.00316.33
7.3.200.0040.01519.39
7.3.190.0040.01516.56
7.3.180.0110.01016.32
7.3.170.0000.01616.50
7.3.160.0040.01616.45
7.3.120.0090.00614.88
7.3.110.0110.00414.68
7.3.100.0090.00614.85
7.3.90.0070.00314.61
7.3.80.0070.01014.76
7.3.70.0060.00614.87
7.3.60.0000.01414.93
7.3.50.0070.00714.75
7.3.40.0000.01414.59
7.3.30.0060.00614.80
7.3.20.0070.00716.68
7.3.10.0020.01216.37
7.3.00.0030.00816.50
7.2.330.0120.01216.39
7.2.320.0170.00716.83
7.2.310.0070.01016.60
7.2.300.0070.01016.44
7.2.290.0070.01116.85
7.2.240.0030.01314.93
7.2.230.0040.00814.91
7.2.220.0040.01415.03
7.2.210.0060.00315.16
7.2.200.0040.01215.25
7.2.190.0000.01615.20
7.2.180.0060.00614.98
7.2.170.0060.00614.98
7.2.160.0070.00714.72
7.2.150.0070.00716.86
7.2.140.0070.00717.02
7.2.130.0130.00016.83
7.2.120.0080.00316.86
7.2.110.0020.01017.02
7.2.100.0040.01017.15
7.2.90.0060.00616.92
7.2.80.0100.00517.04
7.2.70.0060.00816.83
7.2.60.0060.00616.95
7.2.50.0050.00816.93
7.2.40.0020.01216.87
7.2.30.0080.00317.01
7.2.20.0030.01316.78
7.2.10.0050.00816.89
7.2.00.0080.00617.72
7.1.330.0000.01115.88
7.1.320.0000.01215.90
7.1.310.0060.00615.49
7.1.300.0060.00315.87
7.1.290.0040.00815.82
7.1.280.0030.01015.81
7.1.270.0040.01115.83
7.1.260.0080.00015.55
7.1.250.0090.00515.98
7.1.100.0040.00818.20
7.1.70.0030.00717.03
7.1.60.0060.01519.46
7.1.50.0100.01016.99
7.1.00.0100.07022.37
7.0.200.0000.00816.70
7.0.140.0100.06722.01
7.0.60.0030.05020.07
7.0.50.0070.07017.91
7.0.40.0170.07320.04
7.0.30.0370.04720.17
7.0.20.0300.05720.09
7.0.10.0070.07320.20
7.0.00.0100.06720.04
5.6.280.0070.07021.15
5.6.210.0100.08320.56
5.6.200.0100.03718.11
5.6.190.0000.05720.33
5.6.180.0270.04320.49
5.6.170.0170.04020.46
5.6.160.0100.04720.37
5.6.150.0070.03718.14
5.6.140.0100.03018.22
5.6.130.0030.06318.23
5.6.120.0070.03721.09
5.6.110.0100.08020.99
5.6.100.0170.04720.88
5.6.90.0070.04020.95
5.6.80.0100.08020.36
5.5.350.0230.07320.35
5.5.340.0000.06717.95
5.5.330.0170.06720.28
5.5.320.0000.06320.18
5.5.310.0230.07720.11
5.5.300.0100.03717.92
5.5.290.0070.08717.89
5.5.280.0000.04320.98
5.5.270.0070.06020.67
5.5.260.0100.06320.86
5.5.250.0070.07320.70
5.5.240.0130.07720.35
5.4.450.3430.04019.46
5.4.440.3300.03719.45
5.4.430.4070.04319.25
5.4.420.3370.03719.20
5.4.410.3200.04019.00
5.4.400.3200.03019.06
5.4.390.3630.03719.16
5.4.380.3400.03319.10
5.4.370.3630.04319.06
5.4.360.3500.03718.94
5.4.350.3400.03719.18
5.4.340.3400.03719.04
5.4.320.3730.04019.06
5.4.310.4270.03319.25
5.4.300.3570.03719.14
5.4.290.3570.04319.16
5.4.280.4430.04319.24
5.4.270.3570.03719.25
5.4.260.3670.03018.93
5.4.250.3470.04319.09
5.4.240.3400.04718.80
5.4.230.3300.03719.05
5.4.220.3600.04019.09
5.4.210.3670.03319.08
5.4.200.3400.04319.21
5.4.190.3400.03318.78
5.4.180.3630.03719.08
5.4.170.3470.03018.90
5.4.160.3630.03719.11
5.4.150.3100.03318.78
5.4.140.4070.03316.39
5.4.130.3570.04316.34
5.4.120.3200.04016.25
5.4.110.3300.04016.39
5.4.100.3630.03016.21
5.4.90.3900.03716.49
5.4.80.3530.03716.37
5.4.70.3900.02716.33
5.4.60.3630.03016.43
5.4.50.5000.03316.36
5.4.40.3230.04016.17
5.4.30.3600.03716.36
5.4.20.3770.03716.36
5.4.10.3700.03716.03
5.4.00.3630.03715.75
5.3.290.3570.03714.55
5.3.280.3670.03314.54
5.3.270.3500.03714.63
5.3.260.3670.03714.63
5.3.250.3270.03714.50
5.3.240.3370.04314.51
5.3.230.3400.03314.58
5.3.220.3500.03014.41
5.3.210.3530.03714.43
5.3.200.3830.04014.45
5.3.190.3670.03714.41
5.3.180.3370.04014.51
5.3.170.2930.03714.55
5.3.160.3370.03314.66
5.3.150.3830.03314.50
5.3.140.3300.03714.41
5.3.130.3630.04014.57
5.3.120.3630.03714.41
5.3.110.3770.03014.50
5.3.100.3300.04013.91
5.3.90.3330.03314.05
5.3.80.3430.04313.86
5.3.70.3530.03713.97
5.3.60.3470.03314.04
5.3.50.3870.03013.93
5.3.40.3530.03713.75
5.3.30.3830.03313.94
5.3.20.4230.04013.55
5.3.10.4430.03013.61
5.3.00.4370.04313.47
5.2.170.2730.03711.04
5.2.160.3030.02711.31
5.2.150.2970.02711.00
5.2.140.2770.03011.01
5.2.130.3370.03010.96
5.2.120.3570.02711.27
5.2.110.3670.02310.96
5.2.100.3030.03010.98
5.2.90.2800.03311.12
5.2.80.2670.03311.12
5.2.70.2730.03311.01
5.2.60.2730.02710.90
5.2.50.2700.02710.87
5.2.40.2200.03010.91
5.2.30.2570.03010.92
5.2.20.2330.03010.87
5.2.10.2500.01710.73
5.2.00.2330.03010.69
5.1.60.2270.0239.87
5.1.50.2300.0209.89
5.1.40.2300.0239.86
5.1.30.2270.02310.25
5.1.20.2270.03010.27
5.1.10.2370.02710.09
5.1.00.2200.0239.95
5.0.50.1130.0238.63
5.0.40.1170.0278.32
5.0.30.1170.0338.11
5.0.20.1700.0178.16
5.0.10.1130.0208.10
5.0.00.1530.0338.15
4.4.90.1130.0135.81
4.4.80.1230.0175.80
4.4.70.1070.0175.81
4.4.60.1130.0175.78
4.4.50.1200.0135.89
4.4.40.1100.0275.91
4.4.30.1170.0205.84
4.4.20.1170.0175.86
4.4.10.1100.0135.88
4.4.00.1130.0275.94
4.3.110.1500.0175.72
4.3.100.1600.0135.72
4.3.90.1170.0175.80
4.3.80.1570.0275.74
4.3.70.1400.0135.75
4.3.60.1530.0175.74
4.3.50.1400.0175.73
4.3.40.1470.0275.72
4.3.30.0700.0175.25
4.3.20.0700.0175.25
4.3.10.0830.0235.25
4.3.00.0730.0175.25

preferences:
43.4 ms | 401 KiB | 5 Q