3v4l.org

run code in 500+ PHP versions simultaneously
<?php $myarray = [ (object) [ 'id' => 6578765, 'name' => 'John Smith', 'first_name' => 'John', 'last_name' => 'Smith', 'link' => 'http://www.example.com', 'gender' => 'male', 'email' => 'email@example.com', 'timezone' => 8, 'updated_time' => '2010-12-07T21:02:21+0000', ] ]; echo $myarray[0]->['email'];

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.50.0140.00416.82
8.1.70.0140.00317.11
8.1.60.0180.00517.31
8.1.50.0220.00017.40
8.1.40.0180.00317.30
8.1.30.0180.00417.31
8.1.20.0110.00917.40
8.1.10.0070.01317.27
8.1.00.0160.00317.31
8.0.200.0120.00316.71
8.0.190.0140.00016.81
8.0.180.0130.00416.91
8.0.170.0100.00816.77
8.0.160.0120.00616.88
8.0.150.0070.01016.77
8.0.140.0170.00016.77
8.0.130.0080.00816.64
8.0.120.0140.00316.89
8.0.110.0060.01116.79
8.0.100.0140.00316.78
8.0.90.0150.00316.76
8.0.80.0110.00616.85
8.0.70.0160.00316.66
8.0.60.0150.00316.79
8.0.50.0140.00416.73
8.0.30.0150.00516.79
8.0.20.0220.00016.88
8.0.10.0150.00216.92
7.4.300.0130.00416.46
7.4.290.0080.00816.12
7.4.280.0160.00016.41
7.4.270.0030.01016.28
7.4.260.0050.01016.36
7.4.250.0080.00816.40
7.4.240.0040.00816.39
7.4.230.0080.00316.39
7.4.220.0060.00516.38
7.4.210.0040.00416.43
7.4.200.0050.00516.23
7.4.190.0040.00416.48
7.4.180.0060.00316.35
7.4.160.0000.00916.29
7.4.150.0060.00316.37
7.4.140.0070.00316.28
7.4.130.0080.00416.19
7.4.120.0050.00516.07
7.4.110.0140.00016.22
7.4.100.0130.00016.32
7.4.90.0090.00516.17
7.4.80.0040.00416.21
7.4.70.0000.00716.32
7.4.60.0080.00016.23
7.4.50.0040.00416.14
7.4.40.0030.00516.15
7.4.30.0000.00716.31
7.4.20.0000.00716.24
7.4.10.0030.00616.15
7.4.00.0060.00316.27

preferences:
20.89 ms | 728 KiB | 4 Q