3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar { public $derp = 'fucking dumb'; } class Foo { public function __sleep() { $name = 'this'; $$name = new Bar; } } $d = new Foo; print_r(unserialize(serialize($d)));

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.40.0090.00918.84
8.3.30.0130.00619.05
8.3.20.0040.00420.12
8.3.10.0030.00522.05
8.3.00.0080.00022.51
8.2.170.0120.00322.96
8.2.160.0140.00020.89
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0050.00319.36
8.2.110.0040.00422.20
8.2.100.0110.00017.91
8.2.90.0050.00219.05
8.2.80.0000.00818.04
8.2.70.0040.00417.75
8.2.60.0040.00418.04
8.2.50.0050.00318.07
8.2.40.0000.00718.28
8.2.30.0040.00418.13
8.2.20.0000.00717.64
8.2.10.0020.00517.79
8.2.00.0000.00917.73
8.1.270.0040.00423.96
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00923.87
8.1.230.0000.01118.98
8.1.220.0080.00017.76
8.1.210.0000.00918.77
8.1.200.0000.01017.35
8.1.190.0060.00317.65
8.1.180.0080.00018.10
8.1.170.0030.00618.46
8.1.160.0020.00522.00
8.1.150.0000.00718.54
8.1.140.0040.00417.36
8.1.130.0000.00717.87
8.1.120.0030.00317.39
8.1.110.0050.00217.50
8.1.100.0040.00417.44
8.1.90.0000.00717.34
8.1.80.0040.00417.35
8.1.70.0000.00717.44
8.1.60.0090.00017.59
8.1.50.0000.00817.49
8.1.40.0080.00017.50
8.1.30.0030.00517.55
8.1.20.0000.00817.65
8.1.10.0040.00417.54
8.1.00.0030.00517.54
8.0.300.0070.00018.77
8.0.290.0000.00717.18
8.0.280.0000.00718.31
8.0.270.0040.00417.16
8.0.260.0030.00316.87
8.0.250.0000.00817.04
8.0.240.0000.00716.95
8.0.230.0000.00717.01
8.0.220.0040.00416.91
8.0.210.0030.00316.92
8.0.200.0030.00316.86
8.0.190.0030.00516.96
8.0.180.0060.00316.88
8.0.170.0000.00816.87
8.0.160.0000.00716.98
8.0.150.0040.00716.88
8.0.140.0080.00016.80
8.0.130.0050.00013.33
8.0.120.0030.00617.02
8.0.110.0000.00716.99
8.0.100.0000.00716.84
8.0.90.0040.00417.01
8.0.80.0080.00817.00
8.0.70.0040.00416.85
8.0.60.0070.00016.96
8.0.50.0000.00716.83
8.0.30.0070.01217.03
8.0.20.0110.01117.40
8.0.10.0040.00417.02
8.0.00.0140.00516.62
7.4.330.0000.00515.14
7.4.320.0040.00416.59
7.4.300.0060.00016.52
7.4.290.0070.00016.62
7.4.280.0000.00616.58
7.4.270.0070.00016.63
7.4.260.0030.00616.43
7.4.250.0050.00216.45
7.4.240.0050.00216.54
7.4.230.0070.00016.59
7.4.220.0090.00916.53
7.4.210.0070.00916.52
7.4.200.0000.00716.49
7.4.190.0040.00416.63
7.4.160.0100.00616.50
7.4.150.0090.00917.40
7.4.140.0110.01217.86
7.4.130.0110.01116.43
7.4.120.0100.00816.49
7.4.110.0110.01016.51
7.4.100.0060.01116.59
7.4.90.0120.00616.54
7.4.80.0100.01019.39
7.4.70.0030.01516.61
7.4.60.0030.01216.54
7.4.50.0030.00616.45
7.4.40.0120.00322.77
7.4.30.0040.01216.52
7.4.10.0160.00314.92
7.4.00.0080.00815.16
7.3.330.0050.00013.37
7.3.320.0000.00513.35
7.3.310.0050.00216.24
7.3.300.0040.00416.46
7.3.290.0000.01416.44
7.3.280.0020.01216.44
7.3.270.0070.01817.40
7.3.260.0160.00716.23
7.3.250.0060.01116.50
7.3.240.0100.01316.35
7.3.230.0140.00416.39
7.3.210.0090.00916.37
7.3.200.0070.01119.39
7.3.190.0100.00716.58
7.3.180.0060.00916.27
7.3.170.0120.00916.44
7.3.160.0080.00816.57
7.3.130.0060.01214.77
7.3.120.0030.01315.10
7.3.110.0070.00714.65
7.3.100.0030.01315.01
7.3.90.0110.00414.84
7.3.80.0000.01514.89
7.3.70.0060.00614.72
7.3.60.0040.00714.71
7.3.50.0090.00614.82
7.3.40.0000.01214.95
7.3.30.0090.00014.76
7.3.20.0080.00416.42
7.3.10.0090.00516.56
7.3.00.0070.00616.64
7.2.330.0000.01816.32
7.2.320.0090.00916.35
7.2.310.0060.01016.38
7.2.300.0150.00316.65
7.2.290.0060.00916.32
7.2.260.0060.01214.84
7.2.250.0080.00914.96
7.2.240.0030.01215.29
7.2.230.0070.00715.04
7.2.220.0100.00314.82
7.2.210.0000.01114.78
7.2.200.0080.00414.73
7.2.190.0070.01015.15
7.2.180.0000.00915.04
7.2.170.0120.00315.05
7.2.160.0040.01114.66
7.2.150.0000.01416.78
7.2.140.0030.00916.78
7.2.130.0030.01116.82
7.2.120.0090.00716.83
7.2.110.0090.00416.78
7.2.100.0080.00616.81
7.2.90.0050.00516.80
7.2.80.0060.00816.79
7.2.70.0030.01016.72
7.2.60.0080.00616.84
7.2.50.0080.00516.81
7.2.40.0060.00716.93
7.2.30.0060.00616.80
7.2.20.0060.00816.85
7.2.10.0060.00616.83
7.2.00.0100.00417.58
7.1.330.0080.00815.64
7.1.320.0030.00815.61
7.1.310.0060.00615.98
7.1.300.0150.00015.71
7.1.290.0000.01115.97
7.1.280.0110.00315.55
7.1.270.0090.00615.77
7.1.260.0060.00315.94
7.1.250.0050.00615.78
7.1.240.0100.00515.80
7.1.230.0040.00715.82
7.1.220.0080.00515.77
7.1.210.0040.00815.87
7.1.200.0070.00715.73
7.1.190.0070.00515.81
7.1.180.0030.01015.84
7.1.170.0050.01115.71
7.1.160.0060.00715.84
7.1.150.0070.00315.85
7.1.140.0060.00615.85
7.1.130.0030.00615.81
7.1.120.0040.00715.62
7.1.110.0030.00815.82
7.1.100.0050.00715.69
7.1.90.0070.00315.73
7.1.80.0050.00715.54
7.1.70.0070.00316.37
7.1.60.0040.00816.25
7.1.50.0070.00516.04
7.1.40.0060.00515.79
7.1.30.0030.00715.75
7.1.20.0060.00815.81
7.1.10.0070.00715.60
7.1.00.0060.02918.06
7.0.330.0030.00815.14
7.0.320.0060.00315.46
7.0.310.0040.00715.48
7.0.300.0070.00715.31
7.0.290.0030.01015.21
7.0.280.0060.00615.44
7.0.270.0070.00515.30
7.0.260.0030.00815.24
7.0.250.0090.00315.48
7.0.240.0040.00415.46
7.0.230.0040.00615.37
7.0.220.0070.00715.47
7.0.210.0050.00715.36
7.0.200.0040.00915.74
7.0.190.0060.00515.42
7.0.180.0020.01015.21
7.0.170.0050.00915.45
7.0.160.0050.00515.17
7.0.150.0030.00715.38
7.0.140.0050.02917.63
7.0.130.0080.00415.49
7.0.120.0030.00815.44
7.0.110.0020.00715.21
7.0.100.0060.00815.10
7.0.90.0050.00715.34
7.0.80.0020.00915.42
7.0.70.0060.00415.39
7.0.60.0050.03316.75
7.0.50.0110.03116.24
7.0.40.0070.02015.67
7.0.30.0100.01915.58
7.0.20.0130.02115.47
7.0.10.0100.02715.68
7.0.00.0070.03115.65
5.6.400.0040.00714.19
5.6.390.0060.01014.27
5.6.380.0030.00814.28
5.6.370.0050.00814.75
5.6.360.0080.00714.55
5.6.350.0070.00514.32
5.6.340.0050.00814.70
5.6.330.0040.00714.31
5.6.320.0050.00714.47
5.6.310.0060.00514.48
5.6.300.0050.01014.41
5.6.290.0030.00914.53
5.6.280.0020.03116.65
5.6.270.0060.00714.31
5.6.260.0130.00214.26
5.6.250.0060.00714.29
5.6.240.0060.00614.35
5.6.230.0050.00614.33
5.6.220.0060.00614.22
5.6.210.0050.01716.37
5.6.200.0070.02415.56
5.6.190.0010.02116.49
5.6.180.0090.02316.38
5.6.170.0160.02216.45
5.6.160.0070.02416.43
5.6.150.0080.02915.73
5.6.140.0060.03015.44
5.6.130.0030.03515.78
5.6.120.0050.03616.49
5.6.110.0030.02016.56
5.6.100.0040.02916.38
5.6.90.0020.03516.61
5.6.80.0070.02016.43
5.6.70.0070.00114.40
5.6.60.0070.00714.10
5.6.50.0060.00714.21
5.6.40.0050.00614.16
5.6.30.0050.00914.21
5.6.20.0040.01014.28
5.6.10.0030.01014.24
5.6.00.0100.00314.22
5.5.380.0050.00612.77
5.5.370.0030.00912.71
5.5.360.0080.00512.75
5.5.350.1390.01815.25
5.5.340.0050.02914.48
5.5.330.0090.01515.16
5.5.320.0070.03315.25
5.5.310.0150.02715.19
5.5.300.0070.02714.47
5.5.290.0040.03414.55
5.5.280.0030.03115.30
5.5.270.0050.01715.38
5.5.260.0040.03315.47
5.5.250.0040.02715.17
5.5.240.0040.02715.20
5.5.230.0050.00612.74
5.5.220.0020.01112.68
5.5.210.0050.00812.74
5.5.200.0020.01012.71
5.5.190.0050.00512.71
5.5.180.0050.00712.63
5.5.170.0060.00612.53
5.5.160.0050.00912.71
5.5.150.0040.01012.73
5.5.140.0030.00712.42
5.5.130.0030.00612.54
5.5.120.0040.00612.73
5.5.110.0070.00512.64
5.5.100.0050.00512.76
5.5.90.0060.00512.75
5.5.80.0030.00712.59
5.5.70.0030.00612.75
5.5.60.0030.00912.64
5.5.50.0070.00412.65
5.5.40.0050.00712.73
5.5.30.0030.00712.67
5.5.20.0060.00512.74
5.5.10.0030.00512.81
5.5.00.0020.01112.61
5.4.450.0190.02013.94
5.4.440.0180.01813.78
5.4.430.0130.01713.89
5.4.420.0130.01913.92
5.4.410.0060.02213.62
5.4.400.0060.02313.67
5.4.390.0130.02213.63
5.4.380.0080.02113.62
5.4.370.0100.02313.63
5.4.360.0090.02113.65
5.4.350.0070.02513.58
5.4.340.0140.01713.63
5.4.330.0020.00711.08
5.4.320.0030.01711.55
5.4.310.0050.01411.60
5.4.300.0040.01511.55
5.4.290.0040.01811.59
5.4.280.0040.01711.52
5.4.270.0020.01811.52
5.4.260.0030.01811.52
5.4.250.0050.01611.52
5.4.240.0040.01611.54
5.4.230.0050.01911.52
5.4.220.0040.02011.52
5.4.210.0060.01511.52
5.4.200.0030.02411.52
5.4.190.0070.01911.52
5.4.180.0060.01811.52
5.4.170.0170.03011.51
5.4.160.0100.01711.51
5.4.150.0090.01611.51
5.4.140.0070.01911.43
5.4.130.0080.01911.40
5.4.120.0070.02011.38
5.4.110.0070.01911.43
5.4.100.0060.02011.38
5.4.90.0080.01811.38
5.4.80.0180.02911.38
5.4.70.0080.01811.38
5.4.60.0100.01611.43
5.4.50.0080.01811.38
5.4.40.0080.01711.38
5.4.30.0070.02011.38
5.4.20.0070.02011.38
5.4.10.0100.01611.38
5.4.00.0080.01811.21
5.3.290.0020.01911.66
5.3.280.0040.01711.62
5.3.270.0100.03511.63
5.3.260.0100.01611.63
5.3.250.0090.01711.63
5.3.240.0090.01911.63
5.3.230.0070.01911.62
5.3.220.0120.02511.61
5.3.210.0060.02111.61
5.3.200.0060.02011.62
5.3.190.0080.01911.61
5.3.180.0100.01511.61
5.3.170.0110.02511.61
5.3.160.0080.01911.61
5.3.150.0080.01911.61
5.3.140.0070.01811.61
5.3.130.0160.03111.61
5.3.120.0070.01811.61
5.3.110.0090.01811.61
5.3.100.0070.01811.43
5.3.90.0090.01711.42
5.3.80.0080.01911.42
5.3.70.0080.01711.42
5.3.60.0140.02211.41
5.3.50.0100.01611.39
5.3.40.0140.03311.39
5.3.30.0080.01811.38
5.3.20.0060.02211.31
5.3.10.0090.01511.30
5.3.00.0090.01611.29
5.2.170.0070.02010.15
5.2.160.0070.01910.14
5.2.150.0050.02210.14
5.2.140.0100.01810.14
5.2.130.0060.02110.12
5.2.120.0090.01910.12
5.2.110.0090.01610.12
5.2.100.0050.02210.12
5.2.90.0080.01810.12
5.2.80.0090.01810.12
5.2.70.0070.02110.12
5.2.60.0130.02810.10
5.2.50.0070.02110.08
5.2.40.0050.02110.07
5.2.30.0100.01810.05
5.2.20.0070.01910.05
5.2.10.0080.01910.00
5.2.00.0050.0209.93
5.1.60.0050.0179.58
5.1.50.0060.0189.57
5.1.40.0060.0169.57
5.1.30.0080.0159.74
5.1.20.0120.0279.76
5.1.10.0070.0189.61
5.1.00.0070.0169.61
5.0.50.0050.0158.85
5.0.40.0080.0128.78
5.0.30.0050.0208.69
5.0.20.0060.0128.67
5.0.10.0070.0118.66
5.0.00.0070.0178.66
4.4.90.0020.0127.92
4.4.80.0050.0107.91
4.4.70.0050.0117.91
4.4.60.0040.0137.91
4.4.50.0040.0107.91
4.4.40.0060.0157.88
4.4.30.0060.0097.91
4.4.20.0020.0147.95
4.4.10.0040.0117.96
4.4.00.0060.0137.91
4.3.110.0020.0137.87
4.3.100.0050.0117.86
4.3.90.0050.0087.85
4.3.80.0110.0397.82
4.3.70.0030.0117.85
4.3.60.0060.0087.85
4.3.50.0030.0117.85
4.3.40.0050.0147.80
4.3.30.0020.0127.18
4.3.20.0020.0127.18
4.3.10.0050.0097.16
4.3.00.0020.00713.11

preferences:
42.51 ms | 400 KiB | 5 Q