3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = array(); $str_n = array(); $str_d = array(); $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_d[0] = mb_strstr($str[0],';'); $str_d[0] = substr($str_d[0],1,mb_strlen($str_d[0])); echo $str_n[0]." "; echo $str_d[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.0120.00318.20
8.3.50.0200.00722.75
8.3.40.0120.00319.02
8.3.30.0070.00719.10
8.3.20.0040.00420.29
8.3.10.0040.00423.62
8.3.00.0030.00519.38
8.2.180.0070.01116.75
8.2.170.0130.00722.96
8.2.160.0090.00620.36
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00419.86
8.2.110.0060.00319.36
8.2.100.0120.00017.91
8.2.90.0000.00819.35
8.2.80.0090.00017.97
8.2.70.0030.00517.63
8.2.60.0080.00018.03
8.2.50.0000.00818.34
8.2.40.0000.00720.59
8.2.30.0000.00821.04
8.2.20.0070.00017.76
8.2.10.0030.00618.17
8.2.00.0070.00017.69
8.1.280.0110.00425.92
8.1.270.0060.00324.01
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00822.12
8.1.230.0070.00317.83
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.47
8.1.190.0040.00417.65
8.1.180.0000.00918.10
8.1.170.0060.00318.50
8.1.160.0000.00718.85
8.1.150.0060.00318.95
8.1.140.0080.00017.51
8.1.130.0040.00417.97
8.1.120.0000.00817.37
8.1.110.0050.00317.35
8.1.100.0040.00417.45
8.1.90.0030.00517.43
8.1.80.0040.00317.44
8.1.70.0020.00517.45
8.1.60.0050.00517.54
8.1.50.0000.00817.59
8.1.40.0070.00017.50
8.1.30.0040.00417.68
8.1.20.0040.00417.71
8.1.10.0000.00717.71
8.1.00.0040.00417.47
8.0.300.0000.00718.82
8.0.290.0000.00816.75
8.0.280.0050.00318.46
8.0.270.0070.00017.34
8.0.260.0030.00317.34
8.0.250.0000.00717.06
8.0.240.0000.00816.96
8.0.230.0030.00316.89
8.0.220.0000.00717.05
8.0.210.0000.00716.93
8.0.200.0030.00316.93
8.0.190.0050.00317.07
8.0.180.0000.00717.00
8.0.170.0040.00416.98
8.0.160.0000.00716.96
8.0.150.0000.00716.91
8.0.140.0040.00416.86
8.0.130.0030.00313.38
8.0.120.0040.00416.91
8.0.110.0000.00816.86
8.0.100.0070.00016.79
8.0.90.0030.00516.88
8.0.80.0070.01017.02
8.0.70.0000.00816.84
8.0.60.0040.00416.79
8.0.50.0000.00716.95
8.0.30.0070.01117.27
8.0.20.0080.01117.40
8.0.10.0000.00716.91
8.0.00.0130.00816.85
7.4.330.0000.00515.00
7.4.320.0030.00316.41
7.4.300.0070.00016.37
7.4.290.0060.00016.55
7.4.280.0000.00816.52
7.4.270.0000.00716.41
7.4.260.0060.00316.53
7.4.250.0000.00816.32
7.4.240.0030.00616.46
7.4.230.0000.00716.59
7.4.220.0100.00716.48
7.4.210.0070.00716.53
7.4.200.0030.00316.63
7.4.160.0060.00916.48
7.4.150.0030.01617.40
7.4.140.0050.01317.86
7.4.130.0110.00816.40
7.4.120.0130.00316.48
7.4.110.0040.01416.41
7.4.100.0160.00616.42
7.4.90.0120.00816.52
7.4.80.0060.01219.39
7.4.70.0090.01216.48
7.4.60.0160.00716.50
7.4.50.0000.00416.27
7.4.40.0170.00016.38
7.4.30.0100.00716.30
7.4.00.0040.00714.86
7.3.330.0020.00413.01
7.3.320.0030.00313.21
7.3.310.0030.00316.37
7.3.300.0000.00716.14
7.3.290.0120.00316.39
7.3.280.0090.00716.31
7.3.270.0090.00917.40
7.3.260.0120.01216.20
7.3.250.0130.00716.50
7.3.240.0140.00316.46
7.3.230.0140.00316.51
7.3.210.0330.00816.28
7.3.200.0040.01519.39
7.3.190.0030.01516.23
7.3.180.0040.01116.60
7.3.170.0120.00416.31
7.3.160.0080.01616.51
7.3.10.0160.00316.50
7.3.00.0070.01116.67
7.2.330.0100.00916.67
7.2.320.0100.00716.73
7.2.310.0030.01316.69
7.2.300.0070.01016.68
7.2.290.0110.00716.73
7.2.130.0090.01216.60
7.2.120.0060.00916.84
7.2.110.0130.00716.61
7.2.100.0120.00617.07
7.2.90.0060.00917.00
7.2.80.0150.00416.90
7.2.70.0230.00416.78
7.2.60.0150.01016.75
7.2.50.0160.01316.57
7.2.40.0100.01716.88
7.2.30.0110.01117.04
7.2.20.0180.00716.90
7.2.10.0180.00716.54
7.2.00.0050.01018.12
7.1.250.0120.00315.63
7.1.240.0080.00415.61
7.1.230.0170.00315.90
7.1.220.0160.01015.75
7.1.210.0090.00615.71
7.1.200.0120.00615.49
7.1.190.0180.00015.68
7.1.180.0160.00315.54
7.1.170.0180.00315.61
7.1.160.0140.01115.82
7.1.150.0110.01415.59
7.1.140.0030.01315.54
7.1.130.0100.00715.70
7.1.120.0030.00915.59
7.1.110.0040.01115.74
7.1.100.0110.00816.92
7.1.90.0200.00715.89
7.1.80.0100.01015.75
7.1.70.0070.00716.39
7.1.60.0090.00917.40
7.1.50.0090.00916.19
7.1.40.0030.01015.68
7.1.30.0120.00615.75
7.1.20.0100.00715.43
7.1.10.0060.00915.90
7.1.00.0090.04019.13
7.0.330.0130.00315.32
7.0.320.0150.00415.10
7.0.310.0070.00715.36
7.0.300.0090.00615.29
7.0.290.0310.00815.27
7.0.280.0070.01015.34
7.0.270.0060.00915.12
7.0.260.0170.00315.06
7.0.250.0030.01015.30
7.0.240.0200.00315.45
7.0.230.0300.01015.29
7.0.220.0170.01015.54
7.0.210.0150.00615.47
7.0.200.0070.00816.07
7.0.190.0110.00415.18
7.0.180.0100.00715.35
7.0.170.0140.00415.43
7.0.160.0060.00615.34
7.0.150.0140.00715.46
7.0.140.0090.03718.73
7.0.130.0170.00015.33
7.0.120.0120.00015.45
7.0.110.0210.00915.49
7.0.100.0030.01015.07
7.0.90.0130.00615.25
7.0.80.0150.00415.18
7.0.70.0140.00315.37
7.0.60.0100.04317.73
7.0.50.0150.03716.65
7.0.40.0150.03816.80
7.0.30.0220.04416.85
7.0.20.0100.03916.67
7.0.10.0100.03516.83
7.0.00.0120.03216.71
5.6.380.0040.00414.64
5.6.370.0000.01414.21
5.6.360.0080.00314.49
5.6.350.0060.00614.25
5.6.340.0040.01114.26
5.6.330.0060.00614.37
5.6.320.0140.00014.55
5.6.310.0090.00314.47
5.6.300.0040.01214.48
5.6.290.0040.00714.30
5.6.280.0080.03817.46
5.6.270.0000.01214.15
5.6.260.0040.00714.54
5.6.250.0100.00314.45
5.6.240.0000.00814.58
5.6.230.0030.00614.55
5.6.220.0040.00814.23
5.6.210.0100.03217.51
5.6.200.0020.02416.33
5.6.190.0080.02817.43
5.6.180.0170.02417.23
5.6.170.0150.04217.33
5.6.160.0080.03617.49
5.6.150.0080.04016.26
5.6.140.0040.04316.21
5.6.130.0050.03916.28
5.6.120.0110.04617.57
5.6.110.0100.04317.59
5.6.100.0080.02017.55
5.6.90.0030.05317.65
5.6.80.0100.04417.24
5.6.70.2300.02217.40
5.6.60.0060.00714.31
5.6.50.0060.00614.25
5.6.40.0050.00814.41
5.6.30.0030.00914.27
5.6.20.0100.00014.53
5.6.10.0050.00314.12
5.6.00.0090.00614.15
5.5.380.0030.00911.21
5.5.370.0000.01011.27
5.5.360.0040.00810.95
5.5.350.0100.04015.88
5.5.340.0060.02414.46
5.5.330.0080.04315.75
5.5.320.0070.03815.65
5.5.310.0190.03615.54
5.5.300.0110.04014.27
5.5.290.0050.04514.40
5.5.280.0050.02315.95
5.5.270.0110.03515.90
5.5.260.0100.03216.05
5.5.250.0050.03915.77
5.5.240.0080.01515.79
5.5.230.0070.00311.13
5.5.220.0000.00810.95
5.5.210.0030.00311.27
5.5.200.0060.00611.29
5.5.190.0000.00811.13
5.5.180.0030.01010.84
5.5.170.0030.00311.10
5.5.160.0040.00410.74
5.5.150.0030.00510.72
5.5.140.0090.00410.82
5.5.130.0030.00711.18
5.5.120.0060.00610.89
5.5.110.0030.00311.09
5.5.100.0030.00711.30
5.5.90.0000.00911.09
5.5.80.0120.00011.02
5.5.70.0040.00811.04
5.5.60.0030.00911.02
5.5.50.0000.00611.20
5.5.40.0000.00611.22
5.5.30.0090.00311.36
5.5.20.0000.01211.26
5.5.10.0000.01011.30
5.5.00.0060.00611.09
5.4.450.0150.02515.13
5.4.440.0170.02315.33
5.4.430.0070.02315.19
5.4.420.0130.02015.38
5.4.410.0130.02315.37
5.4.400.0140.02115.07
5.4.390.0120.02415.07
5.4.380.0250.03914.79
5.4.370.0490.03714.66
5.4.360.0340.03514.86
5.4.350.0220.04114.77
5.4.340.0230.03214.80
5.4.330.0030.00311.14
5.4.320.0050.02011.64
5.4.310.0020.02511.80
5.4.300.0030.02411.83
5.4.290.0070.02211.67
5.4.280.0070.01911.63
5.4.270.0020.02411.73
5.4.260.0080.02011.72
5.4.250.0070.02011.71
5.4.240.0050.02111.76
5.4.230.0050.02211.78
5.4.220.0090.02011.64
5.4.210.0060.02211.69
5.4.200.0080.01811.70
5.4.190.0020.02111.73
5.4.180.0040.02211.71
5.4.170.0060.02211.52
5.4.160.0070.01911.54
5.4.150.0060.02311.72
5.4.140.0040.02311.44
5.4.130.0040.02011.47
5.4.120.0050.01911.59
5.4.110.0050.02111.62
5.4.100.0040.02311.48
5.4.90.0070.01911.46
5.4.80.0020.02611.41
5.4.70.0090.01511.42
5.4.60.0040.01911.38
5.4.50.0070.02611.52
5.4.40.0040.02011.46
5.4.30.0020.02311.44
5.4.20.0050.02111.33
5.4.10.0020.02311.46
5.4.00.0060.01811.18
5.3.290.0020.02311.68
5.3.280.0060.02111.55
5.3.270.0020.03011.64
5.3.260.0040.02311.58
5.3.250.0060.01911.60
5.3.240.0040.02611.57
5.3.230.0030.02411.64
5.3.220.0030.02211.61
5.3.210.0060.02211.61
5.3.200.0050.02211.58
5.3.190.0040.02611.67
5.3.180.0070.02111.64
5.3.170.0060.01811.63
5.3.160.0040.02311.66
5.3.150.0040.01911.70
5.3.140.0040.02211.61
5.3.130.0040.02411.63
5.3.120.0070.02011.60
5.3.110.0040.02411.57
5.3.100.0080.01911.28
5.3.90.0050.02211.23
5.3.80.0060.01811.22
5.3.70.0050.01911.13
5.3.60.0040.02411.25
5.3.50.0030.02311.14
5.3.40.0040.02111.22
5.3.30.0020.02111.25
5.3.20.0030.02111.02
5.3.10.0030.02310.88
5.3.00.0050.02010.95
5.2.170.0050.0169.62
5.2.160.0060.0149.62
5.2.150.0020.0209.62
5.2.140.0060.0179.62
5.2.130.0040.0169.60
5.2.120.0070.0149.60
5.2.110.0040.0219.60
5.2.100.0030.0179.60
5.2.90.0040.0199.60
5.2.80.0050.0209.60
5.2.70.0050.0219.60
5.2.60.0010.0219.58
5.2.50.0040.0229.56
5.2.40.0030.0189.55
5.2.30.0070.0179.54
5.2.20.0030.0199.53
5.2.10.0050.0169.49
5.2.00.0040.0169.42
5.1.60.0070.0139.07
5.1.50.0030.0189.06
5.1.40.0040.0149.06
5.1.30.0040.0159.23
5.1.20.0050.0159.24
5.1.10.0050.0149.11
5.1.00.0040.0189.11
5.0.50.0040.0128.34
5.0.40.0020.0138.27
5.0.30.0010.0198.18
5.0.20.0020.0188.16
5.0.10.0020.0128.15
5.0.00.0040.0158.15
4.4.90.0050.0107.42
4.4.80.0040.0087.41
4.4.70.0040.0137.41
4.4.60.0020.0107.41
4.4.50.0030.0097.42
4.4.40.0050.0117.39
4.4.30.0010.0107.41
4.4.20.0060.0097.46
4.4.10.0040.0107.46
4.4.00.0010.0167.41
4.3.110.0000.0127.37
4.3.100.0010.0117.37
4.3.90.0040.0087.35
4.3.80.0040.0147.33
4.3.70.0030.0087.35
4.3.60.0030.0097.35
4.3.50.0020.0107.35
4.3.40.0020.0167.30
4.3.30.0030.0116.67
4.3.20.0040.0106.66
4.3.10.0020.0156.64
4.3.00.0030.00814.24

preferences:
46.36 ms | 401 KiB | 5 Q