3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'pageData' => array( 'title' => 'Links • Intranet', ), 'linkCategories' => array( 'Unsorted' => array( array( 'linkTitle' => 'a link title', 0 => 'a link title', 'linkDescription' => 'This is an example of a link you can store. This is the external website', 1 => 'This is an example of a link you can store. This is the external website', 'linkUrl' => 'https://www.asbcdef.co.uk/', 2 => 'https://www.abcdef.co.uk/', ), array( 'linkTitle' => 'People', 0 => 'People', 'linkDescription' => 'This is another link', 1 => 'This is another link', 'linkUrl' => 'https://www.efgjk.co.uk/people/', 2 => 'https://www.efgjk.co.uk/people/', ), ), 'Cat 2' => array( array( 'linkTitle' => 'People', 0 => 'People', 'linkDescription' => 'This is another link', 1 => 'This is another link', 'linkUrl' => 'https://www.efgjk.co.uk/people/', 2 => 'https://www.efgjk.co.uk/people/', ), ) ), ); ?> <div class="row"> <?php foreach ($data['linkCategories'] as $category => $links) { ?> <div class="col-6"> <div class="h6"><?php echo $category; ?></div> <?php foreach ($links as $link) { ?> <div class="row"> <div class="col"> <p> <a target="_blank" class="text-danger" href="<?php echo $link['linkUrl'] ?>"><?php echo $link['linkTitle']; ?></a> </p> <p><?php echo $link['linkDescription']; ?></p> </div> </div> <?php } ?> </div> <?php } ?> </div>

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.70.0140.00716.58
8.3.60.0140.00718.43
8.3.50.0110.00316.29
8.3.40.0120.00318.85
8.3.30.0110.00418.73
8.3.20.0040.00420.63
8.3.10.0070.00021.76
8.3.00.0080.00018.76
8.2.190.0060.00916.58
8.2.180.0070.00716.75
8.2.170.0040.01119.09
8.2.160.0140.00022.96
8.2.150.0060.00624.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0050.00226.16
8.2.110.0040.00422.25
8.2.100.0000.01219.64
8.2.90.0000.00719.32
8.2.80.0040.00418.74
8.2.70.0040.00417.63
8.2.60.0060.00318.05
8.2.50.0000.00818.07
8.2.40.0000.00818.16
8.2.30.0000.00818.05
8.2.20.0070.00018.03
8.2.10.0050.00319.21
8.2.00.0000.00719.21
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0060.00320.35
8.1.230.0070.00417.83
8.1.220.0030.00617.79
8.1.210.0000.00918.77
8.1.200.0060.00317.47
8.1.190.0040.00417.23
8.1.180.0080.00019.41
8.1.170.0080.00018.42
8.1.160.0000.00718.84
8.1.150.0040.00418.93
8.1.140.0050.00518.82
8.1.130.0040.00419.15
8.1.120.0070.00017.36
8.1.110.0050.00317.41
8.1.100.0000.00817.48
8.1.90.0030.00517.48
8.1.80.0000.01017.47
8.1.70.0000.00717.33
8.1.60.0080.00017.60
8.1.50.0000.00817.39
8.1.40.0090.00017.50
8.1.30.0060.00317.62
8.1.20.0060.00317.48
8.1.10.0040.00417.64
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0040.00418.36
8.0.270.0070.00017.88
8.0.260.0030.00316.81
8.0.250.0030.00316.94
8.0.240.0030.00316.91
8.0.230.0070.00016.95
8.0.220.0070.00016.87
8.0.210.0070.00016.86
8.0.200.0070.00016.98
8.0.190.0030.00417.03
8.0.180.0000.00816.87
8.0.170.0030.00616.82
8.0.160.0080.00416.86
8.0.150.0070.00016.79
8.0.140.0030.00316.76
8.0.130.0000.00613.36
8.0.120.0040.00416.78
8.0.110.0070.00016.88
8.0.100.0000.00716.88
8.0.90.0060.00316.75
8.0.80.0110.00516.84
8.0.70.0050.00216.79
8.0.60.0000.00716.94
8.0.50.0040.00416.90
8.0.30.0140.00316.99
8.0.20.0100.00917.22
8.0.10.0000.00716.96
8.0.00.0110.01316.64
7.4.330.0030.00316.72
7.4.320.0000.00616.37
7.4.300.0060.00016.44
7.4.290.0000.00716.40
7.4.280.0000.00716.53
7.4.270.0030.00516.55
7.4.260.0000.00513.26
7.4.250.0040.00416.46
7.4.240.0030.00316.49
7.4.230.0030.00316.59
7.4.220.0040.00416.55
7.4.210.0110.00616.54
7.4.200.0030.00316.34
7.4.130.0110.00716.45
7.4.120.0100.00716.37
7.4.110.0140.00416.62
7.4.100.0030.01516.55
7.4.90.0030.01616.61
7.4.80.0070.01119.39
7.4.70.0190.00316.58
7.4.60.0060.01016.40
7.4.50.0070.00516.49
7.4.40.0040.01316.61
7.4.20.0150.00216.19
7.4.10.0080.00816.16
7.4.00.0130.00316.21
7.3.330.0070.00016.14
7.3.320.0060.00013.09
7.3.310.0000.00816.30
7.3.300.0000.00716.19
7.3.290.0100.00716.30
7.3.260.0130.00416.46
7.3.240.0120.00916.39
7.3.230.0120.00416.58
7.3.210.0090.00916.27
7.3.200.0120.00616.31
7.3.190.0110.00716.36
7.3.180.0030.01416.41
7.3.170.0030.01316.63
7.3.160.0110.00516.24
7.3.140.0050.01116.23
7.3.130.0070.01416.49
7.3.120.0040.01116.22
7.3.110.0060.00916.16
7.3.100.0040.01616.33
7.3.90.0100.01316.22
7.3.80.0040.01016.36
7.3.70.0100.00416.32
7.3.60.0070.00716.21
7.3.50.0060.00916.15
7.3.40.0070.00716.27
7.3.30.0120.00316.28
7.3.20.0030.01316.30
7.3.10.0120.00916.38
7.3.00.0040.01116.24
7.2.330.0120.01216.55
7.2.320.0120.01216.52
7.2.310.0100.00716.79
7.2.300.0120.00916.56
7.2.290.0060.01216.56
7.2.270.0100.00716.57
7.2.260.0060.01016.66
7.2.250.0060.00916.40
7.2.240.0030.01216.43
7.2.230.0120.00916.27
7.2.220.0130.00316.34
7.2.210.0090.00616.48
7.2.200.0000.01416.27
7.2.190.0110.00416.59
7.2.180.0040.01116.37
7.2.170.0120.00316.34
7.2.160.0120.01216.56
7.2.150.0120.00516.51
7.2.140.0030.01216.29
7.2.130.0090.00616.48
7.2.120.0060.01116.49
7.2.110.0080.00816.48
7.2.100.0030.01216.35
7.2.90.0360.00316.56
7.2.80.0070.01016.49
7.2.70.0030.01416.52
7.2.60.0070.01016.52
7.2.50.0080.00816.45
7.2.40.0100.00616.45
7.2.30.0030.01816.75
7.2.20.0120.00916.22
7.2.10.0090.01216.27
7.2.00.0090.00616.37

preferences:
60.77 ms | 401 KiB | 5 Q