3v4l.org

run code in 300+ PHP versions simultaneously
<?php // \u0130 $s = 'u\'ZENG\u0130N OL YADA U\u011eRUNDA \xd6L\''; if ( substr($s, 0, 2) == 'u\'' && substr($s, -1) == '\'' ) { $s = substr($s, 2, strlen($s) - 3); $s = preg_replace('/\\u([0-9a-f]{4})/', '&#x;', $s); var_dump($s); } else { die('gestorben wegen: ' . $s); } var_dump(mb_convert_encoding('&#x0130;', 'UTF-8', 'HTML-ENTITIES') );

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.01118.55
8.3.50.0300.00621.27
8.3.40.0120.00318.70
8.3.30.0070.00720.13
8.3.20.0070.00020.09
8.3.10.0000.00822.02
8.3.00.0050.00322.45
8.2.180.0060.01016.63
8.2.170.0120.00322.96
8.2.160.0070.00722.26
8.2.150.0000.00924.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0040.00420.84
8.2.110.0040.00419.39
8.2.100.0100.00317.83
8.2.90.0050.00219.35
8.2.80.0080.00019.13
8.2.70.0060.00317.63
8.2.60.0070.00317.80
8.2.50.0060.00318.07
8.2.40.0000.00818.15
8.2.30.0000.00819.37
8.2.20.0070.00017.76
8.2.10.0080.00017.79
8.2.00.0070.00317.77
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.01722.07
8.1.230.0110.00018.95
8.1.220.0040.00417.88
8.1.210.0030.00618.77
8.1.200.0090.00017.36
8.1.190.0040.00417.50
8.1.180.0050.00318.10
8.1.170.0060.00318.66
8.1.160.0040.00418.89
8.1.150.0040.00418.80
8.1.140.0060.00317.46
8.1.130.0000.00717.86
8.1.120.0030.00517.55
8.1.110.0040.00417.40
8.1.100.0000.00817.45
8.1.90.0000.00817.43
8.1.80.0030.00517.46
8.1.70.0040.00417.52
8.1.60.0000.00917.69
8.1.50.0030.00617.59
8.1.40.0040.00417.66
8.1.30.0040.00417.76
8.1.20.0040.00417.76
8.1.10.0030.00617.59
8.1.00.0000.00817.54
8.0.300.0000.00818.77
8.0.290.0050.00217.18
8.0.280.0000.00818.45
8.0.270.0000.00717.22
8.0.260.0030.00317.01
8.0.250.0000.00617.03
8.0.240.0000.00817.00
8.0.230.0020.00517.08
8.0.220.0000.00817.01
8.0.210.0030.00316.92
8.0.200.0000.00617.13
8.0.190.0000.00816.98
8.0.180.0030.00317.02
8.0.170.0040.00417.04
8.0.160.0000.00716.91
8.0.150.0040.00417.03
8.0.140.0000.00717.00
8.0.130.0000.00513.51
8.0.120.0040.00416.91
8.0.110.0000.00817.02
8.0.100.0000.00817.04
8.0.90.0000.00817.07
8.0.80.0070.00717.05
8.0.70.0040.00416.94
8.0.60.0050.00217.06
8.0.50.0040.00417.05
8.0.30.0100.00817.12
8.0.20.0120.00917.40
8.0.10.0050.00317.04
8.0.00.0150.00616.84
7.4.330.0020.00214.92
7.4.320.0000.00716.86
7.4.300.0000.00616.80
7.4.290.0020.00516.92
7.4.280.0000.00916.65
7.4.270.0030.00316.80
7.4.260.0050.00013.57
7.4.250.0030.00516.78
7.4.240.0020.00616.86
7.4.230.0000.00716.92
7.4.220.0150.00616.88
7.4.210.0090.00816.77
7.4.200.0080.00016.91
7.4.190.0000.00717.04
7.4.160.0070.01716.91
7.4.150.0060.01217.40
7.4.140.0080.01317.86
7.4.130.0060.01016.81
7.4.120.0120.00516.82
7.4.110.0130.00316.75
7.4.100.0090.00916.80
7.4.90.0120.00916.75
7.4.80.0090.00919.39
7.4.70.0080.00816.76
7.4.60.0100.00616.61
7.4.50.0030.00516.71
7.4.40.0080.00422.77
7.4.30.0110.00616.97
7.4.00.0060.00614.87
7.3.330.0040.00413.49
7.3.320.0050.00013.37
7.3.310.0030.00316.55
7.3.300.0070.00016.54
7.3.290.0160.00016.50
7.3.280.0050.01216.51
7.3.270.0120.00417.40
7.3.260.0130.00916.71
7.3.250.0170.00816.70
7.3.240.0150.00316.74
7.3.230.0090.00916.60
7.3.210.0040.01216.51
7.3.200.0030.01519.39
7.3.190.0080.01116.40
7.3.180.0070.01016.62
7.3.170.0100.00716.62
7.3.160.0160.00016.55
7.3.120.0060.00615.14
7.2.330.0090.00916.79
7.2.320.0130.01016.66
7.2.310.0120.00616.59
7.2.300.0070.01716.72
7.2.290.0070.01016.83
7.1.70.0000.00717.38
7.1.60.0030.02019.18
7.1.50.0120.00416.86
7.1.00.0030.04722.44
7.0.200.0000.01017.00
7.0.140.0000.07721.95
7.0.110.0070.05020.11
7.0.100.0030.04319.90
7.0.90.0000.03720.09
7.0.80.0070.04719.88
7.0.70.0030.04319.98
7.0.60.0000.05319.89
7.0.50.0070.04719.97
7.0.40.0030.04019.88
7.0.30.0070.09319.78
7.0.20.0000.04019.74
7.0.10.0030.04019.71
7.0.00.0030.04319.69
5.6.280.0030.07321.07
5.6.260.0000.04720.74
5.6.250.0070.03720.69
5.6.240.0070.03020.70
5.6.230.0100.03020.62
5.6.220.0070.04020.61
5.6.210.0030.04720.67
5.6.200.0030.04720.70
5.6.190.0030.04720.61
5.6.180.0130.06320.59
5.6.170.0070.05020.53
5.6.160.0000.04020.68
5.6.150.0070.03720.64
5.6.140.0100.04720.65
5.6.130.0070.04320.70
5.6.120.0070.03320.70
5.6.110.0030.05020.54
5.6.100.0030.03720.45
5.6.90.0100.03020.83
5.6.80.0000.03720.03
5.6.70.0030.04319.93
5.6.60.0100.03319.98
5.6.50.0030.04020.23
5.6.40.0000.03720.00
5.6.30.0030.04020.06
5.6.20.0030.04719.91
5.6.10.0030.07020.00
5.6.00.0070.03719.97
5.5.380.0070.03717.63
5.5.370.0130.02717.44
5.5.360.0030.05317.53
5.5.350.0000.04017.60
5.5.340.0030.04018.17
5.5.330.0030.04317.77
5.5.320.0030.04318.02
5.5.310.0030.03717.77
5.5.300.0000.08318.12
5.5.290.0100.06317.84
5.5.280.0030.04317.89
5.5.270.0100.08318.09
5.5.260.0000.04017.76
5.5.250.0030.03717.95
5.5.240.0070.04017.52
5.5.230.0100.02717.53
5.5.220.0030.03717.49
5.5.210.0000.03717.38
5.5.200.0030.05017.45
5.5.190.0100.03317.38
5.5.180.0000.04317.34
5.5.160.0070.03317.38
5.5.150.0100.03017.33
5.5.140.0030.03717.44
5.5.130.0130.04017.25
5.5.120.0000.04717.37
5.5.110.0000.04317.11
5.5.100.0070.03717.24
5.5.90.0000.04017.37
5.5.80.0030.03717.36
5.5.70.0000.04317.34
5.5.60.0030.04017.26
5.5.50.0070.03017.40
5.5.40.0030.03717.13
5.5.30.0030.03717.36
5.5.20.0000.04017.22
5.5.10.0130.03317.36
5.5.00.0100.03717.21
5.4.450.0030.04019.36
5.4.440.0000.06319.33
5.4.430.0030.03319.33
5.4.420.0000.05019.50
5.4.410.0100.03319.32
5.4.400.0030.03019.03
5.4.390.0000.04319.00
5.4.380.0070.02718.93
5.4.370.0000.04019.13
5.4.360.0070.03019.02
5.4.350.0000.03318.90
5.4.340.0070.03719.05
5.4.320.0000.06319.01
5.4.310.0070.03319.12
5.4.300.0030.03319.02
5.4.290.0030.03719.01
5.4.280.0100.07019.12
5.4.270.0070.05319.07
5.4.260.0030.03719.02
5.4.250.0070.03319.07
5.4.240.0070.03019.27
5.4.230.0030.03319.00
5.4.220.0030.04319.17
5.4.210.0100.03018.98
5.4.200.0000.05719.02
5.4.190.0070.03719.15
5.4.180.0030.03719.09
5.4.170.0030.03318.91
5.4.160.0030.03019.07
5.4.150.0130.03019.23
5.4.140.0000.03316.14
5.4.130.0100.03016.52
5.4.120.0030.06016.13
5.4.110.0000.03716.51
5.4.100.0100.02316.28
5.4.90.0000.03316.23
5.4.80.0030.03316.44
5.4.70.0000.04016.53
5.4.60.0000.06716.26
5.4.50.0030.03716.25
5.4.40.0000.03316.55
5.4.30.0030.03016.42
5.4.20.0000.04016.20
5.4.10.0030.03016.25
5.4.00.0130.06315.62
5.3.290.0070.06014.74
5.3.280.0100.04014.67
5.3.270.0070.08314.61
5.3.260.0000.03714.49
5.3.250.0030.06314.68
5.3.240.0030.03314.48
5.3.230.0070.03014.61
5.3.220.0030.06314.41
5.3.210.0100.07714.43
5.3.200.0070.03014.44
5.3.190.0030.03314.49
5.3.180.0070.08714.35
5.3.170.0000.04314.35
5.3.160.0030.04714.42
5.3.150.0000.04014.45
5.3.140.0000.05014.50
5.3.130.0100.03014.61
5.3.120.0030.05014.45
5.3.110.0000.03714.62
5.3.100.0070.04314.14
5.3.90.0070.03313.94
5.3.80.0100.03014.03
5.3.70.0100.03013.84
5.3.60.0000.04014.01
5.3.50.0030.03013.89
5.3.40.0030.03013.90
5.3.30.0000.03713.91
5.3.20.0070.03013.53
5.3.10.0000.04313.57
5.3.00.0030.03313.57
5.2.170.0030.03011.81
5.2.160.0030.02311.81
5.2.150.0030.03011.81
5.2.140.0000.03311.81
5.2.130.0000.02711.81
5.2.120.0070.04011.81
5.2.110.0030.02711.81
5.2.100.0000.03011.81
5.2.90.0030.03011.81
5.2.80.0000.03311.81
5.2.70.0030.03711.81
5.2.60.0000.03011.81
5.2.50.0030.03011.81
5.2.40.0070.02311.81
5.2.30.0000.03011.81
5.2.20.0000.03311.81
5.2.10.0030.04311.81
5.2.00.0000.03011.81
5.1.60.0000.02711.81
5.1.50.0030.05011.81
5.1.40.0070.02011.81
5.1.30.0030.02311.81
5.1.20.0030.05311.81
5.1.10.0000.02711.81
5.1.00.0070.05311.81
5.0.50.0030.01711.81
5.0.40.0030.01711.81
5.0.30.0030.03011.81
5.0.20.0030.01711.81
5.0.10.0000.01711.81
5.0.00.0030.02711.81
4.4.90.0000.01711.81
4.4.80.0030.01311.81
4.4.70.0030.03711.81
4.4.60.0070.01011.81
4.4.50.0030.01311.81
4.4.40.0000.02711.81
4.4.30.0000.02711.81
4.4.20.0030.02011.81
4.4.10.0030.02711.81
4.4.00.0000.02711.81
4.3.110.0000.01711.81
4.3.100.0030.03311.81
4.3.90.0030.01311.81
4.3.80.0000.02711.81
4.3.70.0070.01011.81
4.3.60.0030.03311.81
4.3.50.0070.00711.81
4.3.40.0000.02711.81
4.3.30.0000.02311.81
4.3.20.0000.02711.81
4.3.10.0000.02711.81
4.3.00.0000.01311.81

preferences:
35.83 ms | 401 KiB | 5 Q