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(); $a = serialize(new A()); $b = unserialize($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.0120.00920.01
8.4.150.0070.00616.88
8.4.140.0150.00817.33
8.4.130.0120.00718.90
8.4.120.0130.00822.17
8.4.110.0120.00718.85
8.4.100.0420.00617.72
8.4.90.0380.00717.73
8.4.80.0180.00417.60
8.4.70.0230.00617.48
8.4.60.0410.00717.91
8.4.50.0360.01017.66
8.4.40.0430.01117.55
8.4.30.0450.00817.21
8.4.20.0470.00617.45
8.4.10.0180.00617.45
8.3.280.0110.00918.48
8.3.270.0090.01016.55
8.3.260.0080.00216.21
8.3.250.0080.01217.13
8.3.240.0130.00617.38
8.3.230.0170.00416.45
8.3.220.0180.00516.50
8.3.210.0140.00916.59
8.3.200.0160.00516.41
8.3.190.0170.00416.27
8.3.180.0160.00516.51
8.3.170.0190.00416.20
8.3.160.0260.00516.54
8.3.150.0210.00316.37
8.3.140.0220.00116.36
8.3.130.0150.00516.27
8.3.120.0220.00316.14
8.3.110.0200.00416.34
8.3.100.0210.00516.21
8.3.90.0240.00216.16
8.3.80.0380.00716.52
8.3.70.0430.00516.32
8.3.60.0310.00716.41
8.3.50.0340.01116.23
8.3.40.0410.01017.13
8.3.30.0300.01017.07
8.3.20.0390.00717.38
8.3.10.0320.00717.30
8.3.00.0390.00717.29
8.2.290.0260.00616.23
8.2.280.0250.00916.62
8.2.270.0290.00616.54
8.2.260.0370.00616.34
8.2.250.0340.00716.68
8.2.240.0330.00816.27
8.2.230.0170.00616.29
8.2.220.0260.00516.34
8.2.210.0150.00416.40
8.2.200.0260.00916.22
8.2.190.0280.00616.64
8.2.180.0250.00816.48
8.2.170.0340.00417.63
8.2.160.0440.01017.31
8.2.150.0340.00417.39
8.2.140.0150.00517.48
8.2.130.0160.00717.24
8.2.120.0180.00417.38
8.2.110.0340.00817.54
8.2.100.0180.00317.56
8.2.90.0330.00717.61
8.2.80.0250.00717.29
8.2.70.0260.00517.29
8.2.60.0310.00517.53
8.2.50.0300.00717.18
8.2.40.0330.00617.55
8.2.30.0310.00917.43
8.2.20.0340.00917.34
8.2.10.0360.00817.51
8.2.00.0230.00217.37
8.1.330.0350.00816.02
8.1.320.0330.00715.89
8.1.310.0240.00616.29
8.1.300.0170.00216.37
8.1.290.0360.00616.12
8.1.280.0350.00616.13
8.1.270.0330.00717.19
8.1.260.0290.00417.15
8.1.250.0160.00217.29
8.1.240.0290.00717.17
8.1.230.0290.00617.29
8.1.220.0300.00217.19
8.1.210.0300.00716.89
8.1.200.0290.00917.04
8.1.190.0290.00716.94
8.1.180.0310.00817.07
8.1.170.0270.00616.93
8.1.160.0270.00617.19
8.1.150.0130.00517.02
8.1.140.0140.00417.28
8.1.130.0280.01017.01
8.1.120.0300.00917.30
8.1.110.0300.00816.98
8.1.100.0180.00717.18
8.1.90.0150.00417.07
8.1.80.0140.00417.22
8.1.70.0250.00817.00
8.1.60.0280.01117.13
8.1.50.0320.00717.34
8.1.40.0370.00817.25
8.1.30.0340.01017.30
8.1.20.0310.00717.07
8.1.10.0250.01117.31
8.1.00.0360.00417.02
8.0.300.0260.01016.31
8.0.290.0350.00416.56
8.0.280.0330.00516.63
8.0.270.0220.00516.55
8.0.260.0240.00716.70
8.0.250.0290.01016.66
8.0.240.0290.00816.63
8.0.230.0290.00816.33
8.0.220.0180.00016.51
8.0.210.0160.00616.45
8.0.200.0160.00216.50
8.0.190.0150.00216.70
8.0.180.0280.00716.64
8.0.170.0220.00716.26
8.0.160.0340.00616.47
8.0.150.0290.00916.52
8.0.140.0280.00916.47
8.0.130.0320.01016.46
8.0.120.0330.01016.58
8.0.110.0310.00916.39
8.0.100.0300.00816.36
8.0.90.0310.01116.54
8.0.80.0290.00916.43
8.0.70.0270.01016.46
8.0.60.0330.00916.31
8.0.50.0380.00816.18
8.0.30.0340.00616.58
8.0.20.0300.01016.78
8.0.10.0300.00616.57
8.0.00.0280.00916.78
7.4.330.0310.00516.13
7.4.320.0310.00516.07
7.4.300.0260.00716.22
7.4.290.0290.00615.95
7.4.280.0290.00616.11
7.4.270.0270.00516.21
7.4.260.0310.00516.16
7.4.250.0270.00416.24
7.4.240.0220.00716.21
7.4.230.0300.00516.14
7.4.220.0320.00616.31
7.4.210.0260.00516.29
7.4.200.0180.00416.28
7.4.190.0120.00516.40
7.4.180.0290.00516.45
7.4.160.0280.00716.21
7.4.150.0310.00416.36
7.4.140.0260.00816.29
7.4.130.0290.00516.15
7.4.120.0280.00816.00
7.4.110.0250.00916.21
7.4.100.0230.00416.33
7.4.90.0230.01216.21
7.4.80.0260.01016.27
7.4.70.0300.00416.09
7.4.60.0160.00216.21
7.4.50.0140.00216.04
7.4.40.0130.00416.15
7.4.30.0200.00616.03
7.4.20.0300.00816.06
7.4.10.0290.00916.00
7.4.00.0280.00716.03
7.3.330.0350.00615.80
7.3.320.0230.00215.87
7.3.310.0120.00415.86
7.3.300.0250.00215.95
7.3.290.0140.00216.07
7.3.280.0100.00616.07
7.3.270.0110.00516.09
7.3.260.0240.00715.72
7.3.250.0300.00615.66
7.3.240.0300.00715.86
7.3.230.0260.00915.81
7.3.220.0310.01015.55
7.3.210.0330.00415.91
7.3.200.0300.00615.95
7.3.190.0300.00715.79
7.3.180.0280.00615.93
7.3.170.0220.00415.93
7.3.160.0330.00515.81
7.3.150.0230.00415.91
7.3.140.0310.00815.73
7.3.130.0290.00715.91
7.3.120.0240.00915.89
7.3.110.0290.00715.76
7.3.100.0290.00715.78
7.3.90.0320.00715.97
7.3.80.0390.00815.60
7.3.70.0230.01015.90
7.3.60.0320.00515.98
7.3.50.0290.00816.07
7.3.40.0310.00416.02
7.3.30.0320.00716.04
7.3.20.0230.00417.95
7.3.10.0260.00717.81
7.3.00.0300.00617.79
7.2.340.0150.00615.98
7.2.330.0280.00715.91
7.2.320.0290.00716.08
7.2.310.0280.00816.07
7.2.300.0310.00415.60
7.2.290.0270.00816.10
7.2.280.0290.00716.11
7.2.270.0270.00915.88
7.2.260.0340.00616.05
7.2.250.0260.01016.04
7.2.240.0180.00216.08
7.2.230.0150.00215.94
7.2.220.0230.00416.21
7.2.210.0290.00516.07
7.2.200.0260.00616.13
7.2.190.0310.00516.03
7.2.180.0250.01116.28
7.2.170.0220.00516.36
7.2.160.0260.00916.20
7.2.150.0360.00517.95
7.2.140.0280.00618.11
7.2.130.0290.00618.12
7.2.120.0300.00617.97
7.2.110.0290.00618.04
7.2.100.0220.00518.18
7.2.90.0340.00418.12
7.2.80.0300.00418.28
7.2.70.0280.00718.09
7.2.60.0340.00618.05
7.2.50.0270.00618.17
7.2.40.0240.00718.13
7.2.30.0300.00818.28
7.2.20.0320.00718.28
7.2.10.0310.00718.13
7.2.00.0190.00517.95
7.1.330.0180.00117.06
7.1.320.0250.00717.20
7.1.310.0230.00917.09
7.1.300.0270.00616.91
7.1.290.0240.00516.93
7.1.280.0300.00517.13
7.1.270.0200.00117.01
7.1.260.0140.00117.01
7.1.250.0230.00717.04
7.1.240.0150.00317.21
7.1.230.0240.00316.97
7.1.220.0320.00517.02
7.1.210.0250.00817.11
7.1.200.0270.00617.16
7.1.190.0260.00717.03
7.1.180.0250.00716.88
7.1.170.0250.00716.98
7.1.160.0240.00416.92
7.1.150.0120.00217.15
7.1.140.0160.00716.90
7.1.130.0240.00817.02
7.1.120.0270.00716.94
7.1.110.0240.00717.07
7.1.100.0260.00917.01
7.1.90.0240.00616.94
7.1.80.0140.00817.07
7.1.70.0210.00816.68
7.1.60.0280.00616.88
7.1.50.0290.00717.12
7.1.40.0230.00916.96
7.1.30.0250.00717.09
7.1.20.0320.00516.89
7.1.10.0210.01116.89
7.1.00.0270.00616.78
7.0.330.0260.00516.73
7.0.320.0270.00416.58
7.0.310.0280.00616.66
7.0.300.0250.00616.89
7.0.290.0210.01016.71
7.0.280.0260.00516.88
7.0.270.0220.00716.44
7.0.260.0230.00816.66
7.0.250.0230.00716.81
7.0.240.0260.00617.02
7.0.230.0250.00416.82
7.0.220.0280.00516.69
7.0.210.0240.00216.90
7.0.200.0260.00616.49
7.0.190.0260.00616.64
7.0.180.0220.00516.29
7.0.170.0310.00316.80
7.0.160.0280.00616.68
7.0.150.0240.00816.59
7.0.140.0230.00716.66
7.0.130.0240.00716.68
7.0.120.0250.00616.78
7.0.110.0230.00716.60
7.0.100.0240.00516.80
7.0.90.0250.00416.77
7.0.80.0230.00916.65
7.0.70.0230.00616.77
7.0.60.0250.00716.74
7.0.50.0270.00316.50
7.0.40.0230.00516.56
7.0.30.0240.00816.56
7.0.20.0230.00816.68
7.0.10.0270.00216.72
7.0.00.0260.00816.63
5.6.400.0270.00715.72
5.6.390.0230.00915.69
5.6.380.0270.00415.71
5.6.370.0240.00715.70
5.6.360.0350.00615.54
5.6.350.0240.00815.73
5.6.340.0220.00815.72
5.6.330.0210.00615.86
5.6.320.0230.00915.54
5.6.310.0240.00715.66
5.6.300.0280.00515.43
5.6.290.0240.00815.73
5.6.280.0270.00515.70
5.6.270.0280.00615.85
5.6.260.0130.00215.84
5.6.250.0260.00615.65
5.6.240.0230.00915.69
5.6.230.0240.00615.58
5.6.220.0240.00815.75
5.6.210.0250.00415.81
5.6.200.0260.00615.74
5.6.190.0220.00815.72
5.6.180.0140.00615.74
5.6.170.0220.00515.59
5.6.160.0270.00615.89
5.6.150.0340.00415.35
5.6.140.0240.00815.81
5.6.130.0260.00715.45
5.6.120.0260.00715.67
5.6.110.0260.00615.52
5.6.100.0220.01015.34
5.6.90.0260.00515.38
5.6.80.0240.00515.73
5.6.70.0290.00315.80
5.6.60.0250.00615.71
5.6.50.0270.00615.75
5.6.40.0250.00315.51
5.6.30.0240.00515.27
5.6.20.0230.00815.46
5.6.10.0250.00415.53
5.6.00.0200.01115.43
5.5.380.0240.00815.41
5.5.370.0250.00715.67
5.5.360.0270.01115.46
5.5.350.0240.00815.36
5.5.340.0230.00915.35
5.5.330.0270.00515.46
5.5.320.0310.00315.44
5.5.310.0250.00715.41
5.5.300.0230.00615.17
5.5.290.0270.00515.43
5.5.280.0260.00515.48
5.5.270.0230.00615.51
5.5.260.0260.00715.54
5.5.250.0230.00815.65
5.5.240.0270.00315.63
5.5.230.0310.00315.79
5.5.220.0210.00715.76
5.5.210.0220.00515.65
5.5.200.0250.00515.28
5.5.190.0190.00915.38
5.5.180.0220.00715.50
5.5.170.0200.00815.64
5.5.160.0260.00415.30
5.5.150.0200.01015.22
5.5.140.0230.00715.04
5.5.130.0280.00315.10
5.5.120.0250.00515.40
5.5.110.0250.00615.50
5.5.100.0320.00615.34
5.5.90.0260.00515.30
5.5.80.0230.00815.69
5.5.70.0250.00615.48
5.5.60.0230.00715.38
5.5.50.0250.00615.56
5.5.40.0250.00515.33
5.5.30.0250.00515.61
5.5.20.0260.00615.32
5.5.10.0260.00615.62
5.5.00.0250.00215.54
5.4.450.0080.00315.04
5.4.440.0100.00115.04
5.4.430.0110.00315.04
5.4.420.0100.00115.04
5.4.410.0090.00115.04
5.4.400.0090.00215.04
5.4.390.0080.00315.04
5.4.380.0080.00315.04
5.4.370.0100.00115.04
5.4.360.0220.00515.04
5.4.350.0190.00615.04
5.4.340.0210.00315.04
5.4.330.0200.00415.04
5.4.320.0190.00515.04
5.4.310.0210.00215.04
5.4.300.0200.00415.04
5.4.290.0200.00515.04
5.4.280.0220.00315.04
5.4.270.0210.00315.04
5.4.260.0140.00915.04
5.4.250.0090.00615.04
5.4.240.0140.00315.04
5.4.230.0180.00715.04
5.4.220.0220.00315.04
5.4.210.0340.00115.04
5.4.200.0150.00415.04
5.4.190.0100.00215.04
5.4.180.0090.00215.04
5.4.170.0080.00215.04
5.4.160.0180.00615.04
5.4.150.0190.00515.04
5.4.140.0210.00415.04
5.4.130.0190.00515.04
5.4.120.0190.00515.04
5.4.110.0200.00415.04
5.4.100.0200.00415.04
5.4.90.0180.00515.04
5.4.80.0180.00615.04
5.4.70.0100.00215.04
5.4.60.0070.00415.04
5.4.50.0210.00315.04
5.4.40.0180.00415.04
5.4.30.0180.00515.04
5.4.20.0170.00715.04
5.4.10.0170.00515.04
5.4.00.0190.00415.04
5.3.290.0180.00615.04
5.3.280.0210.00515.04
5.3.270.0170.00915.04
5.3.260.0190.00815.04
5.3.250.0170.00715.04
5.3.240.0180.00615.04
5.3.230.0200.00515.04
5.3.220.0200.00515.04
5.3.210.0210.00215.04
5.3.200.0180.00515.04
5.3.190.0180.00715.04
5.3.180.0210.00415.04
5.3.170.0180.00315.04
5.3.160.0200.00715.04
5.3.150.0210.00515.04
5.3.140.0200.00315.04
5.3.130.0140.00415.04
5.3.120.0190.00615.04
5.3.110.0170.00715.04
5.3.100.0180.00615.04
5.3.90.0120.00815.04
5.3.80.0150.00815.04
5.3.70.0180.00715.04
5.3.60.0180.00815.04
5.3.50.0230.00115.04
5.3.40.0200.00415.04
5.3.30.0150.00915.04
5.3.20.0190.00515.04
5.3.10.0180.00315.04
5.3.00.0200.00415.04
5.2.170.0140.00515.04
5.2.160.0140.00615.04
5.2.150.0170.00515.04
5.2.140.0140.00615.04
5.2.130.0160.00415.04
5.2.120.0130.00715.04
5.2.110.0160.00415.04
5.2.100.0190.00115.04
5.2.90.0180.00215.04
5.2.80.0120.00715.04
5.2.70.0160.00415.04
5.2.60.0130.00715.04
5.2.50.0150.00415.04
5.2.40.0150.00415.04
5.2.30.0150.00415.04
5.2.20.0120.00515.04
5.2.10.0140.00415.04
5.2.00.0160.00215.04
5.1.60.0130.00415.04
5.1.50.0150.00215.04
5.1.40.0130.00415.04
5.1.30.0150.00515.04
5.1.20.0160.00115.04
5.1.10.0140.00215.04
5.1.00.0140.00315.04
5.0.50.0110.00415.04
5.0.40.0130.00215.04
5.0.30.0120.00315.04
5.0.20.0120.00315.04
5.0.10.0090.00515.04
5.0.00.0120.00315.04
4.4.90.0090.00115.04
4.4.80.0100.00115.04
4.4.70.0090.00215.04
4.4.60.0060.00215.04
4.4.50.0070.00115.04
4.4.40.0090.00015.04
4.4.30.0070.00115.04
4.4.20.0090.00015.04
4.4.10.0070.00215.04
4.4.00.0090.00015.04
4.3.110.0070.00215.04
4.3.100.0060.00215.04
4.3.90.0060.00315.04
4.3.80.0070.00215.04
4.3.70.0080.00115.04
4.3.60.0060.00215.04
4.3.50.0080.00115.04
4.3.40.0070.00215.04
4.3.30.0050.00215.04
4.3.20.0060.00115.04
4.3.10.0060.00115.04
4.3.00.0060.00115.04

preferences:
56.32 ms | 403 KiB | 5 Q