3v4l.org

run code in 300+ PHP versions simultaneously
<?php $z[0] = 'wonderous'; $b = 'a thing of beauty is '.$z[0]; $o = new stdClass; $o->wonderous = $b; echo "{$o->$z[0]}\n"; echo $o->{$z[0]},"\n";

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.00316.63
8.3.50.0140.00716.61
8.3.40.0080.00618.96
8.3.30.0040.01118.97
8.3.20.0050.00320.34
8.3.10.0000.00723.65
8.3.00.0000.01423.64
8.2.180.0070.01116.63
8.2.170.0030.01422.96
8.2.160.0070.00720.39
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0030.00619.52
8.2.120.0000.00726.35
8.2.110.0030.00622.14
8.2.100.0040.00717.93
8.2.90.0080.00018.97
8.2.80.0030.00618.05
8.2.70.0060.00317.50
8.2.60.0000.00818.05
8.2.50.0000.00818.07
8.2.40.0060.00622.17
8.2.30.0030.00619.45
8.2.20.0000.00717.62
8.2.10.0030.00618.22
8.2.00.0000.00818.20
8.1.270.0140.00423.83
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0030.00623.92
8.1.230.0070.00318.92
8.1.220.0000.00917.78
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0090.00317.35
8.1.180.0020.00518.10
8.1.170.0000.00818.51
8.1.160.0040.00420.71
8.1.150.0040.00418.88
8.1.140.0050.00319.50
8.1.130.0030.00317.70
8.1.120.0030.00317.49
8.1.110.0000.00817.49
8.1.100.0030.00517.43
8.1.90.0000.00717.46
8.1.80.0030.00617.36
8.1.70.0030.00317.43
8.1.60.0030.00617.61
8.1.50.0000.00817.53
8.1.40.0040.00417.42
8.1.30.0060.00317.70
8.1.20.0050.00317.56
8.1.10.0000.00817.48
8.1.00.0050.00217.40
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0030.00318.41
8.0.270.0070.00017.25
8.0.260.0060.00017.24
8.0.250.0030.00317.00
8.0.240.0070.00017.00
8.0.230.0000.00817.04
8.0.220.0000.00716.92
8.0.210.0080.00016.96
8.0.200.0040.00417.03
8.0.190.0040.00416.95
8.0.180.0000.00816.99
8.0.170.0030.00616.87
8.0.160.0000.00716.83
8.0.150.0040.00416.85
8.0.140.0110.00016.89
8.0.130.0060.00313.40
8.0.120.0040.00417.01
8.0.110.0080.00016.96
8.0.100.0080.00016.75
8.0.90.0030.00617.07
8.0.80.0130.00316.98
8.0.70.0000.00716.96
8.0.60.0070.00016.93
8.0.50.0000.00716.90
8.0.30.0100.01017.27
8.0.20.0120.00717.40
8.0.10.0050.00316.95
8.0.00.0110.00616.95
7.4.330.0000.00616.80
7.4.320.0070.00016.50
7.4.300.0050.00316.59
7.4.290.0060.00016.46
7.4.280.0070.00416.39
7.4.270.0030.00316.59
7.4.260.0030.00316.56
7.4.250.0000.00716.38
7.4.240.0050.00216.53
7.4.230.0030.00316.33
7.4.220.0160.00616.43
7.4.210.0060.00916.38
7.4.200.0000.00816.61
7.4.160.0070.00716.32
7.4.150.0110.00817.40
7.4.140.0080.01417.86
7.4.130.0160.01016.46
7.4.120.0100.00716.53
7.4.110.0070.01016.36
7.4.100.0130.00316.43
7.4.90.0080.01116.33
7.4.80.0120.00619.39
7.4.70.0170.00016.41
7.4.60.0090.00916.51
7.4.50.0060.01016.45
7.4.40.0120.00416.41
7.4.30.0070.01116.46
7.4.00.0060.00914.79
7.3.330.0000.00513.30
7.3.320.0040.00313.13
7.3.310.0030.00316.32
7.3.300.0060.00016.28
7.3.290.0080.01116.35
7.3.280.0070.00916.40
7.3.270.0030.01417.40
7.3.260.0090.01616.38
7.3.240.0090.00816.36
7.3.230.0190.00416.72
7.3.210.0140.00316.51
7.3.200.0100.00619.39
7.3.190.0080.01216.56
7.3.180.0120.00416.50
7.3.170.0100.00716.55
7.3.160.0060.01116.61
7.2.330.0150.00916.75
7.2.320.0030.01216.66
7.2.310.0040.01216.61
7.2.300.0100.01016.69
7.2.290.0110.00816.56
7.2.60.0040.01116.71
7.2.00.0060.00619.23
7.1.200.0060.00615.88
7.1.100.0000.01518.08
7.1.70.0000.01017.20
7.1.60.0070.01319.30
7.1.50.0100.01016.86
7.1.00.0130.06322.54
7.0.200.0030.00716.95
7.0.60.0270.08020.03
7.0.50.0000.09017.91
7.0.40.0130.07319.91
7.0.30.0300.04320.02
7.0.20.0330.04019.97
7.0.10.0000.04720.00
7.0.00.0000.04320.33
5.6.280.0030.06721.02
5.6.210.0130.08020.61
5.6.200.0030.08318.12
5.6.190.0070.07720.59
5.6.180.0330.04720.57
5.6.170.0330.07320.47
5.6.160.0070.08720.40
5.6.150.0030.08318.14
5.6.140.0100.05718.09
5.6.130.0070.06018.21
5.6.120.0030.04321.02
5.6.110.0070.05021.13
5.6.100.0000.04321.10
5.6.90.0100.04021.07
5.6.80.0070.04020.38
5.5.350.0170.04020.29
5.5.340.0100.07017.98
5.5.330.0030.06720.32
5.5.320.0300.07720.20
5.5.310.0230.03320.31
5.5.300.0070.07718.00
5.5.290.0030.08017.95
5.5.280.0130.07020.87
5.5.270.0030.09020.79
5.5.260.0000.05020.86
5.5.250.0130.07320.48
5.5.240.0130.07320.31

preferences:
55.17 ms | 400 KiB | 5 Q