3v4l.org

run code in 300+ PHP versions simultaneously
<?php $in = '\u00E3\u0081\u0082a'; $out = preg_replace_callback('/\\\\u[0-9A-F]{4}/', function ($matches) { return hex2bin(substr($matches[0], -2, 2)); }, $in); echo $out;

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.00716.75
8.3.50.0040.01116.52
8.3.40.0000.01419.06
8.3.30.0080.00818.97
8.3.20.0050.00322.36
8.3.10.0000.00823.57
8.3.00.0040.00422.46
8.2.180.0080.00818.54
8.2.170.0150.00022.96
8.2.160.0070.01020.53
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0110.00719.31
8.2.100.0120.00018.03
8.2.90.0000.00820.61
8.2.80.0000.00818.16
8.2.70.0000.00818.16
8.2.60.0030.00618.03
8.2.50.0040.00418.10
8.2.40.0030.00619.51
8.2.30.0000.00819.21
8.2.20.0060.00318.13
8.2.10.0000.00719.27
8.2.00.0000.00719.39
8.1.280.0110.00425.92
8.1.270.0040.00422.20
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00022.60
8.1.230.0060.00621.04
8.1.220.0000.00817.74
8.1.210.0080.00018.91
8.1.200.0000.00817.48
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0060.00318.65
8.1.160.0070.00018.95
8.1.150.0040.00418.91
8.1.140.0000.00720.95
8.1.130.0050.00220.04
8.1.120.0030.00517.53
8.1.110.0040.00417.61
8.1.100.0040.00417.57
8.1.90.0040.00417.66
8.1.80.0020.00517.67
8.1.70.0030.00317.62
8.1.60.0000.00817.66
8.1.50.0040.00417.73
8.1.40.0030.00617.67
8.1.30.0020.00617.75
8.1.20.0030.00517.70
8.1.10.0040.00417.59
8.1.00.0040.00417.71
8.0.300.0040.00419.90
8.0.290.0060.00316.75
8.0.280.0000.00718.35
8.0.270.0030.00317.19
8.0.260.0060.00020.14
8.0.250.0030.00317.07
8.0.240.0060.00016.96
8.0.230.0000.00716.90
8.0.220.0030.00316.86
8.0.210.0000.00716.99
8.0.200.0070.00017.01
8.0.190.0000.00717.08
8.0.180.0040.00417.04
8.0.170.0070.00317.05
8.0.160.0000.00716.90
8.0.150.0110.00016.96
8.0.140.0000.00816.82
8.0.130.0000.00713.45
8.0.120.0020.00516.93
8.0.110.0090.00017.10
8.0.100.0040.00416.92
8.0.90.0030.00517.02
8.0.80.0140.00317.09
8.0.70.0000.00717.02
8.0.60.0000.00716.90
8.0.50.0040.00417.01
8.0.30.0110.00717.39
8.0.20.0060.01217.11
8.0.10.0070.00017.10
8.0.00.0070.01116.78
7.4.330.0050.00016.71
7.4.320.0000.00716.81
7.4.300.0000.00816.80
7.4.290.0000.00716.69
7.4.280.0000.00816.59
7.4.270.0030.00316.79
7.4.260.0000.00513.50
7.4.250.0040.00416.75
7.4.240.0010.00616.83
7.4.230.0000.00816.89
7.4.220.0020.00516.82
7.4.210.0080.00816.77
7.4.200.0070.00016.55
7.4.140.0040.01617.86
7.4.130.0090.01316.70
7.4.120.0100.00716.69
7.4.110.0090.01516.81
7.4.100.0140.00416.54
7.4.90.0090.00916.52
7.4.80.0140.00419.39
7.4.70.0060.01116.80
7.4.60.0130.01016.60
7.4.50.0090.00316.59
7.4.40.0120.00416.49
7.4.00.0150.00015.09
7.3.330.0040.00416.67
7.3.320.0050.00313.53
7.3.310.0000.00716.63
7.3.300.0030.00316.49
7.3.290.0070.00016.40
7.3.280.0060.01016.46
7.3.260.0120.00616.69
7.3.240.0090.00916.54
7.3.230.0070.01016.68
7.3.210.0140.00316.52
7.3.200.0070.01716.80
7.3.190.0070.01416.87
7.3.180.0120.00616.70
7.3.170.0100.01016.73
7.3.160.0160.00816.73
7.3.90.0030.01015.07
7.3.80.0060.00614.86
7.3.70.0000.01315.03
7.3.60.0080.00814.77
7.3.50.0000.01315.04
7.3.40.0090.00414.94
7.3.30.0100.00314.93
7.3.20.0100.00316.88
7.3.10.0070.00616.67
7.3.00.0100.01016.67
7.2.330.0070.01116.96
7.2.320.0060.01016.73
7.2.310.0110.00516.66
7.2.300.0060.01216.71
7.2.290.0060.01016.99
7.2.220.0000.01415.39
7.2.210.0030.01015.18
7.2.200.0040.01115.20
7.2.190.0030.01115.16
7.2.180.0070.00714.89
7.2.170.0000.01315.13
7.2.160.0050.00915.14
7.2.150.0060.00916.89
7.2.140.0110.00417.00
7.2.130.0140.00717.21
7.2.120.0060.00917.25
7.2.110.0030.01616.77
7.2.100.0030.01116.98
7.2.90.0110.00317.15
7.2.80.0090.00917.12
7.2.70.0030.01516.88
7.2.60.0070.01117.08
7.2.50.0130.00317.02
7.2.40.0070.00717.07
7.2.30.0100.00316.98
7.2.20.0070.00716.95
7.2.10.0030.01017.18
7.2.00.0100.00317.14
7.1.320.0030.01016.09
7.1.310.0040.00816.11
7.1.300.0070.00715.91
7.1.290.0060.00616.08
7.1.280.0060.00616.04
7.1.270.0030.00916.06
7.1.260.0090.00315.98
7.1.250.0030.01515.94

preferences:
66.26 ms | 401 KiB | 5 Q