3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = new stdClass; $o->aaa = 1; $a = [$o]; var_dump((array)$a[0]);

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.0000.01418.30
8.3.50.0100.01020.18
8.3.40.0100.01020.32
8.3.30.0090.00618.89
8.3.20.0000.00824.18
8.3.10.0080.00024.66
8.3.00.0030.00526.16
8.2.180.0000.01725.92
8.2.170.0200.00018.83
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0050.00226.16
8.2.110.0000.00920.98
8.2.100.0090.00319.47
8.2.90.0050.00717.72
8.2.80.0000.00918.05
8.2.70.0030.00717.75
8.2.60.0080.00017.63
8.2.50.0030.00517.98
8.2.40.0000.00718.22
8.2.30.0030.00618.14
8.2.20.0040.00419.35
8.2.10.0020.00518.05
8.2.00.0000.00719.29
8.1.280.0110.00425.92
8.1.270.0050.00324.66
8.1.260.0120.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0060.00622.55
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0080.00017.35
8.1.190.0000.00817.48
8.1.180.0060.00518.10
8.1.170.0040.00417.62
8.1.160.0030.00618.82
8.1.150.0040.00418.69
8.1.140.0050.00217.36
8.1.130.0030.00318.92
8.1.120.0000.00717.45
8.1.110.0110.00017.48
8.1.100.0040.00417.40
8.1.90.0030.00617.28
8.1.80.0050.00317.44
8.1.70.0060.00817.42
8.1.60.0000.01017.44
8.1.50.0110.00017.39
8.1.40.0040.00817.09
8.1.30.0100.00517.00
8.1.20.0040.01217.38
8.1.10.0160.00216.81
8.1.00.0120.00217.09
8.0.300.0050.00219.44
8.0.290.0040.00416.75
8.0.280.0030.00318.43
8.0.270.0000.00717.26
8.0.260.0070.00018.48
8.0.250.0030.00316.92
8.0.240.0060.00316.84
8.0.230.0140.00016.56
8.0.220.0060.00616.54
8.0.210.0090.00316.41
8.0.200.0140.00016.41
8.0.190.0120.00316.00
8.0.180.0030.01316.61
8.0.170.0140.00016.64
8.0.160.0170.00016.43
8.0.150.0100.00316.48
8.0.140.0040.00816.52
8.0.130.0100.00316.36
8.0.120.0080.00616.21
8.0.110.0070.00416.66
8.0.100.0090.00416.52
8.0.90.0130.00016.70
8.0.80.0080.00516.64
8.0.70.0070.00716.41
8.0.60.0120.00316.47
8.0.50.0100.00516.58
8.0.30.0130.00316.34
8.0.20.0090.00616.53
8.0.10.0120.00416.23
7.4.330.0040.00015.55
7.4.320.0120.00416.11
7.4.300.0130.00016.18
7.4.290.0200.00016.23
7.4.280.0140.00816.25
7.4.270.0090.00416.04
7.4.260.0110.00316.13
7.4.250.0120.00616.30
7.4.240.0070.00916.33
7.4.230.0150.00016.26
7.4.220.0090.00416.46
7.4.210.0100.00316.28
7.4.200.0120.00015.91
7.4.190.0060.00516.53
7.4.180.0100.00315.81
7.4.160.0070.00516.00
7.4.150.0080.00316.25
7.4.140.0090.00315.97
7.4.130.0090.00516.03
7.4.120.0100.00515.71
7.4.110.0050.00815.98
7.4.100.0140.00016.45
7.4.90.0090.00416.38
7.4.80.0080.00416.14
7.4.70.0070.00716.05
7.4.60.0130.00016.05
7.4.50.0110.00316.04
7.4.40.0100.00416.07
7.4.30.0000.01316.05
7.4.20.0090.00516.13
7.4.10.0070.00716.43
7.4.00.0090.00316.32

preferences:
50.98 ms | 400 KiB | 5 Q