3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ 'messages' => [ [ 'lat' => '', 'lon' => '', 'notifyName' => '', 'type' => 'chat', ], [ 'formattedTitle' => 'Вы', 'fromMe' => true, 'notifyName' => NULL, 'quotedMsg' => '', 'type' => 'chat', ], [ '_id' => '60e4230e1703a835a93ed575', 'type' => 'image', 'fromMe' => false, 'caption' => '', 'timestamp' => 1625563914, ], ] ]; foreach ($data['messages'] as $message) { var_dump($message); }

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.5.00.0120.00919.95
8.4.150.0030.00014.05
8.4.140.0090.01217.35
8.4.130.0090.01118.02
8.4.120.0110.01020.38
8.4.110.0160.00422.70
8.4.100.0040.00817.69
8.4.90.0110.01119.45
8.4.80.0130.00617.82
8.4.70.0120.00617.79
8.4.60.0060.00518.61
8.4.50.0050.00422.52
8.4.40.0090.01219.29
8.4.30.0080.01320.40
8.4.20.0140.00718.84
8.4.10.0100.00019.61
8.3.280.0110.00818.41
8.3.270.0090.01016.76
8.3.260.0130.00916.63
8.3.250.0100.00718.97
8.3.240.0040.00616.66
8.3.230.0030.00516.64
8.3.220.0060.00417.28
8.3.210.0150.00416.61
8.3.200.0060.00316.63
8.3.190.0050.00417.10
8.3.180.0110.00618.25
8.3.170.0030.00717.23
8.3.160.0170.00316.50
8.3.150.0100.01018.83
8.3.140.0000.01516.51
8.3.130.0090.00618.44
8.3.120.0030.00718.82
8.3.110.0140.00716.63
8.3.100.0040.01116.52
8.3.90.0030.00526.77
8.3.80.0030.00619.36
8.3.70.0090.00618.31
8.3.60.0150.00316.49
8.3.50.0070.01118.00
8.3.40.0070.00718.65
8.3.30.0070.00718.59
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0060.00326.16
8.2.290.0140.00520.49
8.2.280.0080.01218.68
8.2.270.0060.00918.56
8.2.260.0000.00820.75
8.2.250.0050.00318.35
8.2.240.0060.00316.55
8.2.230.0070.00420.94
8.2.220.0030.00524.06
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0120.00318.16
8.2.180.0110.00425.92
8.2.170.0070.00718.94
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0080.00026.16
8.2.110.0120.00821.17
8.2.100.0060.00617.91
8.2.90.0040.00419.17
8.2.80.0030.00517.97
8.2.70.0030.00617.50
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0080.00018.16
8.2.30.0090.00417.96
8.2.20.0040.00418.00
8.2.10.0040.00421.03
8.2.00.0000.00719.30
8.1.330.0100.00918.11
8.1.320.0080.01118.61
8.1.310.0110.00416.60
8.1.300.0050.00518.00
8.1.290.0060.00330.84
8.1.280.0080.00625.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00322.62
8.1.230.0000.01217.88
8.1.220.0030.00617.80
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0030.00618.66
8.1.160.0030.00518.84
8.1.150.0040.00418.84
8.1.140.0020.00519.05
8.1.130.0000.00721.88
8.1.120.0040.00417.45
8.1.110.0030.00517.38
8.1.100.0040.00417.36
8.1.90.0000.00817.47
8.1.80.0070.00017.46
8.1.70.0000.00817.32
8.1.60.0050.00317.58
8.1.50.0030.00617.53
8.1.40.0000.00817.43
8.1.30.0060.00317.55
8.1.20.0060.00317.61
8.1.10.0090.00017.45
8.1.00.0070.00317.44
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00818.39
8.0.270.0030.00318.01
8.0.260.0030.00318.48
8.0.250.0080.00016.90
8.0.240.0000.00816.85
8.0.230.0040.00416.83
8.0.220.0070.00016.90
8.0.210.0030.00316.88
8.0.200.0000.00816.90
8.0.190.0000.00716.94
8.0.180.0030.00316.90
8.0.170.0100.00016.93
8.0.160.0040.00416.95
8.0.150.0040.00416.82
8.0.140.0080.00316.74
8.0.130.0050.00013.36
8.0.120.0040.00416.89
8.0.110.0030.00716.87
8.0.100.0040.00416.78
8.0.90.0040.00416.85
8.0.80.0200.00316.90
8.0.70.0050.01416.92
8.0.60.0000.01716.77
8.0.50.0190.00616.81
8.0.30.0120.01216.80
8.0.20.0100.01316.91
8.0.10.0090.01017.00
8.0.00.0160.00317.00
7.4.330.0000.00516.73
7.4.320.0030.00316.50
7.4.300.0000.00616.61
7.4.290.0070.00016.45
7.4.280.0060.00316.57
7.4.270.0030.00316.56
7.4.260.0040.00413.39
7.4.250.0040.00416.55
7.4.240.0040.00316.54
7.4.230.0040.00416.48
7.4.220.0000.00716.66
7.4.210.0030.01616.50
7.4.200.0150.00016.56
7.4.190.0130.00716.74
7.4.180.0080.01316.53
7.4.160.0050.01016.64
7.4.150.0030.01316.57
7.4.140.0130.00816.36
7.4.130.0060.00916.29
7.4.120.0090.00616.41
7.4.110.0060.00916.41
7.4.100.0070.01016.46
7.4.90.0040.01816.39
7.4.80.0180.00316.40
7.4.70.0090.01216.45
7.4.60.0140.00616.49
7.4.50.0130.00416.31
7.4.40.0110.00616.26
7.4.30.0120.00916.44
7.4.20.0160.00616.31
7.4.10.0140.00716.30
7.4.00.0110.01116.49
7.3.330.0070.00216.36
7.3.320.0060.00013.11
7.3.310.0000.00716.41
7.3.300.0070.00016.26
7.3.290.0160.00616.23
7.3.280.0110.01116.23
7.3.270.0080.00816.20
7.3.260.0160.00416.31
7.3.250.0170.00516.22
7.3.240.0110.00816.32
7.3.230.0120.00616.25
7.3.220.0110.00816.23
7.3.210.0130.00716.15
7.3.200.0100.01316.13
7.3.190.0050.01716.24
7.3.180.0160.00616.12
7.3.170.0090.01016.18
7.3.160.0160.00716.21
7.3.150.0140.00916.14
7.3.140.0120.00616.11
7.3.130.0060.01616.20
7.3.120.0130.00816.16
7.3.110.0060.01216.09
7.3.100.0100.00616.18
7.3.90.0100.00516.44
7.3.80.0110.01116.16
7.3.70.0100.00816.28
7.3.60.0000.01716.46
7.3.50.0180.00316.43
7.3.40.0150.00316.30
7.3.30.0030.01216.35
7.3.20.0160.00316.41
7.3.10.0070.01416.41
7.3.00.0120.00916.32

preferences:
30.23 ms | 403 KiB | 5 Q