3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $x; } $a = new Foo(); $b = new Foo(); $a->x = new Foo(); $a->x->x = 3; $b->x = new Foo(); $b->x->x = 2; print_r($a == $b); ?>

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.60.0130.00718.24
8.3.50.0120.00321.99
8.3.40.0110.00718.67
8.3.30.0040.01118.54
8.3.20.0110.00418.65
8.3.10.0040.00421.00
8.3.00.0030.00521.79
8.2.180.0070.00716.32
8.2.170.0070.00722.96
8.2.160.0100.00320.28
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00819.36
8.2.110.0050.00522.20
8.2.100.0060.00617.84
8.2.90.0090.00019.21
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0030.00618.32
8.2.30.0030.00519.83
8.2.20.0050.00217.64
8.2.10.0040.00417.60
8.2.00.0040.00417.67
8.1.280.0030.01425.92
8.1.270.0040.00423.99
8.1.260.0030.00626.35
8.1.250.0070.01028.09
8.1.240.0050.00522.50
8.1.230.0070.00420.91
8.1.220.0060.00318.77
8.1.210.0040.00418.89
8.1.200.0000.00917.25
8.1.190.0040.00417.54
8.1.180.0060.00318.10
8.1.170.0030.00518.51
8.1.160.0000.00718.91
8.1.150.0040.00418.61
8.1.140.0040.00417.32
8.1.130.0030.00317.86
8.1.120.0030.00317.50
8.1.110.0000.00717.44
8.1.100.0040.00417.50
8.1.90.0070.00017.35
8.1.80.0050.00217.48
8.1.70.0000.00717.48
8.1.60.0040.00417.46
8.1.50.0040.00417.36
8.1.40.0040.00417.45
8.1.30.0080.00017.53
8.1.20.0040.00417.62
8.1.10.0040.00417.52
8.1.00.0040.00417.42
8.0.300.0000.00819.98
8.0.290.0000.00716.75
8.0.280.0030.00318.34
8.0.270.0070.00017.32
8.0.260.0000.00716.72
8.0.250.0000.00916.83
8.0.240.0030.00616.88
8.0.230.0030.00316.98
8.0.220.0030.00316.93
8.0.210.0040.00416.76
8.0.200.0030.00316.96
8.0.190.0030.00516.96
8.0.180.0030.00316.86
8.0.170.0050.00316.86
8.0.160.0080.00016.99
8.0.150.0080.00016.68
8.0.140.0000.00816.86
8.0.130.0000.00513.30
8.0.120.0070.00016.86
8.0.110.0000.00716.76
8.0.100.0000.00716.68
8.0.90.0070.00016.80
8.0.80.0090.00616.83
8.0.70.0000.00716.86
8.0.60.0000.00716.80
8.0.50.0000.00716.91
8.0.30.0110.01016.86
8.0.20.0070.01417.40
8.0.10.0030.00516.85
8.0.00.0120.00916.59
7.4.330.0020.00213.43
7.4.320.0030.00316.36
7.4.300.0000.00716.56
7.4.290.0030.00316.48
7.4.280.0050.00316.61
7.4.270.0070.00016.50
7.4.260.0030.00313.30
7.4.250.0000.00816.45
7.4.240.0020.00516.57
7.4.230.0000.00716.38
7.4.220.0130.01016.54
7.4.210.0100.00716.61
7.4.200.0040.00416.34
7.4.190.0050.00316.54
7.4.160.0130.00316.44
7.4.150.0070.01017.40
7.4.140.0070.01017.86
7.4.130.0090.00716.50
7.4.120.0140.00416.51
7.4.110.0130.00316.47
7.4.100.0110.00716.62
7.4.90.0060.01216.38
7.4.80.0080.00819.37
7.4.70.0060.01916.56
7.4.60.0030.01816.31
7.4.50.0080.00016.39
7.4.40.0030.01022.27
7.4.30.0060.01216.45
7.4.00.0090.00614.64
7.3.330.0030.00313.16
7.3.320.0000.00513.36
7.3.310.0000.00716.32
7.3.300.0050.00316.06
7.3.290.0060.01016.23
7.3.280.0060.00816.26
7.3.270.0140.00317.40
7.3.260.0090.01418.24
7.3.250.0090.00916.34
7.3.240.0100.00716.43
7.3.230.0100.00716.45
7.3.210.0100.00616.53
7.3.200.0110.00419.39
7.3.190.0120.00616.54
7.3.180.0100.00716.20
7.3.170.0130.00316.29
7.3.160.0090.00616.47
7.3.120.0040.01114.90
7.3.10.0120.00316.75
7.3.00.0070.00716.29
7.2.330.0100.00716.58
7.2.320.0130.00716.52
7.2.310.0070.01116.69
7.2.300.0110.01116.75
7.2.290.0110.00516.46
7.2.130.0070.00316.65
7.2.120.0040.01517.01
7.2.110.0060.00316.80
7.2.100.0090.00316.96
7.2.90.0070.01017.03
7.2.80.0070.01116.91
7.2.70.0080.00316.99
7.2.60.0070.00716.82
7.2.50.0030.01316.92
7.2.40.0040.00716.91
7.2.30.0150.00016.90
7.2.20.0030.01416.76
7.2.10.0000.01017.04
7.2.00.0000.01616.63
7.1.250.0000.00815.57
7.1.70.0000.00717.11
7.1.60.0090.01519.40
7.1.50.0050.00516.83
7.1.00.0070.07322.33
7.0.200.0060.00316.71
7.0.140.0100.07021.95
7.0.70.4100.04019.95
7.0.60.4170.03719.98
7.0.50.4270.04020.36
7.0.40.3230.04720.08
7.0.30.3030.03720.07
7.0.20.1400.05019.94
7.0.10.0070.08020.22
7.0.00.3670.04020.14
5.6.280.0030.07321.02
5.6.210.3430.03720.56
5.6.200.3570.04321.03
5.6.190.3070.03720.95
5.6.180.3470.04021.08
5.6.170.3600.04321.17
5.6.160.3670.04020.95
5.6.150.3570.04021.17
5.6.140.3470.04021.00
5.6.130.3530.05021.03
5.6.120.3630.04321.03
5.6.110.3230.04021.04
5.6.100.0100.08320.95
5.6.90.3530.04321.00
5.6.80.3200.04320.32
5.6.70.3500.03020.41
5.6.60.3670.03320.30
5.6.50.3630.03320.55
5.6.40.3470.03720.41
5.6.30.3600.03720.47
5.6.20.3600.04020.38
5.6.10.3570.03720.29
5.6.00.3530.04320.34
5.5.350.3400.03720.35
5.5.340.3600.03720.79
5.5.330.3500.03720.91
5.5.320.3770.04020.84
5.5.310.3070.04020.82
5.5.300.3530.04020.86
5.5.290.3370.04020.88
5.5.280.3600.04320.75
5.5.270.1970.04720.75
5.5.260.0930.07320.91
5.5.250.3470.03320.57
5.5.240.3330.03320.21
5.5.230.3630.04320.29
5.5.220.3630.03320.29
5.5.210.3630.04020.23
5.5.200.3700.03720.12
5.5.190.3300.03720.25
5.5.180.3530.04320.23
5.5.160.3770.03320.18
5.5.150.3700.04020.16
5.5.140.3500.04320.18
5.5.130.3670.04019.98
5.5.120.3700.04020.12
5.5.110.3600.03720.11
5.5.100.3630.03720.09
5.5.90.3630.03720.07
5.5.80.3530.03720.04
5.5.70.2700.03319.96
5.5.60.3170.03320.05
5.5.50.2500.03020.14
5.5.40.2730.03320.10
5.5.30.2570.03720.08
5.5.20.2400.03020.06
5.5.10.2530.03720.04
5.5.00.3070.03720.11
5.4.450.3670.03319.55
5.4.440.3170.04719.27
5.4.430.0030.05719.37
5.4.420.0000.08319.50
5.4.410.3230.04319.10
5.4.400.3500.03719.05
5.4.390.3630.04019.16
5.4.380.3370.04018.88
5.4.370.3670.04019.03
5.4.360.2900.03718.90
5.4.350.3000.03718.89
5.4.340.3670.03319.23
5.4.320.3670.03319.05
5.4.310.3700.03719.21
5.4.300.3500.04319.03
5.4.290.3600.03719.04
5.4.280.3470.03718.87
5.4.270.3730.03719.09
5.4.260.3600.03719.13
5.4.250.3770.03019.17
5.4.240.3570.04019.12
5.4.230.3100.03319.12
5.4.220.2630.03019.12
5.4.210.2970.04318.90
5.4.200.2830.02319.11
5.4.190.2470.02719.08
5.4.180.2230.02319.11
5.4.170.2170.03319.12
5.4.160.3230.04019.14
5.4.150.3700.04319.07
5.4.140.3570.04016.38
5.4.130.3630.03016.44
5.4.120.2970.03316.36
5.4.110.3430.03016.48
5.4.100.2770.03316.51
5.4.90.3470.03316.34
5.4.80.3630.04016.41
5.4.70.3430.04016.45
5.4.60.3130.03716.48
5.4.50.3670.03316.24
5.4.40.3500.04016.30
5.4.30.3600.03316.30
5.4.20.3700.03716.33
5.4.10.3570.03316.25
5.4.00.3670.03715.73
5.3.290.3500.04314.64
5.3.280.3230.03314.72
5.3.270.2930.04314.63
5.3.260.2570.03014.66
5.3.250.3630.04014.66
5.3.240.3600.03014.59
5.3.230.2970.03714.71
5.3.220.3200.03314.48
5.3.210.3430.04014.53
5.3.200.3370.04714.62
5.3.190.3630.04014.68
5.3.180.2970.04314.53
5.3.170.3600.04014.59
5.3.160.3730.04014.68
5.3.150.3200.03014.49
5.3.140.3530.03714.61
5.3.130.3630.03314.66
5.3.120.3630.03314.47
5.3.110.3630.04314.68
5.3.100.3430.04014.09
5.3.90.3300.03714.02
5.3.80.3330.03713.98
5.3.70.3570.04013.94
5.3.60.3730.03713.92
5.3.50.3500.03714.00
5.3.40.3730.04314.04
5.3.30.3530.04313.96
5.3.20.3400.03313.62
5.3.10.3630.03713.70
5.3.00.3530.04013.68
5.2.170.3000.03311.20
5.2.160.2770.02711.23
5.2.150.3000.03711.19
5.2.140.2870.03311.16
5.2.130.3000.03011.16
5.2.120.2370.02711.15
5.2.110.2600.03311.16
5.2.100.3030.02311.11
5.2.90.2530.03011.15
5.2.80.2930.03011.07
5.2.70.2630.02311.09
5.2.60.2900.03011.05
5.2.50.2270.02710.91
5.2.40.2200.03011.04
5.2.30.2070.03010.95
5.2.20.2100.03310.89
5.2.10.2270.03010.86
5.2.00.2430.03010.71
5.1.60.2200.0279.98
5.1.50.2000.0309.98
5.1.40.1970.03010.09
5.1.30.2300.02310.36
5.1.20.2070.02710.32
5.1.10.2130.02710.18
5.1.00.2400.03010.19
5.0.50.0930.0308.57
5.0.40.0970.0278.24
5.0.30.0930.0478.32
5.0.20.0900.0238.27
5.0.10.1000.0238.11
5.0.00.0930.0478.25
4.4.90.0900.0275.81
4.4.80.0970.0175.88
4.4.70.0970.0235.87
4.4.60.1000.0205.79
4.4.50.1070.0175.92
4.4.40.0830.0335.91
4.4.30.0870.0235.80
4.4.20.0970.0205.96
4.4.10.0970.0235.96
4.4.00.1030.0335.93
4.3.110.0930.0235.73
4.3.100.0900.0275.84
4.3.90.0870.0235.73
4.3.80.0870.0275.75
4.3.70.0830.0235.73
4.3.60.1000.0235.73
4.3.50.1000.0235.78
4.3.40.1030.0335.73
4.3.30.0030.0275.73
4.3.20.0000.0375.73
4.3.10.0000.0375.73
4.3.00.0000.0305.73

preferences:
41 ms | 401 KiB | 5 Q