3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Seen = "µ4~456456446µ"; echo "<pre>".print_r($Seen, true)."</pre>"; $Seen = explode("µµ", mb_substr($Seen, 1, -1, "UTF-8")); echo "<pre>".print_r($Seen, true)."</pre>"; foreach($Seen as &$Entr) { echo "<pre>".print_r($Entr, true)."</pre>"; $Temp = explode("~", $Entr); echo "<pre>".print_r($Temp, true)."</pre>"; $Entr = array('UserID' => intval($Temp[0]), 'Timestamp' => intval($Temp[1])); echo "<pre>".print_r($Entr, true)."</pre>"; }

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.00618.43
8.3.50.0110.00822.05
8.3.40.0070.00718.56
8.3.30.0070.00719.27
8.3.20.0000.00820.29
8.3.10.0040.00420.30
8.3.00.0060.00317.75
8.2.180.0140.00025.92
8.2.170.0120.00318.96
8.2.160.0100.01022.96
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0000.00826.16
8.2.120.0040.00422.05
8.2.110.0060.00320.46
8.2.100.0100.00018.22
8.2.90.0000.00819.05
8.2.80.0030.00617.97
8.2.70.0030.00517.50
8.2.60.0000.01017.93
8.2.50.0000.00818.07
8.2.40.0070.00018.03
8.2.30.0040.00419.29
8.2.20.0000.00817.64
8.2.10.0050.00318.20
8.2.00.0060.00317.74
8.1.280.0110.01125.92
8.1.270.0050.00324.01
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0000.00921.98
8.1.230.0070.00418.99
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0060.00317.35
8.1.180.0040.00418.10
8.1.170.0080.00018.66
8.1.160.0000.00722.03
8.1.150.0020.00518.82
8.1.140.0040.00417.51
8.1.130.0030.00317.75
8.1.120.0000.00717.48
8.1.110.0040.00417.38
8.1.100.0000.00717.37
8.1.90.0000.00717.49
8.1.80.0030.00617.44
8.1.70.0070.00017.38
8.1.60.0000.00817.63
8.1.50.0030.00517.59
8.1.40.0070.00017.55
8.1.30.0000.00817.62
8.1.20.0000.00717.69
8.1.10.0000.00717.64
8.1.00.0040.00417.51
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.54
8.0.270.0000.00817.34
8.0.260.0030.00317.21
8.0.250.0000.00617.03
8.0.240.0030.00316.94
8.0.230.0030.00316.91
8.0.220.0030.00316.99
8.0.210.0030.00316.98
8.0.200.0070.00016.95
8.0.190.0000.00717.07
8.0.180.0070.00016.97
8.0.170.0070.00016.88
8.0.160.0000.00717.00
8.0.150.0070.00016.93
8.0.140.0050.00316.88
8.0.130.0000.00513.49
8.0.120.0040.00416.82
8.0.110.0070.00017.05
8.0.100.0040.00416.84
8.0.90.0040.00417.01
8.0.80.0060.00916.92
8.0.70.0040.00416.80
8.0.60.0080.00016.98
8.0.50.0070.00016.87
8.0.30.0100.00916.97
8.0.20.0090.01217.40
8.0.10.0030.00317.08
8.0.00.0100.01316.71
7.4.330.0030.00315.14
7.4.320.0000.00716.41
7.4.300.0000.00616.42
7.4.290.0030.00616.54
7.4.280.0000.00816.41
7.4.270.0030.00316.51
7.4.260.0050.00516.63
7.4.250.0040.00416.42
7.4.240.0030.00416.60
7.4.230.0030.00316.71
7.4.220.0030.01616.48
7.4.210.0100.01016.71
7.4.200.0020.00516.61
7.4.160.0090.00616.41
7.4.150.0090.00917.40
7.4.140.0140.00317.86
7.4.130.0050.01316.35
7.4.120.0080.00916.60
7.4.110.0130.00316.44
7.4.100.0080.00816.57
7.4.90.0060.01216.54
7.4.80.0060.01219.03
7.4.70.0150.00716.73
7.4.60.0070.01016.70
7.4.50.0030.00516.44
7.4.40.0100.00716.36
7.4.30.0090.00916.58
7.4.00.0060.01114.96
7.3.330.0080.00013.06
7.3.320.0000.00513.28
7.3.310.0070.00016.19
7.3.300.0070.00016.34
7.3.290.0000.01516.27
7.3.280.0070.00916.29
7.3.270.0130.00417.40
7.3.260.0210.00316.29
7.3.250.0080.01316.45
7.3.240.0060.01716.33
7.3.230.0160.00316.39
7.3.210.0070.01016.52
7.3.200.0090.01219.39
7.3.190.0080.01616.35
7.3.180.0070.01116.47
7.3.170.0070.01416.34
7.3.160.0140.00316.27
7.3.120.0080.00815.00
7.3.110.0030.01515.06
7.3.100.0140.00315.05
7.3.90.0070.01014.88
7.3.80.0110.00314.89
7.3.70.0070.00314.95
7.3.60.0120.00314.80
7.3.50.0000.01414.95
7.3.40.0070.00414.95
7.3.30.0070.00414.93
7.3.20.0080.00816.75
7.3.10.0130.00416.51
7.3.00.0070.00716.59
7.2.330.0120.00916.60
7.2.320.0090.00916.79
7.2.310.0100.00716.38
7.2.300.0130.00316.47
7.2.290.0120.00416.55
7.2.250.0030.01714.89
7.2.240.0070.01115.27
7.2.230.0040.01415.33
7.2.220.0060.00614.86
7.2.210.0090.00315.18
7.2.200.0060.01215.11
7.2.190.0080.00414.79
7.2.180.0040.01214.93
7.2.170.0070.00715.12
7.2.130.0090.00416.85
7.2.120.0060.01016.96
7.2.110.0050.00916.67
7.2.100.0060.00516.64
7.2.90.0030.00916.79
7.2.80.0070.00816.91
7.2.70.0050.00816.88
7.2.60.0090.00717.04
7.2.50.0110.00616.91
7.2.40.0090.00616.97
7.2.30.0080.01017.01
7.2.20.0020.01116.89
7.2.10.0060.00916.78
7.2.00.0100.00517.83
7.1.330.0090.00615.73
7.1.320.0080.00315.95
7.1.310.0040.00715.87
7.1.300.0070.00715.81
7.1.290.0070.00715.66
7.1.280.0030.01015.59
7.1.270.0030.00715.87
7.1.260.0040.01116.01
7.1.250.0050.00715.80
7.1.100.0000.01318.28
7.1.70.0090.00617.35
7.1.60.0060.01819.32
7.1.50.0140.01016.97
7.1.00.0030.07722.40
7.0.200.0000.00916.74
7.0.140.0030.07322.05
7.0.60.0230.06019.93
7.0.50.0000.06717.89
7.0.40.0170.07720.09
7.0.30.0270.04320.09
7.0.20.0270.05320.08
7.0.10.0000.08720.32
7.0.00.0070.04020.30
5.6.280.0030.07721.12
5.6.210.0130.07320.56
5.6.200.0100.06318.18
5.6.190.0130.08320.60
5.6.180.0100.08720.49
5.6.170.0200.04720.52
5.6.160.0030.05018.24
5.6.150.0100.03318.28
5.6.140.0070.07318.14
5.6.130.0070.08318.14
5.6.120.0070.06321.01
5.6.110.0130.08021.13
5.6.100.0100.04321.12
5.6.90.0100.06320.96
5.6.80.0070.04020.37
5.5.350.0230.03020.30
5.5.340.0100.07017.95
5.5.330.0070.09320.21
5.5.320.0070.06720.24
5.5.310.0170.04320.25
5.5.300.0000.08017.95
5.5.290.0100.07717.98
5.5.280.0130.07320.74
5.5.270.0000.04720.84
5.5.260.0100.06020.86
5.5.250.0200.06720.61
5.5.240.0200.06020.13
5.4.450.0930.03319.43
5.4.440.0800.07019.20
5.4.430.1130.05019.16
5.4.420.0730.00019.36
5.4.410.0670.00019.25
5.4.400.0630.00019.16
5.4.390.0630.00019.11
5.4.380.0300.05318.74
5.4.370.0200.08318.74
5.4.360.0870.04018.46
5.4.350.0230.05318.80
5.4.340.0500.04318.80
5.4.320.0070.03512.49
5.4.310.0080.04112.48
5.4.300.0060.03712.48
5.4.290.0030.04012.48
5.4.280.0090.03212.38
5.4.270.0080.04012.38
5.4.260.0080.03512.38
5.4.250.0060.03712.38
5.4.240.0020.03912.38
5.4.230.0050.03812.37
5.4.220.0090.03212.37
5.4.210.0040.03812.38
5.4.200.0070.03812.37
5.4.190.0050.03712.37
5.4.180.0080.03912.37
5.4.170.0040.03812.38
5.4.160.0060.03712.38
5.4.150.0080.03512.38
5.4.140.0080.03912.06
5.4.130.0060.03512.05
5.4.120.0050.03612.00
5.4.110.0080.03412.00
5.4.100.0090.03212.00
5.4.90.0090.03412.00
5.4.80.0060.03812.00
5.4.70.0090.03912.00
5.4.60.0060.03511.99
5.4.50.0030.03712.00
5.4.40.0070.03311.98
5.4.30.0080.03411.98
5.4.20.0040.04011.98
5.4.10.0070.03311.98
5.4.00.0070.03411.47
5.3.290.0050.04012.80
5.3.280.0050.03812.71
5.3.270.0030.04112.73
5.3.260.0060.03912.72
5.3.250.0060.03612.71
5.3.240.0080.03612.72
5.3.230.0070.03712.71
5.3.220.0060.03712.68
5.3.210.0060.03912.68
5.3.200.0060.03612.68
5.3.190.0050.03812.68
5.3.180.0080.03312.67
5.3.170.0070.03612.67
5.3.160.0090.04112.67
5.3.150.0040.04012.68
5.3.140.0060.03712.66
5.3.130.0120.03212.66
5.3.120.0020.04112.66
5.3.110.0050.03912.66
5.3.100.0070.03512.12
5.3.90.0080.03612.10
5.3.80.0070.03512.09
5.3.70.0070.03512.09
5.3.60.0100.03212.07
5.3.50.0100.03112.02
5.3.40.0020.03912.03
5.3.30.0040.03611.98
5.3.20.0020.03911.77
5.3.10.0060.03411.72
5.3.00.0060.04011.71
5.2.170.0060.0289.22
5.2.160.0040.0319.21
5.2.150.0080.0319.22
5.2.140.0050.0319.21
5.2.130.0050.0289.18
5.2.120.0040.0299.17
5.2.110.0060.0289.19
5.2.100.0060.0289.18
5.2.90.0050.0309.18
5.2.80.0040.0309.17
5.2.70.0040.0319.17
5.2.60.0030.0329.12
5.2.50.0060.0289.09
5.2.40.0050.0299.07
5.2.30.0040.0319.05
5.2.20.0040.0299.04
5.2.10.0070.0258.95
5.2.00.0040.0298.80
5.1.60.0060.0218.09
5.1.50.0020.0268.08
5.1.40.0030.0258.06
5.1.30.0060.0238.41
5.1.20.0040.0268.45
5.1.10.0070.0238.17
5.1.00.0050.0268.17
5.0.50.0040.0216.65
5.0.40.0040.0196.50
5.0.30.0030.0316.32
5.0.20.0010.0216.29
5.0.10.0030.0206.27
5.0.00.0040.0306.25
4.4.90.0040.0144.78
4.4.80.0020.0154.75
4.4.70.0010.0174.76
4.4.60.0050.0134.75
4.4.50.0020.0164.77
4.4.40.0020.0264.70
4.4.30.0030.0154.76
4.4.20.0020.0164.84
4.4.10.0040.0184.85
4.4.00.0040.0234.76
4.3.110.0030.0154.67
4.3.100.0050.0124.67
4.3.90.0030.0144.63
4.3.80.0030.0244.58
4.3.70.0030.0144.63
4.3.60.0010.0164.63
4.3.50.0010.0174.63
4.3.40.0020.0264.54
4.3.30.0020.0153.29
4.3.20.0010.0163.27
4.3.10.0010.0163.23
4.3.00.0170.01316.39

preferences:
61.25 ms | 401 KiB | 5 Q