3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo1 = new stdClass(); $foo1->bar = 'test1'; $foo1->baz = 'test2'; $foo2 = new stdClass(); $foo2->baz = 'test2'; $foo2->bar = 'test1'; var_dump($foo1); var_dump(serialize($foo1)); var_dump($foo2); var_dump(serialize($foo2));

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.0150.00618.60
8.3.30.0080.00618.96
8.3.20.0060.00320.16
8.3.10.0080.00023.70
8.3.00.0030.00520.80
8.2.170.0070.01322.96
8.2.160.0070.00720.47
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0110.00426.16
8.2.120.0040.00420.84
8.2.110.0090.00019.21
8.2.100.0100.00317.62
8.2.90.0040.00419.28
8.2.80.0030.00617.97
8.2.70.0060.00317.50
8.2.60.0050.00317.93
8.2.50.0060.00618.07
8.2.40.0040.00419.94
8.2.30.0080.00018.25
8.2.20.0040.00417.62
8.2.10.0000.00718.06
8.2.00.0040.00417.53
8.1.270.0000.00823.96
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00322.24
8.1.230.0060.00618.87
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0040.00417.35
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0040.00418.57
8.1.160.0040.00421.94
8.1.150.0000.00718.57
8.1.140.0040.00417.40
8.1.130.0040.00417.93
8.1.120.0000.00717.34
8.1.110.0000.00817.39
8.1.100.0070.00017.40
8.1.90.0080.00017.30
8.1.80.0000.00717.46
8.1.70.0000.00717.40
8.1.60.0000.00917.55
8.1.50.0040.00417.36
8.1.40.0090.00017.32
8.1.30.0000.00817.55
8.1.20.0000.00817.54
8.1.10.0040.00417.55
8.1.00.0040.00417.43
8.0.300.0040.00420.04
8.0.290.0000.00816.63
8.0.280.0000.00718.29
8.0.270.0040.00417.20
8.0.260.0030.00317.12
8.0.250.0040.00416.88
8.0.240.0070.00016.80
8.0.230.0000.00716.80
8.0.220.0030.00316.84
8.0.210.0030.00316.86
8.0.200.0050.00316.88
8.0.190.0000.00816.81
8.0.180.0040.00416.77
8.0.170.0000.00916.74
8.0.160.0000.00716.86
8.0.150.0040.00416.80
8.0.140.0000.00816.77
8.0.130.0030.00313.27
8.0.120.0050.00316.76
8.0.110.0040.00416.86
8.0.100.0040.00416.78
8.0.90.0040.00416.83
8.0.80.0040.01116.82
8.0.70.0000.00716.90
8.0.60.0040.00416.73
8.0.50.0000.00816.70
8.0.30.0170.00516.85
8.0.20.0210.01217.40
8.0.10.0030.00616.81
8.0.00.0100.00916.58
7.4.330.0000.00615.00
7.4.320.0040.00416.34
7.4.300.0040.00416.44
7.4.290.0030.00316.58
7.4.280.0040.00416.38
7.4.270.0050.00216.44
7.4.260.0030.00316.50
7.4.250.0000.00716.50
7.4.240.0070.00016.51
7.4.230.0030.00316.54
7.4.220.0130.01416.47
7.4.210.0000.01416.57
7.4.200.0030.00516.29
7.4.160.0150.00416.45
7.4.150.0140.00317.40
7.4.140.0110.01017.86
7.4.130.0130.00516.39
7.4.120.0120.00916.48
7.4.110.0070.01016.45
7.4.100.0120.00616.46
7.4.90.0030.01616.50
7.4.80.0150.00319.39
7.4.70.0040.01416.43
7.4.60.0130.00316.23
7.4.50.0060.00016.43
7.4.40.0060.01216.27
7.4.30.0090.00916.48
7.4.00.0060.00915.02
7.3.330.0050.00012.96
7.3.320.0050.00013.04
7.3.310.0030.00316.06
7.3.300.0040.00416.12
7.3.290.0000.01416.21
7.3.280.0080.00916.17
7.3.270.0120.00617.40
7.3.260.0110.00716.22
7.3.250.0110.00816.40
7.3.240.0120.01216.55
7.3.230.0100.00916.39
7.3.210.0030.01516.58
7.3.200.0070.01019.39
7.3.190.0160.00316.20
7.3.180.0080.00816.20
7.3.170.0160.00516.27
7.3.160.0110.00616.31
7.3.120.0030.01314.73
7.3.10.0100.00316.86
7.3.00.0080.00616.77
7.2.330.0070.01016.55
7.2.320.0040.01216.29
7.2.310.0070.01016.63
7.2.300.0160.00316.40
7.2.290.0000.01716.55
7.2.130.0090.00616.99
7.2.120.0060.01016.63
7.2.110.0040.00916.63
7.2.100.0070.00316.79
7.2.90.0080.00516.68
7.2.80.0070.00716.70
7.2.70.0090.00616.71
7.2.60.0080.00516.95
7.2.50.0050.00516.57
7.2.40.0000.00916.45
7.2.30.0110.00416.75
7.2.20.0080.00416.83
7.2.10.0060.00916.88
7.2.00.0030.01218.14
7.1.250.0070.00415.94
7.1.200.0060.00615.50
7.1.100.0030.00917.93
7.1.70.0030.00617.15
7.1.60.0110.01419.70
7.1.50.0160.01316.79
7.1.00.0070.08722.46
7.0.200.0000.00716.69
7.0.140.0030.07322.09
7.0.100.0330.04019.89
7.0.90.0230.04719.94
7.0.80.0400.06019.91
7.0.70.0400.05719.91
7.0.60.0370.07319.85
7.0.50.0500.08320.39
7.0.40.0030.04020.13
7.0.30.0070.05320.05
7.0.20.0130.04720.14
7.0.10.0030.04320.10
7.0.00.0100.05020.02
5.6.280.0030.06721.06
5.6.250.0070.07720.78
5.6.240.0200.05320.61
5.6.230.0070.04020.66
5.6.220.0000.04720.62
5.6.210.0070.04320.68
5.6.200.0200.06721.08
5.6.190.0030.05020.96
5.6.180.0030.09320.96
5.6.170.0100.07321.04
5.6.160.0100.03720.99
5.6.150.0030.07720.94
5.6.140.0070.05021.17
5.6.130.0070.03721.06
5.6.120.0070.04320.95
5.6.110.0070.04021.12
5.6.100.0100.03721.03
5.6.90.0130.07020.91
5.6.80.0030.09020.56
5.6.70.0100.03320.39
5.6.60.0100.03720.39
5.6.50.0030.04020.55
5.6.40.0030.05020.30
5.6.30.0070.06320.35
5.6.20.0070.03020.36
5.6.10.0130.07720.37
5.6.00.0100.03320.45
5.5.380.0000.04320.34
5.5.370.0100.03720.37
5.5.360.0000.04320.35
5.5.350.0030.05320.34
5.5.340.0070.08320.79
5.5.330.0070.04020.89
5.5.320.0000.04720.86
5.5.310.0000.05020.83
5.5.300.0030.04720.87
5.5.290.0000.05320.82
5.5.280.0000.04720.92
5.5.270.0100.08320.76
5.5.260.0030.06720.91
5.5.250.0000.04320.74
5.5.240.0070.03720.11
5.5.230.0100.05320.24
5.5.220.0100.03320.13
5.5.210.0030.04020.24
5.5.200.0000.04720.28
5.5.190.0000.04320.25
5.5.180.0000.04320.28
5.5.160.0000.04720.15
5.5.150.0070.04320.19
5.5.140.0100.03020.22
5.5.130.0100.05020.15
5.5.120.0030.03720.14
5.5.110.0100.04720.25
5.5.100.0130.03020.01
5.5.90.0070.04020.16
5.5.80.0030.03720.06
5.5.70.0000.05720.14
5.5.60.0070.03719.95
5.5.50.0100.03320.09
5.5.40.0070.03720.14
5.5.30.0070.05320.15
5.5.20.0030.04020.11
5.5.10.0030.03719.92
5.5.00.0030.04020.04
5.4.450.0100.04719.48
5.4.440.0070.05719.39
5.4.430.0030.04019.23
5.4.420.0030.04319.55
5.4.410.0000.06719.29
5.4.400.0000.04718.97
5.4.390.0030.07319.06
5.4.380.0000.04319.20
5.4.370.0000.04019.03
5.4.360.0000.04018.97
5.4.350.0070.03719.10
5.4.340.0030.04019.23
5.4.320.0000.04018.81
5.4.310.0030.03319.06
5.4.300.0070.04719.10
5.4.290.0030.03718.96
5.4.280.0030.04019.04
5.4.270.0070.06719.04
5.4.260.0030.04019.03
5.4.250.0000.04318.78
5.4.240.0000.04019.13
5.4.230.0070.05319.14
5.4.220.0100.04318.95
5.4.210.0100.03019.14
5.4.200.0030.07019.09
5.4.190.0030.04019.09
5.4.180.0070.03319.12
5.4.170.0030.03719.05
5.4.160.0030.03718.92
5.4.150.0030.04019.21
5.4.140.0030.04716.36
5.4.130.0100.04316.31
5.4.120.0070.05716.28
5.4.110.0070.03316.24
5.4.100.0170.06316.21
5.4.90.0000.06016.21
5.4.80.0130.03716.39
5.4.70.0070.04316.30
5.4.60.0000.06716.43
5.4.50.0030.03716.41
5.4.40.0030.03716.52
5.4.30.0000.04016.21
5.4.20.0130.07316.36
5.4.10.0030.03716.19
5.4.00.0030.04315.45
5.3.290.0100.03314.66
5.3.280.0000.04014.45
5.3.270.0030.04014.56
5.3.260.0030.03714.60
5.3.250.0030.03714.59
5.3.240.0030.03314.60
5.3.230.0070.05314.54
5.3.220.0070.03314.44
5.3.210.0030.03714.56
5.3.200.0030.04014.57
5.3.190.0000.04314.52
5.3.180.0000.04314.57
5.3.170.0030.03714.56
5.3.160.0000.04014.53
5.3.150.0030.05314.42
5.3.140.0000.04014.51
5.3.130.0000.06714.38
5.3.120.0100.03314.53
5.3.110.0030.03714.40
5.3.100.0100.03714.03
5.3.90.0000.03713.96
5.3.80.0000.04013.98
5.3.70.0000.04014.01
5.3.60.0070.04014.02
5.3.50.0030.03713.93
5.3.40.0100.07013.87
5.3.30.0030.03713.87
5.3.20.0030.04013.68
5.3.10.0000.03713.65
5.3.00.0030.03713.39
5.2.170.0000.03011.21
5.2.160.0030.02711.16
5.2.150.0000.03011.13
5.2.140.0030.03011.13
5.2.130.0030.03311.06
5.2.120.0030.02711.09
5.2.110.0000.03011.10
5.2.100.0030.03711.05
5.2.90.0000.03010.95
5.2.80.0030.05010.89
5.2.70.0030.03010.95
5.2.60.0000.03010.91
5.2.50.0000.04010.94
5.2.40.0000.03010.84
5.2.30.0030.02710.96
5.2.20.0030.02710.91
5.2.10.0030.02710.94
5.2.00.0030.02710.72
5.1.60.0030.02310.04
5.1.50.0030.0209.99
5.1.40.0000.0239.82
5.1.30.0030.02310.39
5.1.20.0000.02310.40
5.1.10.0100.01710.07
5.1.00.0000.02710.12
5.0.50.0000.0278.54
5.0.40.0030.0178.51
5.0.30.0070.0238.16
5.0.20.0000.0278.20
5.0.10.0000.0178.19
5.0.00.0000.0308.23
4.4.90.0030.0138.16
4.4.80.0030.0178.16
4.4.70.0000.0178.16
4.4.60.0000.0178.16
4.4.50.0000.0178.16
4.4.40.0000.0338.16
4.4.30.0000.0178.16
4.4.20.0030.0138.16
4.4.10.0030.0178.16
4.4.00.0100.0338.16
4.3.110.0000.0178.16
4.3.100.0000.0178.16
4.3.90.0000.0208.16
4.3.80.0000.0208.16
4.3.70.0000.0138.16
4.3.60.0000.0178.16
4.3.50.0000.0138.16
4.3.40.0000.0238.16
4.3.30.0000.0178.16
4.3.20.0030.0108.16
4.3.10.0030.0178.16
4.3.00.0000.0178.16

preferences:
40.74 ms | 400 KiB | 5 Q