3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass; $a->id = 1; $b = $a; $b->id = 2; var_dump($a->id, $b->id); // int 2 e int 2

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.10.0070.01017.56
8.3.140.0040.00418.30
8.3.130.0090.00016.65
8.3.120.0050.00520.63
8.3.110.0170.00320.94
8.3.100.0140.00724.06
8.3.90.0080.00026.77
8.3.80.0060.00319.36
8.3.70.0160.00416.50
8.3.60.0110.01116.38
8.3.50.0090.01121.01
8.3.40.0120.00318.59
8.3.30.0150.00018.74
8.3.20.0040.00420.35
8.3.10.0000.00821.95
8.3.00.0080.00317.50
8.2.250.0060.00316.62
8.2.240.0140.00316.97
8.2.230.0080.00022.58
8.2.220.0000.00937.54
8.2.210.0000.00826.77
8.2.200.0060.00318.88
8.2.190.0120.00618.17
8.2.180.0140.00718.25
8.2.170.0110.00422.96
8.2.160.0030.01022.11
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00020.80
8.2.110.0060.00320.38
8.2.100.0000.01117.79
8.2.90.0040.00417.63
8.2.80.0000.00818.52
8.2.70.0080.00017.50
8.2.60.0000.00818.03
8.2.50.0050.00318.10
8.2.40.0000.00919.82
8.2.30.0040.00417.99
8.2.20.0000.00717.68
8.2.10.0000.00917.99
8.2.00.0070.00017.86
8.1.300.0000.00818.59
8.1.290.0070.00430.84
8.1.280.0080.00625.92
8.1.270.0100.01020.25
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.14
8.1.230.0090.00320.98
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0050.00317.13
8.1.180.0030.00618.10
8.1.170.0000.00818.61
8.1.160.0050.00218.78
8.1.150.0000.00718.69
8.1.140.0000.00817.29
8.1.130.0000.00717.66
8.1.120.0080.00017.34
8.1.110.0080.00017.38
8.1.100.0050.00517.45
8.1.90.0000.00717.37
8.1.80.0050.00317.36
8.1.70.0030.00517.29
8.1.60.0040.00417.54
8.1.50.0030.00517.47
8.1.40.0040.00417.43
8.1.30.0040.00417.63
8.1.20.0070.00017.48
8.1.10.0000.00817.45
8.1.00.0030.00617.36
8.0.300.0050.00220.23
8.0.290.0050.00516.75
8.0.280.0000.00718.42
8.0.270.0000.00716.63
8.0.260.0030.00317.19
8.0.250.0000.00716.93
8.0.240.0090.00016.84
8.0.230.0000.00716.78
8.0.220.0020.00516.82
8.0.210.0030.00316.82
8.0.200.0000.00716.80
8.0.190.0080.00016.77
8.0.180.0070.00016.73
8.0.170.0040.00416.73
8.0.160.0030.00616.82
8.0.150.0030.00516.72
8.0.140.0000.00716.82
8.0.130.0060.00013.22
8.0.120.0000.00816.68
8.0.110.0030.00516.87
8.0.100.0070.00016.69
8.0.90.0040.00416.77
8.0.80.0100.00716.87
8.0.70.0040.00416.68
8.0.60.0040.00416.71
8.0.50.0050.00316.70
8.0.30.0110.00616.93
8.0.20.0110.00617.40
8.0.10.0000.00717.00
8.0.00.0100.01216.84
7.4.330.0000.00515.09
7.4.320.0080.00016.52
7.4.300.0000.00716.36
7.4.290.0030.00416.53
7.4.280.0030.00516.43
7.4.270.0030.00316.35
7.4.260.0070.00016.49
7.4.250.0060.00316.48
7.4.240.0030.00316.49
7.4.230.0030.00316.44
7.4.220.0160.01016.38
7.4.210.0020.01116.50
7.4.200.0000.00816.34
7.4.150.0060.01117.40
7.4.140.0150.00317.86
7.4.130.0080.01016.51
7.4.120.0120.00916.41
7.4.110.0070.01016.33
7.4.100.0060.01016.52
7.4.90.0070.01016.42
7.4.80.0120.00919.39
7.4.70.0130.00516.42
7.4.60.0130.00316.27
7.4.50.0000.00916.19
7.4.40.0100.00716.39
7.4.30.0060.01216.33
7.4.00.0000.01714.81
7.3.330.0020.00213.13
7.3.320.0050.00013.17
7.3.310.0070.00016.19
7.3.300.0070.00016.29
7.3.290.0040.01116.30
7.3.280.0080.00816.32
7.3.270.0120.00817.40
7.3.260.0070.01616.35
7.3.250.0080.01116.40
7.3.240.0130.00316.34
7.3.230.0160.00616.49
7.3.210.0070.01016.46
7.3.200.0100.01319.39
7.3.190.0060.01016.09
7.3.180.0060.01016.43
7.3.170.0090.01216.27
7.3.160.0160.00316.46
7.2.330.0130.01016.70
7.2.320.0070.01116.69
7.2.310.0150.00916.57
7.2.300.0000.01616.40
7.2.290.0110.01116.46
7.2.60.0030.01016.87
7.1.200.0000.00915.78
7.1.70.0080.00017.12
7.1.60.0060.01919.59
7.1.50.0100.01316.79
7.1.00.0030.07722.46
7.0.200.0090.00316.74
7.0.60.0070.03719.87
7.0.50.0230.03717.77
7.0.40.0070.05719.99
7.0.30.0230.04020.04
7.0.20.0300.06320.15
7.0.10.0070.09020.18
7.0.00.0130.08020.19
5.6.280.0000.07320.92
5.6.210.0030.07020.75
5.6.200.0030.07318.20
5.6.190.0030.05320.43
5.6.180.0530.07020.35
5.6.170.0330.07720.66
5.6.160.0170.03720.46
5.6.150.0100.07718.13
5.6.140.0070.07018.17
5.6.130.0200.07318.11
5.6.120.0070.06321.03
5.6.110.0030.04321.14
5.6.100.0170.08020.88
5.6.90.0100.06320.95
5.6.80.0000.04020.42
5.5.350.0130.05320.52
5.5.340.0070.08317.93
5.5.330.0070.08320.20
5.5.320.0030.05720.18
5.5.310.0170.04720.20
5.5.300.0100.06317.96
5.5.290.0100.07718.02
5.5.280.0030.04320.80
5.5.270.0000.04720.91
5.5.260.0070.07720.95
5.5.250.0030.07320.68
5.5.240.0070.07320.16
5.4.450.0430.05319.50
5.4.440.0100.06719.39
5.4.430.0130.07319.44
5.4.420.0200.04719.48
5.4.410.0230.04719.50
5.4.400.0070.05719.18
5.4.390.0070.06019.25
5.4.380.0170.05019.22
5.4.370.0130.06319.30
5.4.360.0130.05019.26
5.4.350.0130.05319.27
5.4.340.0230.05019.19
5.4.320.0230.04718.84
5.4.310.0130.06718.89
5.4.300.0230.04019.18
5.4.290.0130.06319.18
5.4.280.0200.05019.30
5.4.270.0170.05318.92
5.4.260.0270.06319.21
5.4.250.0130.07719.03
5.4.240.0200.04319.11
5.4.230.0100.05719.20
5.4.220.0200.05319.11
5.4.210.0100.05319.28
5.4.200.0070.05716.93
5.4.190.0130.06019.16
5.4.180.0070.06318.99
5.4.170.0200.05318.93
5.4.160.0100.05719.13
5.4.150.0200.04719.04
5.4.140.0230.05716.19
5.4.130.0130.05316.41
5.4.120.0130.04716.13
5.4.110.0130.05016.41
5.4.100.0270.03716.34
5.4.90.0100.05316.53
5.4.80.0100.05316.16
5.4.70.0170.05016.51
5.4.60.0100.05016.31
5.4.50.0170.04316.34
5.4.40.0130.05016.35
5.4.30.0030.05716.33
5.4.20.0200.04316.55
5.4.10.0200.04316.18
5.4.00.0300.04715.67
5.3.290.0100.05314.55
5.3.280.0030.05714.50
5.3.270.0100.05714.53
5.3.260.0100.05314.49
5.3.250.0070.05314.61
5.3.240.0130.05014.43
5.3.230.0070.05714.44
5.3.220.0170.05014.40
5.3.210.0170.05014.38
5.3.200.0100.05314.45
5.3.190.0130.04714.49
5.3.180.0170.05314.40
5.3.170.0030.07714.56
5.3.160.0270.06014.39
5.3.150.0100.07714.39
5.3.140.0100.05014.37
5.3.130.0070.06314.33
5.3.120.0070.06714.43
5.3.110.0170.05014.57
5.3.100.0130.05713.94
5.3.90.0230.06313.91
5.3.80.0100.05313.86
5.3.70.0100.05313.96
5.3.60.0230.05013.87
5.3.50.0070.07013.77
5.3.40.0230.05313.73
5.3.30.0130.06713.78
5.3.20.0200.05713.55
5.3.10.0170.04713.54
5.3.00.0130.07013.49
5.2.170.0130.04311.05
5.2.160.0070.04311.22
5.2.150.0100.04011.24
5.2.140.0130.04311.07
5.2.130.0070.04710.93
5.2.120.0170.03010.89
5.2.110.0070.04011.01
5.2.100.0100.03711.05
5.2.90.0130.03710.89
5.2.80.0200.03311.01
5.2.70.0130.04310.92
5.2.60.0070.05311.13
5.2.50.0130.03710.86
5.2.40.0070.04311.03
5.2.30.0100.03711.05
5.2.20.0030.04710.94
5.2.10.0000.05710.75
5.2.00.0030.04710.58
5.1.60.0100.0439.82
5.1.50.0070.0439.91
5.1.40.0170.0379.89
5.1.30.0030.05010.36
5.1.20.0100.03710.29
5.1.10.0030.04310.05
5.1.00.0030.0409.90
5.0.50.0000.0338.62
5.0.40.0100.0208.33
5.0.30.0030.0438.25
5.0.20.0100.0238.10
5.0.10.0100.0338.00
5.0.00.0070.0408.07
4.4.90.0070.0206.92
4.4.80.0030.0306.92
4.4.70.0100.0206.92
4.4.60.0000.0276.92
4.4.50.0070.0206.92
4.4.40.0000.0376.92
4.4.30.0170.0176.92
4.4.20.0130.0136.92
4.4.10.0030.0236.92
4.4.00.0030.0406.92
4.3.110.0030.0306.92
4.3.100.0070.0236.92
4.3.90.0070.0236.92
4.3.80.0000.0436.92
4.3.70.0030.0276.92
4.3.60.0070.0206.92
4.3.50.0030.0236.92
4.3.40.0000.0376.92
4.3.30.0100.0136.92
4.3.20.0000.0236.92
4.3.10.0030.0206.92
4.3.00.0070.0237.33

preferences:
76.61 ms | 403 KiB | 5 Q