3v4l.org

run code in 300+ PHP versions simultaneously
<?php $record = new stdclass; $record->working = 1; $record->intervals[] = array(1,2,3,4); $records[0] = $record; $row = serialize($records); echo $row; print_r (unserialize($row));

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.0060.00918.55
8.3.50.0120.00621.09
8.3.40.0120.00318.83
8.3.30.0030.01019.21
8.3.20.0070.00720.16
8.3.10.0000.00923.59
8.3.00.0040.00419.17
8.2.180.0120.00316.32
8.2.170.0090.00622.96
8.2.160.0110.00420.37
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0030.00522.04
8.2.110.0100.00021.14
8.2.100.0060.00617.75
8.2.90.0040.00419.13
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0070.00417.80
8.2.50.0040.00418.07
8.2.40.0060.00320.07
8.2.30.0020.00518.00
8.2.20.0050.00317.75
8.2.10.0040.00418.18
8.2.00.0070.00017.75
8.1.280.0110.00725.92
8.1.270.0080.00023.83
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0060.00619.53
8.1.230.0040.00718.97
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0000.00917.23
8.1.190.0080.00017.25
8.1.180.0000.00718.10
8.1.170.0000.00818.54
8.1.160.0040.00421.98
8.1.150.0080.00018.87
8.1.140.0050.00217.39
8.1.130.0040.00417.81
8.1.120.0000.00717.43
8.1.110.0000.00717.36
8.1.100.0050.00317.39
8.1.90.0040.00417.38
8.1.80.0070.00017.36
8.1.70.0070.00017.34
8.1.60.0080.00017.39
8.1.50.0050.00317.44
8.1.40.0060.00317.41
8.1.30.0090.00017.48
8.1.20.0030.00517.48
8.1.10.0000.00717.58
8.1.00.0000.00717.53
8.0.300.0030.00618.77
8.0.290.0040.00416.88
8.0.280.0040.00418.35
8.0.270.0000.00717.25
8.0.260.0060.00017.22
8.0.250.0030.00317.01
8.0.240.0000.00616.93
8.0.230.0000.00716.98
8.0.220.0080.00016.90
8.0.210.0070.00016.85
8.0.200.0000.00716.98
8.0.190.0020.00516.98
8.0.180.0070.00016.94
8.0.170.0000.00816.95
8.0.160.0040.00416.86
8.0.150.0040.00416.92
8.0.140.0080.00016.87
8.0.130.0000.00513.29
8.0.120.0000.00716.84
8.0.110.0000.00716.79
8.0.100.0000.00716.85
8.0.90.0000.00816.77
8.0.80.0060.00916.84
8.0.70.0000.00716.85
8.0.60.0000.00816.87
8.0.50.0050.00216.71
8.0.30.0110.00817.22
8.0.20.0090.01017.40
8.0.10.0030.00516.83
8.0.00.0070.01016.67
7.4.330.0000.00515.09
7.4.320.0020.00516.35
7.4.300.0060.00016.40
7.4.290.0000.00716.53
7.4.280.0030.00616.45
7.4.270.0040.00416.47
7.4.260.0080.00016.29
7.4.250.0020.00516.46
7.4.240.0030.00416.43
7.4.230.0030.00316.53
7.4.220.0130.00416.54
7.4.210.0160.00016.64
7.4.200.0000.00716.47
7.4.160.0060.00916.44
7.4.150.0100.01017.40
7.4.140.0080.01017.86
7.4.130.0130.00516.57
7.4.120.0130.00516.53
7.4.110.0170.00016.52
7.4.100.0100.01416.49
7.4.90.0130.00416.53
7.4.80.0060.01019.39
7.4.70.0130.00816.56
7.4.60.0070.01016.41
7.4.50.0040.00416.31
7.4.40.0040.01216.32
7.4.30.0030.01316.57
7.4.00.0030.01314.78
7.3.330.0030.00513.16
7.3.320.0050.00013.30
7.3.310.0000.00716.21
7.3.300.0070.00016.37
7.3.290.0070.00916.33
7.3.280.0110.00716.36
7.3.270.0060.01217.40
7.3.260.0090.00916.35
7.3.250.0050.01316.46
7.3.240.0200.00016.60
7.3.230.0110.00716.41
7.3.210.0160.00316.59
7.3.200.0100.01019.39
7.3.190.0030.01316.43
7.3.180.0060.01016.42
7.3.170.0080.00816.46
7.3.160.0060.01016.57
7.3.10.0050.00316.44
7.3.00.0090.00416.86
7.2.330.0090.00916.95
7.2.320.0090.00916.60
7.2.310.0030.01416.32
7.2.300.0100.00716.68
7.2.290.0090.01516.52
7.2.130.0040.00716.97
7.2.120.0030.01016.82
7.2.110.0030.00617.15
7.2.100.0110.00316.85
7.2.90.0070.00716.86
7.2.80.0060.00317.16
7.2.70.0080.00817.00
7.2.60.0060.00616.66
7.2.50.0000.01017.01
7.2.40.0060.00916.78
7.2.30.0030.01317.21
7.2.20.0100.00316.73
7.2.10.0120.00017.06
7.2.00.0050.00718.22
7.1.250.0000.01115.61
7.1.100.0030.01018.10
7.1.70.0030.00317.24
7.1.60.0180.00719.11
7.1.50.0040.02117.08
7.1.00.0100.07022.27
7.0.200.0030.00316.74
7.0.140.0030.07321.97
7.0.60.0030.04719.79
7.0.50.0130.07317.89
7.0.40.0030.06020.10
7.0.30.0270.07020.07
7.0.20.0270.07720.12
7.0.10.0100.06720.15
7.0.00.0100.08020.09
5.6.210.0070.07720.64
5.6.200.0130.07718.28
5.6.190.0070.07720.57
5.6.180.0400.07020.59
5.6.170.0230.08720.40
5.6.160.0100.08320.54
5.6.150.0170.07018.27
5.6.140.0030.04718.18
5.6.130.0170.04318.23
5.6.120.0130.05320.89
5.6.110.0070.07320.98
5.6.100.0130.08020.99
5.6.90.0030.04721.09
5.6.80.0000.04320.40
5.6.70.4070.04020.38
5.5.350.0130.07720.43
5.5.340.0000.04318.03
5.5.330.0030.08720.29
5.5.320.0270.05020.25
5.5.310.0270.07720.41
5.5.300.0130.06317.95
5.5.290.0000.04317.98
5.5.280.0030.08320.89
5.5.270.0100.05320.72
5.5.260.0170.07720.79
5.5.250.0200.03720.54
5.5.240.0270.07020.18
5.4.450.0770.05719.20
5.4.440.0900.05719.48
5.4.430.0800.06019.46
5.4.420.0770.06319.61
5.4.410.0770.06319.17
5.4.400.0930.04719.13
5.4.390.0430.06018.98
5.4.380.0170.04719.37
5.4.370.0700.06019.06
5.4.360.0870.06719.22
5.4.350.0870.05019.25
5.4.340.0070.03412.00
5.4.320.0090.03412.49
5.4.310.0090.03712.48
5.4.300.0090.03512.49
5.4.290.0110.03512.48
5.4.280.0040.03812.38
5.4.270.0090.03412.38
5.4.260.0060.03812.38
5.4.250.0070.03812.38
5.4.240.0030.04012.38
5.4.230.0100.04412.38
5.4.220.0080.03912.38
5.4.210.0080.03612.38
5.4.200.0060.03612.37
5.4.190.0080.04112.37
5.4.180.0110.04012.37
5.4.170.0120.03412.38
5.4.160.0090.03312.38
5.4.150.0050.04012.37
5.4.140.0050.03812.06
5.4.130.0100.03712.05
5.4.120.0110.03512.00
5.4.110.0090.03112.00
5.4.100.0080.03512.00
5.4.90.0080.04312.00
5.4.80.0070.03812.00
5.4.70.0070.03312.00
5.4.60.0040.03612.00
5.4.50.0070.03511.99
5.4.40.0050.03611.98
5.4.30.0100.03611.98
5.4.20.0090.03511.98
5.4.10.0080.03311.98
5.4.00.0010.04111.47
5.3.290.0110.03512.80
5.3.280.0060.04112.71
5.3.270.0100.03912.72
5.3.260.0100.04312.72
5.3.250.0100.03412.72
5.3.240.0060.04412.72
5.3.230.0060.03712.70
5.3.220.0100.03812.68
5.3.210.0040.04012.68
5.3.200.0050.03612.68
5.3.190.0050.03812.68
5.3.180.0070.03912.67
5.3.170.0070.03412.67
5.3.160.0060.04512.67
5.3.150.0080.03412.67
5.3.140.0050.03912.66
5.3.130.0030.04212.66
5.3.120.0080.04212.66
5.3.110.0090.03612.66
5.3.100.0080.04412.12
5.3.90.0060.03512.09
5.3.80.0080.03712.09
5.3.70.0050.03712.09
5.3.60.0110.04312.07
5.3.50.0080.03912.02
5.3.40.0090.03312.02
5.3.30.0080.03311.97
5.3.20.0030.03711.75
5.3.10.0070.03411.72
5.3.00.0070.03811.71
5.2.170.0080.0299.21
5.2.160.0050.0299.21
5.2.150.0030.0329.21
5.2.140.0080.0319.21
5.2.130.0070.0289.17
5.2.120.0070.0359.17
5.2.110.0060.0369.18
5.2.100.0050.0289.17
5.2.90.0060.0289.17
5.2.80.0050.0309.16
5.2.70.0070.0329.16
5.2.60.0080.0319.12
5.2.50.0040.0329.09
5.2.40.0060.0279.06
5.2.30.0060.0319.04
5.2.20.0060.0419.03
5.2.10.0090.0358.94
5.2.00.0060.0348.80
5.1.60.0040.0258.08
5.1.50.0090.0218.08
5.1.40.0030.0278.06
5.1.30.0030.0288.41
5.1.20.0090.0248.43
5.1.10.0060.0248.16
5.1.00.0050.0268.16
5.0.50.0060.0216.63
5.0.40.0040.0206.50
5.0.30.0050.0296.31
5.0.20.0050.0216.27
5.0.10.0040.0266.26
5.0.00.0020.0396.25
4.4.90.0040.0234.78
4.4.80.0030.0154.76
4.4.70.0040.0144.75
4.4.60.0030.0154.75
4.4.50.0010.0184.77
4.4.40.0030.0324.71
4.4.30.0020.0194.76
4.4.20.0010.0174.85
4.4.10.0030.0184.85
4.4.00.0010.0264.76
4.3.110.0030.0154.67
4.3.100.0090.0154.66
4.3.90.0070.0154.64
4.3.80.0020.0254.58
4.3.70.0060.0164.63
4.3.60.0020.0154.63
4.3.50.0050.0144.63
4.3.40.0040.0234.54
4.3.30.0010.0183.30
4.3.20.0030.0153.27
4.3.10.0020.0173.24
4.3.00.0370.0206.97

preferences:
47.78 ms | 401 KiB | 5 Q