3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding("UTF-8"); $Contacts = "µ4µµ2µ"; if(is_array($Contacts)) { $C = $Contacts; } else { $C = explode("µµ", substr($Contacts, 1, -1)); } print_r($C);

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.0030.01018.43
8.3.50.0130.00717.96
8.3.40.0150.00618.54
8.3.30.0090.00618.95
8.3.20.0080.00020.30
8.3.10.0040.00420.48
8.3.00.0090.00019.25
8.2.180.0070.01016.48
8.2.170.0120.00322.96
8.2.160.0070.00720.30
8.2.150.0070.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00822.14
8.2.110.0060.00320.25
8.2.100.0080.00317.72
8.2.90.0040.00417.98
8.2.80.0000.00817.97
8.2.70.0060.00317.49
8.2.60.0090.00317.80
8.2.50.0040.00418.07
8.2.40.0070.00417.88
8.2.30.0050.00319.36
8.2.20.0000.00817.55
8.2.10.0040.00418.05
8.2.00.0050.00317.62
8.1.280.0050.01025.92
8.1.270.0040.00422.14
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0060.00322.21
8.1.230.0070.00420.80
8.1.220.0040.00417.74
8.1.210.0030.00618.89
8.1.200.0060.00317.11
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0000.00818.72
8.1.160.0040.00421.89
8.1.150.0050.00218.82
8.1.140.0040.00417.49
8.1.130.0050.00217.82
8.1.120.0040.00417.42
8.1.110.0030.00517.39
8.1.100.0070.00017.43
8.1.90.0070.00017.33
8.1.80.0070.00017.42
8.1.70.0050.00217.29
8.1.60.0040.00417.48
8.1.50.0080.00017.36
8.1.40.0040.00417.36
8.1.30.0030.00517.63
8.1.20.0030.00617.64
8.1.10.0030.00617.44
8.1.00.0080.00017.39
8.0.300.0040.00420.12
8.0.290.0000.00816.63
8.0.280.0080.00018.37
8.0.270.0000.00717.20
8.0.260.0000.00617.20
8.0.250.0040.00416.89
8.0.240.0020.00516.79
8.0.230.0000.00716.79
8.0.220.0070.00016.72
8.0.210.0000.00716.80
8.0.200.0030.00316.96
8.0.190.0050.00216.80
8.0.180.0040.00416.76
8.0.170.0040.00416.92
8.0.160.0040.00416.83
8.0.150.0020.00516.64
8.0.140.0040.00416.67
8.0.130.0000.00513.33
8.0.120.0040.00416.82
8.0.110.0030.00516.80
8.0.100.0040.00416.87
8.0.90.0040.00416.66
8.0.80.0150.00416.86
8.0.70.0040.00416.84
8.0.60.0040.00416.73
8.0.50.0040.00416.83
8.0.30.0090.01016.82
8.0.20.0080.01117.40
8.0.10.0060.00317.02
8.0.00.0100.01116.74
7.4.330.0000.00615.00
7.4.320.0060.00016.44
7.4.300.0060.00016.39
7.4.290.0030.00316.53
7.4.280.0060.00316.44
7.4.270.0000.00816.44
7.4.260.0030.00316.39
7.4.250.0000.00816.42
7.4.240.0050.00216.53
7.4.230.0000.00716.55
7.4.220.0030.01716.52
7.4.210.0160.00316.58
7.4.200.0030.00516.63
7.4.160.0070.00716.25
7.4.150.0060.01217.40
7.4.140.0120.00817.86
7.4.130.0120.00716.41
7.4.120.0090.00816.41
7.4.110.0110.00816.52
7.4.100.0100.00716.41
7.4.90.0140.00716.59
7.4.80.0110.01419.39
7.4.70.0130.01016.46
7.4.60.0110.00816.30
7.4.50.0060.00316.50
7.4.40.0090.00916.16
7.4.30.0110.00616.46
7.4.00.0000.01515.04
7.3.330.0000.00513.01
7.3.320.0050.00012.91
7.3.310.0030.00616.07
7.3.300.0000.00716.18
7.3.290.0080.00816.18
7.3.280.0060.01016.13
7.3.270.0090.00917.40
7.3.260.0080.01216.12
7.3.250.0110.00616.35
7.3.240.0090.01216.39
7.3.230.0070.01116.39
7.3.210.0130.01016.05
7.3.200.0090.00919.39
7.3.190.0140.00316.12
7.3.180.0070.00816.19
7.3.170.0090.01216.27
7.3.160.0030.01216.20
7.2.330.0150.00316.60
7.2.320.0110.00616.54
7.2.310.0150.00916.73
7.2.300.0110.00516.63
7.2.290.0120.00616.62
7.2.00.0120.00619.47
7.1.200.0000.01215.44
7.1.100.0000.01118.01
7.1.70.0040.00717.16
7.1.60.0040.00719.12
7.1.50.0120.00916.78
7.1.00.0030.07722.45
7.0.200.7650.01016.35
7.0.140.0000.07722.08
7.0.60.0030.06719.79
7.0.50.0170.05317.96
7.0.40.0100.08020.05
7.0.30.0300.05020.08
7.0.20.0270.04020.15
7.0.10.0100.05720.26
7.0.00.0030.04320.10
5.6.280.0030.04720.82
5.6.210.0070.07320.50
5.6.200.0130.07018.29
5.6.190.0070.04320.64
5.6.180.0030.05320.55
5.6.170.0270.07020.46
5.6.160.0130.08020.49
5.6.150.0030.04018.28
5.6.140.0030.05018.18
5.6.130.0030.07718.22
5.6.120.0100.04021.00
5.6.110.0170.05021.00
5.6.100.0070.06021.13
5.6.90.0100.08020.96
5.6.80.0130.06020.37
5.6.70.3330.03720.37
5.5.350.0330.06320.49
5.5.340.0030.08317.91
5.5.330.0100.04320.30
5.5.320.0270.07320.34
5.5.310.0300.07320.33
5.5.300.0070.07717.96
5.5.290.0170.07017.98
5.5.280.0170.07720.76
5.5.270.0070.07320.79
5.5.260.0030.08020.95
5.5.250.0130.07320.79
5.5.240.0200.03720.25
5.4.450.0170.04319.46
5.4.440.0330.05019.53
5.4.430.0330.04319.49
5.4.420.0170.04019.49
5.4.410.0800.04319.45
5.4.400.0670.04019.45
5.4.390.0400.04319.45
5.4.380.0370.06718.68
5.4.370.0230.05318.80
5.4.360.0330.06018.76
5.4.350.0470.06318.84
5.4.340.0430.05018.59
5.4.320.0090.03312.48
5.4.310.0040.03912.48
5.4.300.0070.03612.48
5.4.290.0060.03812.48
5.4.280.0070.03412.38
5.4.270.0040.03712.38
5.4.260.0060.03712.38
5.4.250.0050.03812.38
5.4.240.0040.03712.38
5.4.230.0060.03712.37
5.4.220.0050.03612.37
5.4.210.0060.03512.37
5.4.200.0080.03612.37
5.4.190.0080.03412.36
5.4.180.0070.03512.37
5.4.170.0050.03712.38
5.4.160.0050.03612.37
5.4.150.0060.03512.37
5.4.140.0070.03612.05
5.4.130.0040.04712.04
5.4.120.0060.03512.00
5.4.110.0050.03611.99
5.4.100.0060.03711.99
5.4.90.0050.03711.99
5.4.80.0050.03711.99
5.4.70.0070.03411.98
5.4.60.0060.03411.98
5.4.50.0060.03411.99
5.4.40.0080.03411.97
5.4.30.0020.03911.98
5.4.20.0090.03311.97
5.4.10.0080.03411.98
5.4.00.0050.03711.47
5.3.290.0070.04312.80
5.3.280.0070.03612.71
5.3.270.0070.04612.72
5.3.260.0070.04512.72
5.3.250.0020.04212.72
5.3.240.0040.03912.72
5.3.230.0090.03412.70
5.3.220.0080.03412.68
5.3.210.0040.04012.68
5.3.200.0050.03812.68
5.3.190.0060.03712.68
5.3.180.0060.04012.68
5.3.170.0050.03612.67
5.3.160.0070.03612.67
5.3.150.0010.04212.68
5.3.140.0050.03712.66
5.3.130.0060.03912.66
5.3.120.0040.04012.66
5.3.110.0090.03612.66
5.3.100.0060.03712.12
5.3.90.0060.03612.09
5.3.80.0050.03712.08
5.3.70.0060.03612.08
5.3.60.0070.03512.07
5.3.50.0060.03612.01
5.3.40.0060.03612.01
5.3.30.0040.03611.97
5.3.20.0020.03811.75
5.3.10.0040.03711.72
5.3.00.0050.03711.70
5.2.170.0050.0319.20
5.2.160.0030.0309.21
5.2.150.0060.0289.20
5.2.140.0070.0279.20
5.2.130.0070.0259.16
5.2.120.0020.0349.16
5.2.110.0040.0299.17
5.2.100.0040.0289.16
5.2.90.0090.0319.16
5.2.80.0080.0339.16
5.2.70.0070.0359.16
5.2.60.0060.0409.11
5.2.50.0140.0339.08
5.2.40.0030.0329.06
5.2.30.0070.0319.04
5.2.20.0050.0419.03
5.2.10.0030.0328.94
5.2.00.0040.0298.80
5.1.60.0070.0238.06
5.1.50.0060.0288.05
5.1.40.0070.0248.04
5.1.30.0040.0248.39
5.1.20.0040.0258.41
5.1.10.0040.0268.13
5.1.00.0040.0268.14
5.0.50.0040.0206.62
5.0.40.0020.0216.48
5.0.30.0040.0316.29
5.0.20.0090.0236.26
5.0.10.0050.0206.23
5.0.00.0050.0336.23
4.4.90.0030.0154.78
4.4.80.0010.0194.75
4.4.70.0020.0164.76
4.4.60.0030.0184.75
4.4.50.0030.0164.77
4.4.40.0020.0254.71
4.4.30.0000.0184.75
4.4.20.0040.0144.84
4.4.10.0030.0154.85
4.4.00.0010.0274.76
4.3.110.0010.0184.67
4.3.100.0030.0144.66
4.3.90.0060.0114.63
4.3.80.0040.0234.58
4.3.70.0080.0124.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0020.0244.54
4.3.30.0020.0163.28
4.3.20.0020.0223.26
4.3.10.0030.0163.22
4.3.00.0070.01319.45

preferences:
89.68 ms | 400 KiB | 5 Q