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(); serialize(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.4.100.0600.01417.34
8.4.90.0420.01317.46
8.4.80.0340.00917.65
8.4.70.0220.00317.81
8.4.60.0180.00517.39
8.4.50.0190.00517.96
8.4.40.0350.00817.75
8.4.30.0220.00417.29
8.4.20.0230.00217.52
8.4.10.0200.00517.47
8.3.230.0200.00616.28
8.3.220.0200.00616.44
8.3.210.0200.00416.47
8.3.200.0230.00216.46
8.3.190.0270.00816.15
8.3.180.0140.00516.24
8.3.170.0170.00516.19
8.3.160.0280.00716.19
8.3.150.0170.00516.35
8.3.140.0160.00616.31
8.3.130.0130.00716.42
8.3.120.0230.00416.39
8.3.110.0240.00716.08
8.3.100.0200.00416.34
8.3.90.0270.00716.39
8.3.80.0310.00816.44
8.3.70.0370.00516.07
8.3.60.0300.00416.20
8.3.50.0200.00316.16
8.3.40.0180.00417.29
8.3.30.0120.00717.54
8.3.20.0150.00517.27
8.3.10.0140.00517.54
8.3.00.0260.01017.18
8.2.290.0310.00916.39
8.2.280.0300.00816.35
8.2.270.0310.00816.22
8.2.260.0340.00816.27
8.2.250.0250.00416.30
8.2.240.0330.00916.03
8.2.230.0350.00716.07
8.2.220.0310.00515.96
8.2.210.0460.00716.38
8.2.200.0370.00516.25
8.2.190.0330.00916.50
8.2.180.0370.01016.20
8.2.170.0240.00617.68
8.2.160.0140.00517.36
8.2.150.0390.00517.33
8.2.140.0330.00817.20
8.2.130.0380.00717.29
8.2.120.0340.01017.37
8.2.110.0320.01017.32
8.2.100.0360.00717.18
8.2.90.0360.00617.27
8.2.80.0350.00617.47
8.2.70.0350.00517.18
8.2.60.0360.01017.21
8.2.50.0410.01017.10
8.2.40.0320.00717.32
8.2.30.0310.00917.39
8.2.20.0320.01017.19
8.2.10.0300.01017.26
8.2.00.0350.00617.21
8.1.330.0310.00916.14
8.1.320.0330.00615.68
8.1.310.0330.00915.86
8.1.300.0310.01115.75
8.1.290.0320.00816.27
8.1.280.0260.01015.64
8.1.270.0260.01117.09
8.1.260.0300.00717.08
8.1.250.0270.00517.05
8.1.240.0260.01217.10
8.1.230.0290.01016.98
8.1.220.0290.00917.03
8.1.210.0310.00517.14
8.1.200.0320.00717.22
8.1.190.0320.00916.98
8.1.180.0270.01116.72
8.1.170.0260.01317.29
8.1.160.0320.00717.20
8.1.150.0320.00617.22
8.1.140.0300.00917.09
8.1.130.0340.00416.88
8.1.120.0300.01017.39
8.1.110.0300.00817.20
8.1.100.0300.00717.28
8.1.90.0260.00916.89
8.1.80.0320.01116.84
8.1.70.0310.00617.12
8.1.60.0340.00617.31
8.1.50.0360.00417.00
8.1.40.0210.01217.26
8.1.30.0320.00617.20
8.1.20.0280.00917.33
8.1.10.0320.00717.12
8.1.00.0340.00517.11
8.0.300.0290.00816.55
8.0.290.0340.00916.24
8.0.280.0300.01116.24
8.0.270.0330.00916.59
8.0.260.0330.00816.48
8.0.250.0350.00716.60
8.0.240.0280.00616.46
8.0.230.0270.01016.57
8.0.220.0290.00916.68
8.0.210.0320.00516.72
8.0.200.0270.01116.77
8.0.190.0280.00916.44
8.0.180.0160.00716.75
8.0.170.0310.00516.80
8.0.160.0280.00916.62
8.0.150.0270.00716.69
8.0.140.0180.00316.55
8.0.130.0290.00616.37
8.0.120.0300.00516.70
8.0.110.0160.00716.45
8.0.100.0360.00116.48
8.0.90.0200.00716.61
8.0.80.0320.00816.43
8.0.70.0230.00216.58
8.0.60.0270.00716.68
8.0.50.0330.00516.58
8.0.30.0230.01016.66
8.0.20.0320.00616.59
8.0.10.0300.00716.70
8.0.00.0280.00616.89
7.4.330.0310.00616.11
7.4.320.0330.00316.26
7.4.300.0330.00816.00
7.4.290.0330.00516.20
7.4.280.0260.00916.23
7.4.270.0310.00716.02
7.4.260.0300.00716.23
7.4.250.0310.00516.10
7.4.240.0340.00316.02
7.4.230.0310.00815.89
7.4.220.0300.00816.30
7.4.210.0300.00715.99
7.4.200.0290.00716.00
7.4.190.0270.01016.16
7.4.180.0310.00716.14
7.4.160.0240.00716.21
7.4.150.0240.00516.12
7.4.140.0170.00715.66
7.4.130.0270.00615.86
7.4.120.0290.00715.89
7.4.110.0280.00616.07
7.4.100.0290.00716.18
7.4.90.0280.00715.90
7.4.80.0290.00915.73
7.4.70.0240.00315.88
7.4.60.0140.00915.96
7.4.50.0250.00815.83
7.4.40.0320.00415.90
7.4.30.0370.00515.64
7.4.20.0260.00416.02
7.4.10.0250.01015.82
7.4.00.0260.00716.14
7.3.330.0260.00916.13
7.3.320.0240.00816.07
7.3.310.0190.00415.96
7.3.300.0320.00615.52
7.3.290.0130.00316.00
7.3.280.0310.00415.65
7.3.270.0210.01315.94
7.3.260.0140.00315.98
7.3.250.0160.00615.84
7.3.240.0310.00415.89
7.3.230.0240.00715.67
7.3.220.0200.00415.82
7.3.210.0130.00315.96
7.3.200.0280.00815.81
7.3.190.0300.00615.72
7.3.180.0320.00715.60
7.3.170.0270.00615.71
7.3.160.0140.00316.06
7.3.150.0140.00215.75
7.3.140.0110.00515.86
7.3.130.0120.00516.10
7.3.120.0230.00415.62
7.3.110.0210.00215.88
7.3.100.0110.00515.87
7.3.90.0190.00216.19
7.3.80.0290.00215.85
7.3.70.0250.00915.84
7.3.60.0350.00515.65
7.3.50.0280.00715.73
7.3.40.0350.00415.97
7.3.30.0330.00416.00
7.3.20.0130.00417.71
7.3.10.0280.00817.61
7.3.00.0290.00617.64
7.2.340.0300.00415.64
7.2.330.0250.00816.07
7.2.320.0290.00815.84
7.2.310.0300.00515.69
7.2.300.0260.01015.60
7.2.290.0280.00515.82
7.2.280.0340.00715.72
7.2.270.0320.00715.95
7.2.260.0290.00615.91
7.2.250.0270.00615.65
7.2.240.0270.00615.88
7.2.230.0310.00515.78
7.2.220.0310.00515.77
7.2.210.0240.00715.77
7.2.200.0260.01015.72
7.2.190.0270.00815.82
7.2.180.0280.00515.89
7.2.170.0230.00916.15
7.2.160.0120.00616.18
7.2.150.0180.00617.88
7.2.140.0170.00617.55
7.2.130.0330.00817.92
7.2.120.0290.00318.21
7.2.110.0210.00718.00
7.2.100.0300.00217.40
7.2.90.0130.00517.90
7.2.80.0150.00218.01
7.2.70.0150.00317.74
7.2.60.0140.00418.00
7.2.50.0110.00817.76
7.2.40.0150.00617.88
7.2.30.0110.00517.89
7.2.20.0170.00217.89
7.2.10.0130.00517.77
7.2.00.0130.00417.95
7.1.330.0160.00216.52
7.1.320.0140.00316.66
7.1.310.0110.00516.73
7.1.300.0130.00216.95
7.1.290.0140.00217.02
7.1.280.0130.00517.04
7.1.270.0110.00617.01
7.1.260.0110.00517.18
7.1.250.0150.00216.79
7.1.240.0150.00216.59
7.1.230.0120.00417.00
7.1.220.0150.00316.70
7.1.210.0130.00416.87
7.1.200.0110.00716.62
7.1.190.0140.00217.02
7.1.180.0140.00216.75
7.1.170.0160.00516.76
7.1.160.0180.00016.56
7.1.150.0150.00116.70
7.1.140.0130.00416.73
7.1.130.0110.00416.48
7.1.120.0090.00716.72
7.1.110.0140.00516.70
7.1.100.0120.00416.68
7.1.90.0130.00216.69
7.1.80.0180.00316.70
7.1.70.0140.00516.78
7.1.60.0130.00316.70
7.1.50.0130.00316.70
7.1.40.0160.00217.05
7.1.30.0150.00216.92
7.1.20.0160.00316.71
7.1.10.0130.00316.55
7.1.00.0130.00316.84
7.0.330.0140.00216.26
7.0.320.0130.00316.21
7.0.310.0110.00416.38
7.0.300.0130.00216.63
7.0.290.0150.00316.28
7.0.280.0100.00616.23
7.0.270.0130.00416.14
7.0.260.0130.00416.25
7.0.250.0110.00316.50
7.0.240.0120.00416.82
7.0.230.0120.00316.56
7.0.220.0110.00316.50
7.0.210.0120.00216.29
7.0.200.0120.00316.68
7.0.190.0120.00616.34
7.0.180.0130.00316.45
7.0.170.0150.00216.72
7.0.160.0150.00316.59
7.0.150.0110.00416.36
7.0.140.0130.00416.72
7.0.130.0120.00416.47
7.0.120.0150.00216.80
7.0.110.0150.00516.25
7.0.100.0210.00116.46
7.0.90.0110.00416.35
7.0.80.0120.00616.31
7.0.70.0150.00216.52
7.0.60.0120.00316.62
7.0.50.0100.00516.43
7.0.40.0130.00316.46
7.0.30.0130.00416.45
7.0.20.0120.00416.61
7.0.10.0130.00216.59
7.0.00.0130.00416.42
5.6.400.0110.00615.12
5.6.390.0160.00315.39
5.6.380.0140.00315.34
5.6.370.0130.00215.54
5.6.360.0140.00315.41
5.6.350.0100.00615.32
5.6.340.0100.00515.38
5.6.330.0110.00615.07
5.6.320.0120.00515.42
5.6.310.0150.00415.12
5.6.300.0150.00315.35
5.6.290.0130.00315.41
5.6.280.0330.00815.11
5.6.270.0210.00515.44
5.6.260.0180.00815.38
5.6.250.0210.00615.27
5.6.240.0130.00215.16
5.6.230.0110.00515.41
5.6.220.0140.00215.27
5.6.210.0130.00415.31
5.6.200.0140.00215.79
5.6.190.0110.00415.35
5.6.180.0130.00315.27
5.6.170.0100.00415.48
5.6.160.0130.00215.49
5.6.150.0110.00315.42
5.6.140.0140.00215.26
5.6.130.0140.00515.36
5.6.120.0170.00015.63
5.6.110.0120.00415.60
5.6.100.0130.00315.31
5.6.90.0140.00315.23
5.6.80.0160.00415.13
5.6.70.0140.00315.50
5.6.60.0100.00715.53
5.6.50.0140.00415.30
5.6.40.0120.00515.26
5.6.30.0120.00415.16
5.6.20.0100.00515.24
5.6.10.0150.00115.23
5.6.00.0120.00415.36
5.5.380.0130.00215.45
5.5.370.0140.00215.55
5.5.360.0160.00115.41
5.5.350.0120.00215.45
5.5.340.0120.00315.39
5.5.330.0170.00115.12
5.5.320.0120.00415.34
5.5.310.0120.00415.42
5.5.300.0110.00315.16
5.5.290.0130.00415.21
5.5.280.0130.00215.32
5.5.270.0140.00215.41
5.5.260.0110.00315.27
5.5.250.0120.00315.36
5.5.240.0160.00115.15
5.5.230.0110.00415.30
5.5.220.0100.00415.29
5.5.210.0110.00415.65
5.5.200.0120.00215.09
5.5.190.0100.00515.04
5.5.180.0090.00815.28
5.5.170.0110.00315.39
5.5.160.0110.00315.23
5.5.150.0140.00115.04
5.5.140.0140.00215.04
5.5.130.0120.00415.04
5.5.120.0250.00315.23
5.5.110.0110.00515.04
5.5.100.0110.00515.49
5.5.90.0120.00515.38
5.5.80.0110.00415.41
5.5.70.0130.00315.26
5.5.60.0110.00615.44
5.5.50.0110.00415.44
5.5.40.0190.00415.39
5.5.30.0130.00415.30
5.5.20.0110.00615.30
5.5.10.0090.00615.13
5.5.00.0090.00615.41
5.4.450.0200.00315.04
5.4.440.0090.00215.04
5.4.430.0190.00015.04
5.4.420.0170.00415.04
5.4.410.0130.00215.04
5.4.400.0090.00415.04
5.4.390.0100.00115.04
5.4.380.0100.00215.04
5.4.370.0070.00515.04
5.4.360.0110.00215.04
5.4.350.0120.00115.04
5.4.340.0100.00215.04
5.4.330.0110.00115.04
5.4.320.0100.00215.04
5.4.310.0090.00315.04
5.4.300.0100.00215.04
5.4.290.0110.00315.04
5.4.280.0090.00415.04
5.4.270.0110.00115.04
5.4.260.0050.00515.04
5.4.250.0100.00315.04
5.4.240.0080.00315.04
5.4.230.0100.00215.04
5.4.220.0100.00115.04
5.4.210.0090.00315.04
5.4.200.0050.00615.04
5.4.190.0070.00415.04
5.4.180.0130.00015.04
5.4.170.0100.00215.04
5.4.160.0100.00315.04
5.4.150.0100.00315.04
5.4.140.0070.00315.04
5.4.130.0080.00415.04
5.4.120.0110.00115.04
5.4.110.0120.00215.04
5.4.100.0100.00115.04
5.4.90.0090.00315.04
5.4.80.0080.00515.04
5.4.70.0110.00115.04
5.4.60.0100.00115.04
5.4.50.0080.00315.04
5.4.40.0070.00715.04
5.4.30.0100.00415.04
5.4.20.0080.00215.04
5.4.10.0100.00215.04
5.4.00.0090.00215.04
5.3.290.0120.00315.04
5.3.280.0080.00415.04
5.3.270.0100.00115.04
5.3.260.0090.00415.04
5.3.250.0100.00215.04
5.3.240.0090.00415.04
5.3.230.0090.00215.04
5.3.220.0100.00115.04
5.3.210.0070.00515.04
5.3.200.0080.00315.04
5.3.190.0100.00215.04
5.3.180.0100.00215.04
5.3.170.0090.00215.04
5.3.160.0100.00115.04
5.3.150.0100.00115.04
5.3.140.0100.00315.04
5.3.130.0090.00315.04
5.3.120.0090.00215.04
5.3.110.0070.00515.04
5.3.100.0050.00615.04
5.3.90.0070.00415.04
5.3.80.0100.00315.04
5.3.70.0110.00115.04
5.3.60.0110.00315.04
5.3.50.0090.00115.04
5.3.40.0100.00215.04
5.3.30.0090.00315.04
5.3.20.0080.00315.04
5.3.10.0070.00415.04
5.3.00.0090.00215.04
5.2.170.0080.00115.04
5.2.160.0070.00215.04
5.2.150.0050.00415.04
5.2.140.0060.00315.04
5.2.130.0050.00415.04
5.2.120.0050.00415.04
5.2.110.0060.00415.04
5.2.100.0050.00415.04
5.2.90.0070.00215.04
5.2.80.0070.00215.04
5.2.70.0070.00315.04
5.2.60.0050.00515.04
5.2.50.0080.00315.04
5.2.40.0060.00315.04
5.2.30.0060.00415.04
5.2.20.0080.00315.04
5.2.10.0050.00415.04
5.2.00.0080.00215.04
5.1.60.0040.00415.04
5.1.50.0050.00315.04
5.1.40.0050.00315.04
5.1.30.0060.00215.04
5.1.20.0050.00315.04
5.1.10.0080.00115.04
5.1.00.0050.00315.04
5.0.50.0050.00215.04
5.0.40.0070.00115.04
5.0.30.0040.00315.04
5.0.20.0030.00315.04
5.0.10.0040.00315.04
5.0.00.0030.00315.04
4.4.90.0030.00215.04
4.4.80.0040.00015.04
4.4.70.0020.00115.04
4.4.60.0040.00015.04
4.4.50.0040.00015.04
4.4.40.0030.00115.04
4.4.30.0040.00015.04
4.4.20.0030.00115.04
4.4.10.0030.00115.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.0040.00115.04
4.3.70.0040.00015.04
4.3.60.0040.00115.04
4.3.50.0030.00015.04
4.3.40.0040.00015.04
4.3.30.0020.00115.04
4.3.20.0020.00115.04
4.3.10.0020.00115.04
4.3.00.0030.00015.04

preferences:
145.47 ms | 1005 KiB | 7 Q