3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function serialize() { return serialize(array($this->default_namespace, $this->parameters)); } /** * Unserializes a sfNamespacedParameterHolder instance. * * @param string $serialized A serialized sfNamespacedParameterHolder instance */ public function unserialize($serialized) { $data = unserialize($serialized); $this->default_namespace = $data[0]; $this->parameters = $data[1]; } }

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.5.00.0080.01319.84
8.4.150.0090.00416.68
8.4.140.0140.00717.56
8.4.130.0110.00817.76
8.4.120.0130.00720.64
8.4.110.0050.00419.16
8.4.100.0390.01017.74
8.4.90.0360.01217.64
8.4.80.0450.00717.86
8.4.70.0370.01117.73
8.4.60.0430.00817.51
8.4.50.0360.00717.55
8.4.40.0330.01017.43
8.4.30.0290.01017.32
8.4.20.0210.00317.54
8.4.10.0370.00317.27
8.3.280.0030.00014.05
8.3.270.0040.00316.59
8.3.260.0060.01216.59
8.3.250.0120.00717.09
8.3.240.0150.00417.03
8.3.230.0230.00216.38
8.3.220.0170.00416.62
8.3.210.0340.00416.23
8.3.200.0390.00616.20
8.3.190.0310.00516.52
8.3.180.0260.00516.71
8.3.170.0180.00716.55
8.3.160.0350.00716.46
8.3.150.0410.00516.57
8.3.140.0400.00816.45
8.3.130.0310.00516.41
8.3.120.0460.00816.26
8.3.110.0330.01016.54
8.3.100.0460.00316.36
8.3.90.0400.00516.39
8.3.80.0450.00616.30
8.3.70.0400.00916.21
8.3.60.0370.00916.37
8.3.50.0380.01016.19
8.3.40.0370.00717.02
8.3.30.0250.00817.41
8.3.20.0290.00817.36
8.3.10.0170.00816.93
8.3.00.0170.00617.33
8.2.290.0170.00116.27
8.2.280.0240.00916.61
8.2.270.0160.00316.54
8.2.260.0240.00516.22
8.2.250.0170.00116.77
8.2.240.0170.00116.39
8.2.230.0320.00816.07
8.2.220.0170.00516.51
8.2.210.0180.00116.32
8.2.200.0170.00616.16
8.2.190.0190.00516.30
8.2.180.0160.00216.36
8.2.170.0140.00517.63
8.2.160.0180.00217.45
8.2.150.0390.00317.25
8.2.140.0150.00617.35
8.2.130.0190.00517.16
8.2.120.0230.00517.41
8.2.110.0220.00517.31
8.2.100.0350.00617.46
8.2.90.0140.00517.50
8.2.80.0200.00717.20
8.2.70.0300.01017.16
8.2.60.0270.01417.23
8.2.50.0300.01017.16
8.2.40.0170.00517.37
8.2.30.0150.00317.28
8.2.20.0110.00717.37
8.2.10.0110.00617.39
8.2.00.0330.00817.40
8.1.330.0360.00716.07
8.1.320.0200.00516.00
8.1.310.0190.00515.93
8.1.300.0290.00915.67
8.1.290.0330.00915.93
8.1.280.0390.00515.91
8.1.270.0360.00517.24
8.1.260.0310.01017.07
8.1.250.0330.00617.25
8.1.240.0330.00717.11
8.1.230.0250.01017.27
8.1.220.0260.00717.30
8.1.210.0150.00217.12
8.1.200.0150.00917.21
8.1.190.0240.01216.80
8.1.180.0330.00617.02
8.1.170.0440.00717.20
8.1.160.0290.00917.18
8.1.150.0310.00717.19
8.1.140.0190.00417.29
8.1.130.0120.00617.14
8.1.120.0310.00817.30
8.1.110.0340.00617.06
8.1.100.0340.00417.26
8.1.90.0270.01116.88
8.1.80.0260.00817.25
8.1.70.0300.01017.14
8.1.60.0400.00717.29
8.1.50.0290.00617.30
8.1.40.0280.00917.20
8.1.30.0320.00717.45
8.1.20.0370.00217.35
8.1.10.0340.00717.30
8.1.00.0270.00717.22
8.0.300.0290.01016.25
8.0.290.0220.00316.39
8.0.280.0320.01016.30
8.0.270.0330.00616.30
8.0.260.0310.01016.28
8.0.250.0320.00516.47
8.0.240.0310.00716.34
8.0.230.0320.00816.37
8.0.220.0310.00516.57
8.0.210.0170.00516.54
8.0.200.0220.01516.49
8.0.190.0320.00616.44
8.0.180.0290.00816.26
8.0.170.0310.00616.43
8.0.160.0370.01216.46
8.0.150.0230.00516.48
8.0.140.0330.00416.27
8.0.130.0270.00916.56
8.0.120.0300.00816.24
8.0.110.0300.00716.29
8.0.100.0300.00616.35
8.0.90.0320.00616.52
8.0.80.0270.00516.60
8.0.70.0200.00816.32
8.0.60.0290.00916.44
8.0.50.0320.00916.47
8.0.30.0180.00516.18
8.0.20.0290.00516.60
8.0.10.0300.00916.52
8.0.00.0290.01016.60
7.4.330.0330.00516.09
7.4.320.0260.00616.13
7.4.300.0230.00916.11
7.4.290.0280.00716.12
7.4.280.0280.00716.09
7.4.270.0200.00416.27
7.4.260.0320.00716.07
7.4.250.0260.00816.20
7.4.240.0220.00516.29
7.4.230.0300.00416.08
7.4.220.0200.00216.09
7.4.210.0150.00516.16
7.4.200.0280.00516.28
7.4.190.0270.00916.15
7.4.180.0300.00616.22
7.4.160.0280.00916.22
7.4.150.0250.01016.09
7.4.140.0310.00616.10
7.4.130.0260.00516.11
7.4.120.0290.01116.04
7.4.110.0300.00715.91
7.4.100.0300.00716.02
7.4.90.0310.00516.12
7.4.80.0210.01116.07
7.4.70.0320.00316.02
7.4.60.0280.00815.86
7.4.50.0290.00616.02
7.4.40.0270.00816.08
7.4.30.0330.00915.92
7.4.20.0300.00815.66
7.4.10.0260.00915.81
7.4.00.0260.01016.16
7.3.330.0280.00916.00
7.3.320.0240.00416.16
7.3.310.0140.00315.74
7.3.300.0130.00315.99
7.3.290.0270.00816.21
7.3.280.0250.00716.01
7.3.270.0220.00515.96
7.3.260.0320.00616.19
7.3.250.0300.00516.03
7.3.240.0260.00916.01
7.3.230.0310.00415.80
7.3.220.0300.00715.73
7.3.210.0280.01015.74
7.3.200.0320.00415.83
7.3.190.0200.00515.89
7.3.180.0280.00516.07
7.3.170.0190.00215.89
7.3.160.0140.00215.81
7.3.150.0340.00215.82
7.3.140.0360.00715.55
7.3.130.0280.00615.65
7.3.120.0180.00515.88
7.3.110.0220.00215.68
7.3.100.0270.00415.91
7.3.90.0260.00415.96
7.3.80.0230.00715.73
7.3.70.0170.00516.07
7.3.60.0290.00515.89
7.3.50.0280.00915.93
7.3.40.0320.00415.64
7.3.30.0340.00615.84
7.3.20.0330.00717.69
7.3.10.0260.00217.77
7.3.00.0270.00917.72
7.2.340.0240.00915.86
7.2.330.0320.00515.93
7.2.320.0320.00516.04
7.2.310.0260.01015.72
7.2.300.0300.00715.64
7.2.290.0270.00915.80
7.2.280.0310.00615.49
7.2.270.0270.00715.77
7.2.260.0260.00715.66
7.2.250.0270.00916.19
7.2.240.0220.00615.96
7.2.230.0180.00916.06
7.2.220.0290.00915.98
7.2.210.0300.00616.13
7.2.200.0280.00715.89
7.2.190.0250.01116.16
7.2.180.0340.00616.09
7.2.170.0310.00416.13
7.2.160.0280.00716.19
7.2.150.0310.00817.86
7.2.140.0340.00417.87
7.2.130.0300.00518.29
7.2.120.0290.00617.89
7.2.110.0280.00917.89
7.2.100.0280.00618.09
7.2.90.0280.00718.18
7.2.80.0220.00418.14
7.2.70.0250.01017.99
7.2.60.0340.00917.76
7.2.50.0230.00717.97
7.2.40.0310.00518.14
7.2.30.0160.00317.81
7.2.20.0140.00317.99
7.2.10.0150.00318.22
7.2.00.0130.00418.13
7.1.330.0150.00216.90
7.1.320.0130.00416.91
7.1.310.0130.00216.97
7.1.300.0140.00316.86
7.1.290.0170.00516.71
7.1.280.0130.00317.16
7.1.270.0190.00217.09
7.1.260.0130.00416.62
7.1.250.0160.00116.59
7.1.240.0120.00416.64
7.1.230.0150.00416.62
7.1.220.0130.00616.61
7.1.210.0170.00316.64
7.1.200.0130.00416.63
7.1.190.0140.00316.63
7.1.180.0120.00416.81
7.1.170.0130.00616.68
7.1.160.0140.00216.78
7.1.150.0130.00416.29
7.1.140.0120.00516.76
7.1.130.0160.00116.59
7.1.120.0200.00116.79
7.1.110.0120.00416.82
7.1.100.0130.00516.84
7.1.90.0140.00416.53
7.1.80.0120.00416.85
7.1.70.0150.00416.56
7.1.60.0130.00516.89
7.1.50.0120.00516.89
7.1.40.0170.00416.90
7.1.30.0120.00616.87
7.1.20.0090.00716.59
7.1.10.0140.00316.68
7.1.00.0130.00316.76
7.0.330.0160.00216.56
7.0.320.0120.00416.54
7.0.310.0130.00216.76
7.0.300.0140.00216.70
7.0.290.0130.00216.13
7.0.280.0150.00316.34
7.0.270.0120.00616.18
7.0.260.0110.00616.57
7.0.250.0120.00316.75
7.0.240.0140.00516.53
7.0.230.0120.00416.66
7.0.220.0160.00216.64
7.0.210.0140.00316.31
7.0.200.0140.00216.26
7.0.190.0150.00416.70
7.0.180.0160.00216.62
7.0.170.0120.00416.64
7.0.160.0110.00516.56
7.0.150.0170.00416.42
7.0.140.0090.00616.29
7.0.130.0110.00416.75
7.0.120.0120.00416.35
7.0.110.0120.00416.37
7.0.100.0150.00316.63
7.0.90.0160.00016.29
7.0.80.0120.00416.31
7.0.70.0160.00316.38
7.0.60.0120.00416.63
7.0.50.0150.00416.57
7.0.40.0130.00416.66
7.0.30.0140.00216.56
7.0.20.0130.00516.44
7.0.10.0120.00516.53
7.0.00.0140.00216.64
5.6.400.0120.00315.66
5.6.390.0100.00615.66
5.6.380.0120.00315.48
5.6.370.0100.00515.44
5.6.360.0110.00515.58
5.6.350.0120.00315.54
5.6.340.0130.00215.23
5.6.330.0130.00215.36
5.6.320.0110.00415.22
5.6.310.0130.00515.55
5.6.300.0150.00115.04
5.6.290.0140.00215.55
5.6.280.0130.00415.15
5.6.270.0130.00215.61
5.6.260.0110.00615.39
5.6.250.0100.00615.25
5.6.240.0100.00715.42
5.6.230.0110.00515.47
5.6.220.0140.00215.64
5.6.210.0180.00215.47
5.6.200.0140.00215.67
5.6.190.0130.00315.58
5.6.180.0130.00215.52
5.6.170.0150.00115.49
5.6.160.0130.00315.47
5.6.150.0110.00515.61
5.6.140.0160.00315.44
5.6.130.0130.00615.52
5.6.120.0130.00415.63
5.6.110.0170.00215.14
5.6.100.0130.00515.20
5.6.90.0120.00615.25
5.6.80.0100.00415.59
5.6.70.0120.00315.71
5.6.60.0130.00315.64
5.6.50.0130.00115.34
5.6.40.0100.00415.51
5.6.30.0080.00615.63
5.6.20.0120.00315.41
5.6.10.0110.00315.55
5.6.00.0100.00615.40
5.5.380.0120.00315.41
5.5.370.0140.00215.28
5.5.360.0100.00415.36
5.5.350.0150.00215.31
5.5.340.0120.00315.41
5.5.330.0220.00315.19
5.5.320.0100.00515.04
5.5.310.0120.00315.04
5.5.300.0130.00415.10
5.5.290.0130.00415.22
5.5.280.0150.00515.20
5.5.270.0110.00515.24
5.5.260.0120.00315.29
5.5.250.0130.00315.47
5.5.240.0110.00315.43
5.5.230.0110.00315.63
5.5.220.0110.00315.32
5.5.210.0130.00315.56
5.5.200.0090.00515.04
5.5.190.0110.00315.04
5.5.180.0120.00315.20
5.5.170.0110.00415.40
5.5.160.0120.00315.09
5.5.150.0120.00415.20
5.5.140.0140.00615.12
5.5.130.0150.00515.04
5.5.120.0110.00415.13
5.5.110.0140.00115.04
5.5.100.0140.00215.46
5.5.90.0110.00415.26
5.5.80.0120.00315.46
5.5.70.0130.00215.12
5.5.60.0100.00415.38
5.5.50.0070.00715.39
5.5.40.0100.00515.34
5.5.30.0150.00115.39
5.5.20.0140.00115.62
5.5.10.0090.00515.14
5.5.00.0090.00515.38
5.4.450.0090.00315.04
5.4.440.0100.00215.04
5.4.430.0090.00215.04
5.4.420.0100.00215.04
5.4.410.0110.00215.04
5.4.400.0110.00115.04
5.4.390.0080.00315.04
5.4.380.0090.00415.04
5.4.370.0110.00115.04
5.4.360.0090.00315.04
5.4.350.0110.00215.04
5.4.340.0100.00115.04
5.4.330.0110.00115.04
5.4.320.0100.00315.04
5.4.310.0100.00215.04
5.4.300.0100.00215.04
5.4.290.0080.00415.04
5.4.280.0100.00215.04
5.4.270.0100.00215.04
5.4.260.0100.00315.04
5.4.250.0110.00215.04
5.4.240.0110.00215.04
5.4.230.0090.00215.04
5.4.220.0080.00315.04
5.4.210.0100.00315.04
5.4.200.0080.00415.04
5.4.190.0070.00415.04
5.4.180.0080.00315.04
5.4.170.0110.00215.04
5.4.160.0120.00015.04
5.4.150.0110.00015.04
5.4.140.0090.00215.04
5.4.130.0070.00415.04
5.4.120.0090.00215.04
5.4.110.0100.00315.04
5.4.100.0090.00215.04
5.4.90.0070.00515.04
5.4.80.0110.00215.04
5.4.70.0060.00515.04
5.4.60.0080.00415.04
5.4.50.0080.00515.04
5.4.40.0110.00115.04
5.4.30.0100.00115.04
5.4.20.0080.00415.04
5.4.10.0070.00515.04
5.4.00.0070.00415.04
5.3.290.0060.00515.04
5.3.280.0080.00315.04
5.3.270.0100.00115.04
5.3.260.0080.00415.04
5.3.250.0070.00515.04
5.3.240.0100.00215.04
5.3.230.0070.00415.04
5.3.220.0090.00415.04
5.3.210.0080.00315.04
5.3.200.0090.00315.04
5.3.190.0110.00115.04
5.3.180.0100.00115.04
5.3.170.0100.00315.04
5.3.160.0090.00415.04
5.3.150.0090.00315.04
5.3.140.0080.00415.04
5.3.130.0090.00215.04
5.3.120.0100.00215.04
5.3.110.0070.00515.04
5.3.100.0100.00215.04
5.3.90.0090.00215.04
5.3.80.0090.00215.04
5.3.70.0090.00315.04
5.3.60.0090.00315.04
5.3.50.0050.00515.04
5.3.40.0090.00315.04
5.3.30.0070.00415.04
5.3.20.0100.00315.04
5.3.10.0100.00115.04
5.3.00.0090.00215.04
5.2.170.0090.00115.04
5.2.160.0070.00215.04
5.2.150.0060.00315.04
5.2.140.0070.00215.04
5.2.130.0050.00415.04
5.2.120.0050.00415.04
5.2.110.0070.00315.04
5.2.100.0090.00215.04
5.2.90.0090.00115.04
5.2.80.0080.00215.04
5.2.70.0070.00215.04
5.2.60.0050.00415.04
5.2.50.0070.00315.04
5.2.40.0090.00315.04
5.2.30.0070.00215.04
5.2.20.0080.00115.04
5.2.10.0090.00015.04
5.2.00.0060.00315.04
5.1.60.0060.00215.04
5.1.50.0040.00415.04
5.1.40.0070.00115.04
5.1.30.0050.00415.04
5.1.20.0070.00215.04
5.1.10.0050.00415.04
5.1.00.0070.00215.04
5.0.50.0050.00115.04
5.0.40.0080.00215.04
5.0.30.0060.00215.04
5.0.20.0050.00215.04
5.0.10.0040.00215.04
5.0.00.0050.00115.04
4.4.90.0030.00115.04
4.4.80.0040.00015.04
4.4.70.0030.00115.04
4.4.60.0040.00015.04
4.4.50.0040.00015.04
4.4.40.0020.00115.04
4.4.30.0030.00115.04
4.4.20.0030.00115.04
4.4.10.0020.00215.04
4.4.00.0030.00115.04
4.3.110.0030.00115.04
4.3.100.0040.00015.04
4.3.90.0040.00015.04
4.3.80.0030.00115.04
4.3.70.0040.00015.04
4.3.60.0020.00115.04
4.3.50.0040.00115.04
4.3.40.0040.00015.04
4.3.30.0040.00015.04
4.3.20.0020.00115.04
4.3.10.0030.00115.04
4.3.00.0020.00115.04

preferences:
38.91 ms | 403 KiB | 5 Q