3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new stdClass(); $barProp = 0; $foo->{$barProp} = 10; var_dump($foo);

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.0120.00318.18
8.3.50.0120.00922.05
8.3.40.0040.01118.65
8.3.30.0120.00618.38
8.3.20.0040.00418.78
8.3.10.0080.00021.05
8.3.00.0040.00419.56
8.2.180.0150.00016.63
8.2.170.0070.00722.96
8.2.160.0140.00020.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0070.00317.61
8.2.110.0070.00320.52
8.2.100.0080.00317.72
8.2.90.0000.00719.04
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0000.00818.04
8.2.50.0030.00718.07
8.2.40.0000.00818.16
8.2.30.0070.00021.20
8.2.20.0040.00417.59
8.2.10.0040.00417.82
8.2.00.0030.00717.62
8.1.280.0140.00325.92
8.1.270.0030.00622.13
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00320.70
8.1.230.0070.00420.80
8.1.220.0080.00018.77
8.1.210.0030.00518.83
8.1.200.0070.00317.25
8.1.190.0000.00717.54
8.1.180.0040.00418.10
8.1.170.0060.00318.64
8.1.160.0020.00518.76
8.1.150.0000.00718.63
8.1.140.0070.00017.45
8.1.130.0040.00417.73
8.1.120.0030.00317.50
8.1.110.0000.00817.32
8.1.100.0000.00717.34
8.1.90.0000.00717.47
8.1.80.0040.00417.34
8.1.70.0000.00617.45
8.1.60.0030.00617.46
8.1.50.0030.00617.54
8.1.40.0050.00517.48
8.1.30.0080.00017.59
8.1.20.0050.00317.63
8.1.10.0030.00617.53
8.1.00.0040.00417.32
8.0.300.0000.00820.09
8.0.290.0090.00017.04
8.0.280.0070.00018.44
8.0.270.0030.00317.13
8.0.260.0030.00316.88
8.0.250.0050.00316.92
8.0.240.0000.00916.84
8.0.230.0000.00716.80
8.0.220.0000.00716.77
8.0.210.0000.00816.86
8.0.200.0100.00016.89
8.0.190.0040.00416.94
8.0.180.0040.00416.84
8.0.170.0040.00416.90
8.0.160.0030.00316.79
8.0.150.0000.00816.85
8.0.140.0000.00816.84
8.0.130.0000.00513.27
8.0.120.0040.00416.72
8.0.110.0060.00316.83
8.0.100.0070.00016.79
8.0.90.0000.00716.84
8.0.80.0090.00616.93
8.0.70.0000.00816.83
8.0.60.0040.00416.85
8.0.50.0050.00216.84
8.0.30.0100.00816.99
8.0.20.0060.01217.40
8.0.10.0030.00417.04
8.0.00.0130.00716.76
7.4.330.0000.00616.83
7.4.320.0030.00316.54
7.4.300.0060.00016.38
7.4.290.0070.00016.53
7.4.280.0000.00716.55
7.4.270.0070.00016.52
7.4.260.0030.00313.24
7.4.250.0050.00316.39
7.4.240.0000.00716.56
7.4.230.0000.00716.29
7.4.220.0100.00716.38
7.4.210.0070.00716.56
7.4.200.0030.00316.32
7.4.190.0070.00016.34
7.4.160.0070.01316.53
7.4.150.0150.00917.40
7.4.140.0070.01017.86
7.4.130.0100.01116.44
7.4.120.0120.00516.56
7.4.110.0020.02216.64
7.4.100.0120.00916.50
7.4.90.0150.00316.55
7.4.80.0120.00919.39
7.4.70.0070.01316.53
7.4.60.0030.01316.36
7.4.50.0000.00816.15
7.4.40.0040.01122.77
7.4.30.0130.00316.60
7.4.00.0030.01314.88
7.3.330.0000.00513.13
7.3.320.0000.00612.89
7.3.310.0000.00616.13
7.3.300.0070.00016.19
7.3.290.0090.00616.16
7.3.280.0070.00916.21
7.3.270.0060.01017.40
7.3.260.0140.01218.24
7.3.250.0080.01216.25
7.3.240.0140.00316.39
7.3.230.0140.00816.39
7.3.210.0090.00916.55
7.3.200.0140.00419.39
7.3.190.0080.01516.35
7.3.180.0150.00316.44
7.3.170.0090.00616.38
7.3.160.0000.01616.45
7.3.120.0070.00714.98
7.2.330.0060.01116.52
7.2.320.0150.00716.59
7.2.310.0110.00816.63
7.2.300.0070.01016.73
7.2.290.0080.00816.43
7.1.100.0050.00517.74
7.1.70.0030.00717.15
7.1.60.0000.01017.26
7.1.50.0090.00616.84
7.1.00.0100.02722.36
7.0.200.0060.00916.80
7.0.140.0070.07022.07
7.0.100.0030.05019.97
7.0.90.0330.04319.91
7.0.80.0100.05319.90
7.0.70.0170.08319.83
7.0.60.0100.09019.87
7.0.50.0100.07320.21
7.0.40.0100.07320.04
7.0.30.0100.07720.06
7.0.20.0100.08320.02
7.0.10.0030.04720.00
7.0.00.0070.08719.89
5.6.280.0000.07721.11
5.6.250.0030.07320.52
5.6.240.0200.07320.63
5.6.230.0100.06720.58
5.6.220.0130.08320.51
5.6.210.0070.04020.51
5.6.200.0100.07021.06
5.6.190.0130.07021.02
5.6.180.0070.08321.08
5.6.170.0000.09021.03
5.6.160.0030.07721.08
5.6.150.0030.08320.96
5.6.140.0070.09021.08
5.6.130.0100.08020.83
5.6.120.0170.05020.89
5.6.110.0130.08320.85
5.6.100.0070.04020.94
5.6.90.0030.05720.98
5.6.80.0000.04020.34
5.6.70.0070.04020.26
5.6.60.0070.03720.25
5.6.50.0000.07720.34
5.6.40.0070.03720.35
5.6.30.0030.07020.32
5.6.20.0130.05720.23
5.6.10.0000.04020.33
5.6.00.0070.09320.42
5.5.380.0070.07020.49
5.5.370.0100.08320.30
5.5.360.0100.04020.29
5.5.350.0130.05020.40
5.5.340.0070.08020.78
5.5.330.0070.08020.70
5.5.320.0070.06720.82
5.5.310.0100.06720.68
5.5.300.0070.08320.67
5.5.290.0070.06720.73
5.5.280.0100.06320.74
5.5.270.0130.05020.64
5.5.260.0070.04020.76
5.5.250.0070.04020.67
5.5.240.0030.04020.15
5.5.230.0030.04020.23
5.5.220.0000.04320.22
5.5.210.0070.03720.15
5.5.200.0030.04019.94
5.5.190.0100.07320.20
5.5.180.0030.07020.13
5.5.160.0000.04320.23
5.5.150.0100.02720.12
5.5.140.0030.03320.11
5.5.130.0030.03320.20
5.5.120.0070.04020.20
5.5.110.0130.04320.19
5.5.100.0030.04320.04
5.5.90.0000.04719.95
5.5.80.0130.03020.05
5.5.70.0070.03720.02
5.5.60.0030.04020.00
5.5.50.0070.03720.01
5.5.40.0030.04019.96
5.5.30.0030.04020.07
5.5.20.0030.03719.92
5.5.10.0070.04019.89
5.5.00.0030.04719.96
5.4.450.0070.07019.42
5.4.440.0170.06719.55
5.4.430.0030.04719.22
5.4.420.0100.04019.39
5.4.410.0070.03718.98
5.4.400.0030.03318.95
5.4.390.0100.04319.11
5.4.380.0030.03719.17
5.4.370.0070.03319.04
5.4.360.0070.06718.95
5.4.350.0100.02718.98
5.4.340.0000.05719.14
5.4.320.0070.03718.79
5.4.310.0000.04019.09
5.4.300.0070.06319.14
5.4.290.0030.04319.04
5.4.280.0030.06319.04
5.4.270.0070.03719.12
5.4.260.0100.04719.07
5.4.250.0000.04319.06
5.4.240.0000.04319.04
5.4.230.0070.04019.19
5.4.220.0030.04018.80
5.4.210.0070.03319.07
5.4.200.0000.03719.11
5.4.190.0030.03719.11
5.4.180.0130.05719.06
5.4.170.0170.02318.80
5.4.160.0000.05018.99
5.4.150.0030.04019.01
5.4.140.0100.03716.29
5.4.130.0070.03016.04
5.4.120.0070.03016.19
5.4.110.0100.06316.26
5.4.100.0130.07016.20
5.4.90.0100.07016.43
5.4.80.0070.06716.36
5.4.70.0130.06716.26
5.4.60.0070.07016.42
5.4.50.0070.07716.41
5.4.40.0100.07016.24
5.4.30.0030.07316.32
5.4.20.0000.04716.27
5.4.10.0100.04716.38
5.4.00.0030.08015.48
5.3.290.0030.03714.52
5.3.280.0030.03714.42
5.3.270.0030.04314.54
5.3.260.0070.03314.43
5.3.250.0070.03014.42
5.3.240.0070.03314.44
5.3.230.0030.03714.43
5.3.220.0030.03314.55
5.3.210.0070.07314.47
5.3.200.0030.07314.52
5.3.190.0000.08314.55
5.3.180.0100.05314.53
5.3.170.0130.07314.54
5.3.160.0070.07714.39
5.3.150.0070.07014.38
5.3.140.0130.07314.55
5.3.130.0070.08014.54
5.3.120.0130.06714.50
5.3.110.0030.05314.40
5.3.100.0130.07013.89
5.3.90.0000.08314.00
5.3.80.0130.07313.96
5.3.70.0130.06713.98
5.3.60.0030.07314.00
5.3.50.0070.07713.93
5.3.40.0070.07013.88
5.3.30.0070.07013.81
5.3.20.0070.05013.62
5.3.10.0030.07013.52
5.3.00.0070.07313.49
5.2.170.0070.05011.14
5.2.160.0100.05711.09
5.2.150.0030.04311.13
5.2.140.0030.03711.08
5.2.130.0070.06011.09
5.2.120.0000.05011.16
5.2.110.0000.06311.01
5.2.100.0030.06710.89
5.2.90.0030.06311.14
5.2.80.0070.05711.08
5.2.70.0100.05711.08
5.2.60.0130.05711.05
5.2.50.0100.05710.96
5.2.40.0000.07010.98
5.2.30.0130.05310.84
5.2.20.0100.05710.88
5.2.10.0030.04710.77
5.2.00.0030.05010.85
5.1.60.0100.0439.99
5.1.50.0000.05310.06
5.1.40.0030.05010.04
5.1.30.0070.04310.32
5.1.20.0130.05010.39
5.1.10.0070.0539.90
5.1.00.0100.02010.09
5.0.50.0030.0478.54
5.0.40.0100.0378.28
5.0.30.0030.0538.20
5.0.20.0000.0478.18
5.0.10.0000.0278.27
5.0.00.0030.0638.13
4.4.90.0000.0407.55
4.4.80.0030.0177.55
4.4.70.0000.0377.55
4.4.60.0030.0337.55
4.4.50.0030.0337.55
4.4.40.0000.0537.55
4.4.30.0000.0337.55
4.4.20.0070.0137.55
4.4.10.0030.0337.55
4.4.00.0000.0407.55
4.3.110.0030.0177.55
4.3.100.0030.0337.55
4.3.90.0030.0177.55
4.3.80.0070.0237.55
4.3.70.0000.0277.55
4.3.60.0000.0377.55
4.3.50.0000.0377.55
4.3.40.0000.0307.55
4.3.30.0030.0337.55
4.3.20.0070.0307.55
4.3.10.0070.0237.55
4.3.00.0030.0407.55

preferences:
46.04 ms | 401 KiB | 5 Q