3v4l.org

run code in 300+ PHP versions simultaneously
<?php $finfo = finfo_open(); $txt = finfo_buffer($finfo,mb_convert_encoding("公開フラグ ほげほげ", 'SJIS-win')); var_dump($txt); // string(34) "DOS executable (COM, 0x8C-variant)"

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.140.0250.00023.34
8.3.130.0100.00525.11
8.3.120.0200.00024.02
8.3.110.0040.00925.67
8.3.100.0080.00524.06
8.3.90.0120.00426.77
8.3.80.0130.00023.50
8.3.70.0070.01023.25
8.3.60.0170.00325.06
8.3.50.0170.00325.57
8.3.40.0110.00426.56
8.3.30.0120.01625.25
8.3.20.0050.00327.89
8.3.10.0080.00028.02
8.3.00.0050.00329.77
8.2.250.0030.00721.48
8.2.240.0080.00322.45
8.2.230.0100.00722.58
8.2.220.0110.00037.54
8.2.210.0030.00526.77
8.2.200.0060.00621.63
8.2.190.0060.01021.88
8.2.180.0150.00925.92
8.2.170.0170.00324.09
8.2.160.0100.00628.25
8.2.150.0000.00826.84
8.2.140.0090.00024.66
8.2.130.0050.00326.78
8.2.120.0040.00724.95
8.2.110.0090.00025.56
8.2.100.0000.01623.03
8.2.90.0060.00322.75
8.2.80.0070.00324.03
8.2.70.0070.00422.63
8.2.60.0110.00422.60
8.2.50.0070.00422.74
8.2.40.0030.00626.14
8.2.30.0080.00424.29
8.2.20.0040.00424.37
8.2.10.0030.00923.15
8.2.00.0030.00524.22
8.1.300.0140.00622.07
8.1.290.0060.00621.07
8.1.280.0150.00025.92
8.1.270.0040.00426.11
8.1.260.0090.00026.35
8.1.250.0090.00328.09
8.1.240.0050.00526.11
8.1.230.0100.00625.04
8.1.220.0100.00022.66
8.1.210.0100.00022.36
8.1.200.0080.00322.35
8.1.190.0080.00322.23
8.1.180.0030.00622.55
8.1.170.0110.00022.96
8.1.160.0030.00724.09
8.1.150.0000.00923.66
8.1.140.0030.00522.56
8.1.130.0000.00824.05
8.1.120.0050.00322.60
8.1.110.0050.00322.53
8.1.100.0040.00722.57
8.1.90.0100.00022.47
8.1.80.0060.00322.40
8.1.70.0030.00722.46
8.1.60.0030.00622.64
8.1.50.0040.00422.63
8.1.40.0000.00822.52
8.1.30.0070.00722.61
8.1.20.0060.00622.70
8.1.10.0060.00622.56
8.1.00.0120.00022.61
8.0.300.0060.00322.78
8.0.290.0060.00621.38
8.0.280.0050.00523.18
8.0.270.0050.00321.62
8.0.260.0040.00423.16
8.0.250.0040.00421.73
8.0.240.0000.00821.73
8.0.230.0050.00521.81
8.0.220.0050.00521.57
8.0.210.0020.00721.72
8.0.200.0060.00521.77
8.0.190.0100.00021.57
8.0.180.0030.00721.74
8.0.170.0060.00321.77
8.0.160.0050.00521.62
8.0.150.0030.00721.68
8.0.140.0100.00021.63
8.0.130.0080.00321.66
8.0.120.0070.00321.73
8.0.110.0100.00021.60
8.0.100.0050.00521.54
8.0.90.0000.01021.65
8.0.80.0090.00321.65
8.0.70.0070.00321.53
8.0.60.0070.00421.80
8.0.50.0030.00721.73
8.0.30.0080.00321.66
8.0.20.0070.00221.68
8.0.10.0020.00721.78
8.0.00.0140.00021.66
7.4.330.0000.00619.38
7.4.320.0000.00820.73
7.4.300.0080.00020.84
7.4.290.0030.00620.68
7.4.280.0050.00520.84
7.4.270.0000.00920.80
7.4.260.0060.00320.63
7.4.250.0050.00520.71
7.4.240.0080.00020.73
7.4.230.0080.00020.72
7.4.220.0000.00920.82
7.4.210.0080.00020.64
7.4.200.0030.00720.71
7.4.190.0040.00420.77
7.4.180.0060.00320.95
7.4.160.0030.00620.82
7.4.150.0040.00420.64
7.4.140.0000.00920.68
7.4.130.0040.00420.70
7.4.120.0080.00020.80
7.4.110.0060.00320.72
7.4.100.0070.00220.59
7.4.90.0070.00220.71
7.4.80.0060.00320.68
7.4.70.0090.00020.61
7.4.60.0090.00020.83
7.4.50.0100.00020.64
7.4.40.0050.00520.59
7.4.30.0060.00320.49
7.4.20.0050.00520.55
7.4.10.0000.01120.41
7.4.00.0100.00020.75
7.3.330.0090.00620.30
7.3.320.0080.01020.28
7.3.310.0110.00520.27
7.3.300.0100.00620.31
7.3.290.0140.00220.11
7.3.280.0160.00020.25
7.3.270.0080.00820.25
7.3.260.0110.00420.23
7.3.250.0120.00420.09
7.3.240.0120.00320.19
7.3.230.0040.01220.30
7.3.220.0160.00020.32
7.3.210.0060.01020.23
7.3.200.0090.00620.08
7.3.190.0130.00320.02
7.3.180.0090.00620.05
7.3.170.0110.00620.28
7.3.160.0050.01120.11
7.3.150.0150.00020.15
7.3.140.0100.00720.11
7.3.130.0120.00420.02
7.3.120.0000.01420.14
7.3.110.0140.00220.18
7.3.100.0130.00320.08
7.3.90.0160.00020.49
7.3.80.0160.00020.02
7.3.70.0140.00320.29
7.3.60.0080.00820.35
7.3.50.0080.00820.43
7.3.40.0070.00720.20
7.3.30.0070.01020.21
7.3.20.0130.00320.46
7.3.10.0130.00320.10
7.3.00.0160.00020.21
7.2.340.0120.00320.27
7.2.330.0100.00520.27
7.2.320.0000.01520.16
7.2.310.0160.00020.04
7.2.300.0160.00020.07
7.2.290.0140.00220.27
7.2.280.0050.01120.15
7.2.270.0090.00620.27
7.2.260.0080.00820.05
7.2.250.0110.00520.27
7.2.240.0160.00020.05
7.2.230.0160.00020.34
7.2.220.0120.00420.29
7.2.210.0160.00020.35
7.2.200.0060.01120.16
7.2.190.0110.00520.41
7.2.180.0070.00820.45
7.2.170.0140.00020.39
7.2.160.0120.00520.40
7.2.150.0180.00520.23
7.2.140.0080.00820.33
7.2.130.0080.00820.54
7.2.120.0120.00620.65
7.2.110.0130.00320.37
7.2.100.0000.01720.35
7.2.90.0170.00020.61
7.2.80.0160.00020.42
7.2.70.0150.00220.34
7.2.60.0130.00420.40
7.2.50.0110.00620.38
7.2.40.0070.00920.57
7.2.30.0170.00020.37
7.2.20.0170.00020.71
7.2.10.0080.00820.57
7.2.00.0140.00020.41
7.1.330.0140.00317.95
7.1.320.0090.00518.25
7.1.310.0100.00417.99
7.1.300.0110.00318.10
7.1.290.0070.00718.21
7.1.280.0100.00518.21
7.1.270.0090.00518.26
7.1.260.0070.00718.23
7.1.250.0110.00418.18
7.1.240.0070.00718.06
7.1.230.0110.00418.11
7.1.220.0000.01617.91
7.1.210.0050.00918.00
7.1.200.0110.00418.07
7.1.190.0080.00618.06
7.1.180.0120.00317.93
7.1.170.0030.01217.88
7.1.160.0060.00918.00
7.1.150.0100.00517.91
7.1.140.0080.00618.01
7.1.130.0120.00217.95
7.1.120.0120.00318.10
7.1.110.0300.00318.03
7.1.100.0120.00317.70
7.1.90.0120.00317.96
7.1.80.0110.00418.09
7.1.70.0240.00317.84
7.1.60.0080.00818.07
7.1.50.0050.00518.00
7.1.40.0080.00318.03
7.1.30.0090.00617.97
7.1.20.0120.00217.99
7.1.10.0120.00317.89
7.1.00.0140.00017.78
7.0.330.0050.00917.88
7.0.320.0110.00317.69
7.0.310.0070.00717.57
7.0.300.0100.00317.73
7.0.290.0100.00517.64
7.0.280.0100.00317.52
7.0.270.0090.00517.57
7.0.260.0140.00017.70
7.0.250.0120.00217.63
7.0.240.0070.00717.87
7.0.230.0150.00617.72
7.0.220.0110.00417.64
7.0.210.0070.00717.71
7.0.200.0140.00417.76
7.0.190.0090.00617.89
7.0.180.0110.00417.55
7.0.170.0140.00017.64
7.0.160.0100.00317.58
7.0.150.0150.00017.88
7.0.140.0140.00017.73
7.0.130.0120.00317.68
7.0.120.0110.00317.79
7.0.110.0070.00717.79
7.0.100.0070.00717.69
7.0.90.0070.00717.54
7.0.80.0080.00617.77
7.0.70.0030.01017.51
7.0.60.0090.00517.67
7.0.50.0140.00017.89
7.0.40.0120.00317.82
7.0.30.0120.00217.88
7.0.20.0110.00517.87
7.0.10.0160.00017.85
7.0.00.0130.00017.53
5.6.400.0040.00418.38
5.6.390.0090.00518.41
5.6.380.0090.00518.22
5.6.370.0060.00618.16
5.6.360.0130.00018.40
5.6.350.0100.00318.20
5.6.340.0060.00618.17
5.6.330.0090.00418.31
5.6.320.0040.00918.20
5.6.310.0050.00918.38
5.6.300.0100.00318.16
5.6.290.0070.00718.38
5.6.280.0110.00318.32
5.6.270.0100.00318.34
5.6.260.0100.00318.36
5.6.250.0060.00718.31
5.6.240.0130.00018.30
5.6.230.0130.00018.36
5.6.220.0110.00218.29
5.6.210.0080.00718.13
5.6.200.0110.00418.27
5.6.190.0110.00318.46
5.6.180.0050.00918.17
5.6.170.0110.00318.27
5.6.160.0000.01318.41
5.6.150.0130.00018.34
5.6.140.0070.00718.48
5.6.130.0100.00318.41
5.6.120.0110.00218.47
5.6.110.0050.00918.34
5.6.100.0060.00618.34
5.6.90.0100.00318.33
5.6.80.0080.00418.28
5.6.70.0130.00018.31
5.6.60.0090.00318.51
5.6.50.0100.00518.34
5.6.40.0090.00418.28
5.6.30.0080.00418.30
5.6.20.0000.01218.04
5.6.10.0100.00318.14
5.6.00.0060.00618.09
5.5.380.0130.00018.32
5.5.370.0130.00018.39
5.5.360.0080.00617.93
5.5.350.0130.00018.27
5.5.340.0100.00318.26
5.5.330.0060.00617.91
5.5.320.0040.00917.91
5.5.310.0110.00318.26
5.5.300.0060.00617.86
5.5.290.0130.00017.91
5.5.280.0060.00717.93
5.5.270.0090.00318.00
5.5.260.0100.00318.29
5.5.250.0130.00018.14
5.5.240.0110.00418.26
5.5.230.0130.00017.91
5.5.220.0130.00017.93
5.5.210.0120.00018.11
5.5.200.0100.00318.30
5.5.190.0060.00618.05
5.5.180.0100.00318.31
5.5.170.0040.00818.15
5.5.160.0080.00417.91
5.5.150.0130.00018.01
5.5.140.0090.00518.14
5.5.130.0140.00018.12
5.5.120.0070.00718.16
5.5.110.0110.00318.12
5.5.100.0060.00618.30
5.5.90.0080.00518.09
5.5.80.0080.00618.20
5.5.70.0070.00718.00
5.5.60.0090.00418.30
5.5.50.0080.00518.25
5.5.40.0090.00317.89
5.5.30.0060.00618.24
5.5.20.0060.00618.11
5.5.10.0080.00417.80
5.5.00.0030.00918.00
5.4.450.0000.01015.01
5.4.440.0100.00014.96
5.4.430.0030.00715.04
5.4.420.0050.00615.06
5.4.410.0000.01015.03
5.4.400.0050.00515.04
5.4.390.0080.00415.21
5.4.380.0060.00615.21
5.4.370.0110.00015.05
5.4.360.0100.00014.93
5.4.350.0080.00315.04
5.4.340.0070.00315.08
5.4.330.0050.00515.02
5.4.320.0100.00015.13
5.4.310.0110.00015.20
5.4.300.0100.00014.97
5.4.290.0050.00615.05
5.4.280.0080.00315.14
5.4.270.0000.01015.09
5.4.260.0060.00614.90
5.4.250.0110.00015.14
5.4.240.0050.00515.13
5.4.230.0100.00014.88
5.4.220.0070.00314.84
5.4.210.0000.01114.79
5.4.200.0070.00314.95
5.4.190.0030.00814.79
5.4.180.0000.01115.01
5.4.170.0070.00414.83
5.4.160.0030.00715.08
5.4.150.0100.00014.80
5.4.140.0110.00014.59
5.4.130.0030.00714.54
5.4.120.0100.00014.88
5.4.110.0100.00014.79
5.4.100.0080.00214.91
5.4.90.0080.00214.95
5.4.80.0100.00014.71
5.4.70.0100.00014.51
5.4.60.0080.00314.66
5.4.50.0110.00014.75
5.4.40.0000.01014.75
5.4.30.0050.00514.92
5.4.20.0030.00714.59
5.4.10.0040.00614.88
5.4.00.0050.00514.17
5.3.290.0060.00615.31
5.3.280.0070.00315.18
5.3.270.0040.00715.22
5.3.260.0100.00015.32
5.3.250.0080.00315.11
5.3.240.0030.00714.98
5.3.230.0070.00315.00
5.3.220.0100.00014.93
5.3.210.0070.00414.91
5.3.200.0070.00315.18
5.3.190.0100.00014.95
5.3.180.0070.00415.26
5.3.170.0000.01115.25
5.3.160.0050.00515.34
5.3.150.0050.00515.00
5.3.140.0030.00715.31
5.3.130.0070.00414.93
5.3.120.0100.00014.93
5.3.110.0080.00314.90
5.3.100.0070.00314.80
5.3.90.0050.00514.43
5.3.80.0050.00514.61
5.3.70.0100.00014.57
5.3.60.0030.00714.50
5.3.50.0050.00514.39
5.3.40.0000.01014.55
5.3.30.0100.00014.59
5.3.20.0000.01014.37
5.3.10.0110.00014.20
5.3.00.0000.01014.52
5.2.170.0060.00311.90
5.2.160.0080.00011.72
5.2.150.0040.00411.94
5.2.140.0040.00411.63
5.2.130.0080.00011.83
5.2.120.0050.00311.60
5.2.110.0090.00011.65
5.2.100.0060.00311.63
5.2.90.0030.00611.55
5.2.80.0040.00411.54
5.2.70.0090.00011.57
5.2.60.0060.00211.70
5.2.50.0050.00311.61
5.2.40.0040.00411.66
5.2.30.0080.00011.79
5.2.20.0050.00311.42
5.2.10.0070.00211.37
5.2.00.0080.00011.52
5.1.60.0080.00010.67
5.1.50.0000.00710.87
5.1.40.0000.00710.79
5.1.30.0070.00010.86
5.1.20.0040.00410.72
5.1.10.0040.00411.00
5.1.00.0000.00710.83
5.0.50.0030.0039.93
5.0.40.0030.00310.02
5.0.30.0060.0009.72
5.0.20.0060.00010.00
5.0.10.0000.0069.61
5.0.00.0060.0009.80
4.4.90.0030.0009.33
4.4.80.0000.0049.33
4.4.70.0040.0009.33
4.4.60.0040.0009.33
4.4.50.0040.0009.33
4.4.40.0020.0029.33
4.4.30.0000.0039.33
4.4.20.0040.0009.33
4.4.10.0040.0009.33
4.4.00.0030.0009.33
4.3.110.0030.0009.33
4.3.100.0040.0009.33
4.3.90.0040.0009.33
4.3.80.0040.0009.33
4.3.70.0040.0009.33
4.3.60.0040.0009.33
4.3.50.0000.0049.33
4.3.40.0020.0029.33
4.3.30.0000.0039.33
4.3.20.0030.0009.33
4.3.10.0000.0029.33
4.3.00.0000.0029.33

preferences:
17.25 ms | 403 KiB | 5 Q