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]; } } new A();

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.0100.01119.80
8.4.150.0080.00516.82
8.4.140.0130.00917.55
8.4.130.0130.00717.75
8.4.120.0110.00922.52
8.4.110.0050.01118.57
8.4.100.0350.00317.39
8.4.90.0250.00117.59
8.4.80.0190.00517.33
8.4.70.0190.00417.40
8.4.60.0160.00719.12
8.4.50.0180.00317.55
8.4.40.0200.00617.31
8.4.30.0200.00417.36
8.4.20.0200.00517.36
8.4.10.0190.00517.29
8.3.280.0030.00014.05
8.3.270.0090.01116.55
8.3.260.0130.00716.69
8.3.250.0100.00816.93
8.3.240.0120.00716.97
8.3.230.0180.00515.80
8.3.220.0160.00515.97
8.3.210.0170.00716.11
8.3.200.0200.00916.00
8.3.190.0180.00515.84
8.3.180.0170.00616.14
8.3.170.0220.00216.14
8.3.160.0200.00416.36
8.3.150.0200.00416.04
8.3.140.0160.00615.91
8.3.130.0130.00816.20
8.3.120.0160.00516.07
8.3.110.0160.00516.32
8.3.100.0170.00516.04
8.3.90.0150.00816.25
8.3.80.0220.00316.38
8.3.70.0220.00416.25
8.3.60.0170.00716.56
8.3.50.0200.00616.25
8.3.40.0160.00617.35
8.3.30.0160.00418.90
8.3.20.0190.00317.30
8.3.10.0120.00617.18
8.3.00.0140.00817.20
8.2.290.0170.00315.97
8.2.280.0150.00316.28
8.2.270.0170.00416.26
8.2.260.0200.00416.13
8.2.250.0170.00316.48
8.2.240.0190.00418.10
8.2.230.0160.00416.29
8.2.220.0140.00616.64
8.2.210.0190.00416.45
8.2.200.0180.00416.37
8.2.190.0140.00516.32
8.2.180.0130.00716.33
8.2.170.0190.00417.20
8.2.160.0150.00617.24
8.2.150.0180.00516.97
8.2.140.0140.00617.15
8.2.130.0130.00816.96
8.2.120.0160.00617.31
8.2.110.0180.00317.21
8.2.100.0170.00417.16
8.2.90.0160.00316.99
8.2.80.0190.00217.19
8.2.70.0160.00617.38
8.2.60.0170.00517.31
8.2.50.0160.00517.13
8.2.40.0180.00319.16
8.2.30.0140.00816.96
8.2.20.0160.00317.22
8.2.10.0150.00516.98
8.2.00.0160.00416.82
8.1.330.0130.00715.86
8.1.320.0150.00216.06
8.1.310.0160.00515.75
8.1.300.0150.00615.75
8.1.290.0170.00715.90
8.1.280.0170.00415.88
8.1.270.0170.00516.90
8.1.260.0130.00717.09
8.1.250.0140.00717.30
8.1.240.0140.00617.11
8.1.230.0170.00517.05
8.1.220.0150.00416.96
8.1.210.0140.00717.21
8.1.200.0150.00616.97
8.1.190.0130.00616.98
8.1.180.0150.00516.99
8.1.170.0160.00417.08
8.1.160.0150.00517.09
8.1.150.0170.00316.89
8.1.140.0190.00416.94
8.1.130.0150.00616.92
8.1.120.0160.00417.26
8.1.110.0190.00216.88
8.1.100.0120.00817.08
8.1.90.0140.00517.00
8.1.80.0150.00517.12
8.1.70.0170.00217.06
8.1.60.0130.00617.32
8.1.50.0150.00317.14
8.1.40.0160.00317.34
8.1.30.0190.00118.82
8.1.20.0140.00417.39
8.1.10.0140.00517.21
8.1.00.0170.00317.25
8.0.300.0170.00218.25
8.0.290.0170.00316.00
8.0.280.0170.00116.41
8.0.270.0150.00416.48
8.0.260.0160.00416.36
8.0.250.0110.00716.54
8.0.240.0130.00416.39
8.0.230.0120.00516.55
8.0.220.0140.00216.46
8.0.210.0130.00516.46
8.0.200.0140.00316.41
8.0.190.0130.00416.58
8.0.180.0140.00316.59
8.0.170.0160.00216.49
8.0.160.0150.00416.28
8.0.150.0130.00616.46
8.0.140.0150.00316.41
8.0.130.0130.00616.38
8.0.120.0220.00316.46
8.0.110.0140.00416.38
8.0.100.0110.00616.28
8.0.90.0130.00516.24
8.0.80.0140.00416.54
8.0.70.0120.00516.37
8.0.60.0120.00616.32
8.0.50.0130.00516.38
8.0.30.0110.00616.43
8.0.20.0140.00316.37
8.0.10.0140.00416.47
8.0.00.0130.00516.45
7.4.330.0130.00516.24
7.4.320.0160.00315.98
7.4.300.0160.00416.22
7.4.290.0120.00616.08
7.4.280.0130.00615.95
7.4.270.0200.00316.01
7.4.260.0160.00316.01
7.4.250.0130.00415.92
7.4.240.0120.00615.98
7.4.230.0190.00016.13
7.4.220.0130.00515.92
7.4.210.0130.00616.11
7.4.200.0220.00516.04
7.4.190.0150.00416.09
7.4.180.0140.00516.23
7.4.160.0120.00716.29
7.4.150.0150.00315.79
7.4.140.0130.00516.10
7.4.130.0120.00516.15
7.4.120.0130.00415.63
7.4.110.0130.00315.96
7.4.100.0180.00416.17
7.4.90.0110.00716.20
7.4.80.0130.00516.19
7.4.70.0160.00215.97
7.4.60.0140.00415.88
7.4.50.0150.00315.89
7.4.40.0150.00215.94
7.4.30.0120.00616.02
7.4.20.0150.00315.98
7.4.10.0150.00316.13
7.4.00.0120.00615.97
7.3.330.0130.00415.96
7.3.320.0140.00515.57
7.3.310.0150.00315.91
7.3.300.0150.00215.82
7.3.290.0150.00316.03
7.3.280.0140.00415.66
7.3.270.0140.00315.95
7.3.260.0100.00615.91
7.3.250.0140.00415.65
7.3.240.0150.00115.83
7.3.230.0150.00515.79
7.3.220.0130.00415.54
7.3.210.0160.00115.56
7.3.200.0160.00115.63
7.3.190.0130.00415.68
7.3.180.0160.00215.88
7.3.170.0160.00215.81
7.3.160.0150.00215.51
7.3.150.0150.00415.62
7.3.140.0220.00315.66
7.3.130.0150.00315.91
7.3.120.0140.00215.73
7.3.110.0150.00215.86
7.3.100.0140.00415.67
7.3.90.0130.00416.12
7.3.80.0230.00215.81
7.3.70.0150.00216.05
7.3.60.0140.00315.76
7.3.50.0110.00616.01
7.3.40.0140.00216.01
7.3.30.0140.00315.72
7.3.20.0160.00417.96
7.3.10.0160.00317.55
7.3.00.0130.00517.72
7.2.340.0180.00015.82
7.2.330.0180.00415.75
7.2.320.0140.00215.89
7.2.310.0140.00415.99
7.2.300.0130.00315.71
7.2.290.0200.00415.87
7.2.280.0170.00116.10
7.2.270.0270.00616.09
7.2.260.0310.00516.03
7.2.250.0260.00616.00
7.2.240.0270.00715.53
7.2.230.0290.00615.98
7.2.220.0300.00415.88
7.2.210.0180.00516.05
7.2.200.0110.00516.29
7.2.190.0170.00516.00
7.2.180.0260.00816.27
7.2.170.0290.00715.92
7.2.160.0280.00816.27
7.2.150.0290.00817.65
7.2.140.0230.00917.92
7.2.130.0230.00518.11
7.2.120.0290.00617.95
7.2.110.0260.01017.86
7.2.100.0290.00618.02
7.2.90.0260.00818.00
7.2.80.0310.00717.88
7.2.70.0280.00718.12
7.2.60.0290.00718.05
7.2.50.0250.00817.90
7.2.40.0230.00518.02
7.2.30.0170.00517.89
7.2.20.0180.00218.00
7.2.10.0120.00418.13
7.2.00.0260.01018.07
7.1.330.0180.01216.87
7.1.320.0250.00716.75
7.1.310.0240.00916.80
7.1.300.0220.00716.87
7.1.290.0180.00316.70
7.1.280.0450.00416.82
7.1.270.0270.00816.74
7.1.260.0260.00616.98
7.1.250.0270.00516.96
7.1.240.0250.00716.95
7.1.230.0240.00916.98
7.1.220.0290.00716.94
7.1.210.0220.00716.93
7.1.200.0270.00616.95
7.1.190.0280.00616.87
7.1.180.0160.00416.72
7.1.170.0130.00216.86
7.1.160.0080.00717.09
7.1.150.0110.00316.85
7.1.140.0180.00416.80
7.1.130.0160.00316.94
7.1.120.0180.00416.96
7.1.110.0170.00217.03
7.1.100.0250.00816.75
7.1.90.0240.00816.74
7.1.80.0270.00516.86
7.1.70.0240.00816.71
7.1.60.0230.00916.68
7.1.50.0250.00817.05
7.1.40.0260.00617.00
7.1.30.0270.00616.86
7.1.20.0240.00916.59
7.1.10.0280.00516.81
7.1.00.0250.00717.06
7.0.330.0300.00416.71
7.0.320.0220.00616.40
7.0.310.0210.00516.52
7.0.300.0250.00616.60
7.0.290.0230.00816.45
7.0.280.0260.00616.57
7.0.270.0300.00516.21
7.0.260.0300.00716.52
7.0.250.0270.00417.00
7.0.240.0160.00416.84
7.0.230.0120.00216.70
7.0.220.0180.00416.84
7.0.210.0110.00516.66
7.0.200.0220.00516.66
7.0.190.0280.00516.71
7.0.180.0250.00816.65
7.0.170.0260.00716.47
7.0.160.0260.00616.82
7.0.150.0240.00516.70
7.0.140.0200.00816.71
7.0.130.0260.00616.37
7.0.120.0270.00216.88
7.0.110.0150.00116.54
7.0.100.0170.00816.55
7.0.90.0230.00816.54
7.0.80.0210.00516.74
7.0.70.0100.00416.42
7.0.60.0260.00616.54
7.0.50.0270.00416.09
7.0.40.0240.00716.34
7.0.30.0260.00516.63
7.0.20.0240.00716.45
7.0.10.0260.00616.56
7.0.00.0250.00816.46
5.6.400.0250.00615.70
5.6.390.0190.00315.74
5.6.380.0250.00715.37
5.6.370.0240.00515.51
5.6.360.0290.00315.77
5.6.350.0270.00415.38
5.6.340.0280.00515.50
5.6.330.0260.00515.77
5.6.320.0230.00715.33
5.6.310.0220.01015.29
5.6.300.0270.00515.41
5.6.290.0250.00715.48
5.6.280.0230.01115.73
5.6.270.0290.00515.52
5.6.260.0260.00815.50
5.6.250.0290.00415.55
5.6.240.0230.00915.70
5.6.230.0240.00715.68
5.6.220.0390.00615.63
5.6.210.0240.00515.76
5.6.200.0250.00615.68
5.6.190.0270.00515.72
5.6.180.0300.00615.24
5.6.170.0210.00615.61
5.6.160.0150.00315.48
5.6.150.0280.00415.42
5.6.140.0250.00615.50
5.6.130.0260.00615.45
5.6.120.0230.00715.67
5.6.110.0180.01215.27
5.6.100.0180.00815.23
5.6.90.0250.00415.42
5.6.80.0100.00415.62
5.6.70.0230.00315.51
5.6.60.0220.00415.72
5.6.50.0230.00715.28
5.6.40.0250.00615.22
5.6.30.0240.00615.44
5.6.20.0240.00715.26
5.6.10.0230.00715.21
5.6.00.0230.00715.35
5.5.380.0190.00615.56
5.5.370.0120.00315.67
5.5.360.0110.00315.38
5.5.350.0110.00615.44
5.5.340.0160.00515.50
5.5.330.0270.00415.47
5.5.320.0240.00815.14
5.5.310.0250.00415.56
5.5.300.0220.00615.21
5.5.290.0240.00515.20
5.5.280.0160.00315.30
5.5.270.0090.00515.54
5.5.260.0280.00315.38
5.5.250.0280.00215.57
5.5.240.0240.00415.42
5.5.230.0280.00315.58
5.5.220.0250.00715.39
5.5.210.0260.00615.67
5.5.200.0260.00515.50
5.5.190.0220.00815.23
5.5.180.0220.00915.20
5.5.170.0400.00815.21
5.5.160.0240.00715.49
5.5.150.0240.00715.36
5.5.140.0210.00815.30
5.5.130.0120.00715.31
5.5.120.0170.00315.32
5.5.110.0190.00515.04
5.5.100.0290.00215.45
5.5.90.0250.00615.31
5.5.80.0240.00715.55
5.5.70.0150.00615.54
5.5.60.0270.00515.30
5.5.50.0260.00515.50
5.5.40.0210.00715.38
5.5.30.0230.00615.68
5.5.20.0170.00615.42
5.5.10.0250.00415.43
5.5.00.0230.00815.67
5.4.450.0190.00615.04
5.4.440.0220.00415.04
5.4.430.0220.00415.04
5.4.420.0220.00415.04
5.4.410.0200.00515.04
5.4.400.0220.00415.04
5.4.390.0210.00515.04
5.4.380.0210.00215.04
5.4.370.0210.00415.04
5.4.360.0190.00715.04
5.4.350.0210.00515.04
5.4.340.0210.00415.04
5.4.330.0180.00815.04
5.4.320.0200.00515.04
5.4.310.0190.00715.04
5.4.300.0190.00615.04
5.4.290.0140.00415.04
5.4.280.0170.00515.04
5.4.270.0180.00715.04
5.4.260.0220.00315.04
5.4.250.0220.00215.04
5.4.240.0160.00815.04
5.4.230.0210.00415.04
5.4.220.0260.00315.04
5.4.210.0210.00415.04
5.4.200.0160.00515.04
5.4.190.0080.00315.04
5.4.180.0100.00215.04
5.4.170.0100.00415.04
5.4.160.0100.00115.04
5.4.150.0160.00215.04
5.4.140.0120.00215.04
5.4.130.0210.00615.04
5.4.120.0130.00415.04
5.4.110.0110.00215.04
5.4.100.0210.00415.04
5.4.90.0190.00315.04
5.4.80.0100.00215.04
5.4.70.0090.00315.04
5.4.60.0090.00315.04
5.4.50.0090.00215.04
5.4.40.0210.00315.04
5.4.30.0210.00415.04
5.4.20.0180.00715.04
5.4.10.0200.00415.04
5.4.00.0190.00415.04
5.3.290.0210.00515.04
5.3.280.0180.00715.04
5.3.270.0230.00415.04
5.3.260.0180.00815.04
5.3.250.0180.00815.04
5.3.240.0200.00615.04
5.3.230.0180.00715.04
5.3.220.0200.00415.04
5.3.210.0220.00415.04
5.3.200.0200.00615.04
5.3.190.0210.00415.04
5.3.180.0160.00515.04
5.3.170.0180.00415.04
5.3.160.0090.00215.04
5.3.150.0080.00315.04
5.3.140.0090.00215.04
5.3.130.0190.00515.04
5.3.120.0230.00315.04
5.3.110.0220.00315.04
5.3.100.0210.00515.04
5.3.90.0200.00615.04
5.3.80.0140.00715.04
5.3.70.0150.00515.04
5.3.60.0110.00115.04
5.3.50.0190.00615.04
5.3.40.0190.00515.04
5.3.30.0210.00415.04
5.3.20.0180.00615.04
5.3.10.0180.00615.04
5.3.00.0140.00315.04
5.2.170.0090.00015.04
5.2.160.0140.00615.04
5.2.150.0160.00415.04
5.2.140.0180.00315.04
5.2.130.0160.00715.04
5.2.120.0180.00415.04
5.2.110.0170.00715.04
5.2.100.0250.00415.04
5.2.90.0190.00815.04
5.2.80.0100.00315.04
5.2.70.0130.00815.04
5.2.60.0070.00215.04
5.2.50.0070.00215.04
5.2.40.0080.00215.04
5.2.30.0150.00415.04
5.2.20.0100.00415.04
5.2.10.0060.00315.04
5.2.00.0080.00115.04
5.1.60.0080.00115.04
5.1.50.0050.00315.04
5.1.40.0070.00215.04
5.1.30.0050.00315.04
5.1.20.0060.00415.04
5.1.10.0060.00315.04
5.1.00.0070.00215.04
5.0.50.0040.00315.04
5.0.40.0060.00215.04
5.0.30.0060.00115.04
5.0.20.0050.00315.04
5.0.10.0050.00315.04
5.0.00.0060.00315.04
4.4.90.0040.00015.04
4.4.80.0030.00115.04
4.4.70.0040.00115.04
4.4.60.0030.00215.04
4.4.50.0030.00115.04
4.4.40.0030.00115.04
4.4.30.0040.00115.04
4.4.20.0040.00115.04
4.4.10.0030.00115.04
4.4.00.0050.00115.04
4.3.110.0040.00115.04
4.3.100.0050.00015.04
4.3.90.0040.00115.04
4.3.80.0060.00015.04
4.3.70.0040.00115.04
4.3.60.0030.00115.04
4.3.50.0020.00115.04
4.3.40.0040.00115.04
4.3.30.0020.00115.04
4.3.20.0020.00115.04
4.3.10.0030.00015.04
4.3.00.0020.00115.04

preferences:
37.66 ms | 403 KiB | 5 Q