3v4l.org

run code in 300+ PHP versions simultaneously
<?php $links = array ( 0 => array ( 'rel' => 'advertisements', 'href' => 'https://api.teamsnap.com/v3/advertisements' ), 1 => array ( 'rel' => 'active_season_team', 'href' => 'https://api.teamsnap.com/v3/teams' ), 2 => array ( 'rel' => 'assignments', 'href' => 'https://api.teamsnap.com/v3/assignments' ), 3 => array ( 'rel' => 'availabilities', 'href' => 'https://api.teamsnap.com/v3/availabilities' ) ); if(($key = array_search('advertisements', array_column($links, 'rel'))) !== false) { echo $links[$key]['href']; }

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.0100.01018.43
8.3.50.0070.00716.23
8.3.40.0110.01118.85
8.3.30.0110.00418.67
8.3.20.0050.00320.89
8.3.10.0050.00320.34
8.3.00.0000.00820.68
8.2.180.0100.00618.01
8.2.170.0140.00022.96
8.2.160.0130.00322.12
8.2.150.0050.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0040.00721.12
8.2.100.0070.00419.39
8.2.90.0030.00717.97
8.2.80.0070.00020.55
8.2.70.0050.00317.61
8.2.60.0040.00417.80
8.2.50.0050.00318.04
8.2.40.0030.00519.95
8.2.30.0080.00017.73
8.2.20.0000.00718.22
8.2.10.0040.00419.31
8.2.00.0000.00719.30
8.1.280.0150.00625.92
8.1.270.0080.00020.69
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.18
8.1.230.0000.01120.90
8.1.220.0000.01017.74
8.1.210.0040.00418.98
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0000.00818.77
8.1.170.0090.00017.62
8.1.160.0070.00018.94
8.1.150.0000.00718.79
8.1.140.0000.00822.07
8.1.130.0030.00520.04
8.1.120.0000.00717.37
8.1.110.0040.00417.31
8.1.100.0040.00717.40
8.1.90.0000.00717.43
8.1.80.0030.00517.43
8.1.70.0040.00517.39
8.1.60.0000.00817.47
8.1.50.0040.00417.40
8.1.40.0030.00617.39
8.1.30.0000.00817.59
8.1.20.0000.00717.60
8.1.10.0040.00417.56
8.1.00.0040.00417.42
8.0.300.0070.00020.12
8.0.290.0070.00016.58
8.0.280.0000.00718.32
8.0.270.0000.00718.01
8.0.260.0070.00019.95
8.0.250.0030.00316.97
8.0.240.0000.00816.98
8.0.230.0030.00316.81
8.0.220.0000.00616.70
8.0.210.0000.00816.84
8.0.200.0040.00416.96
8.0.190.0000.00816.80
8.0.180.0030.00616.89
8.0.170.0030.00516.83
8.0.160.0050.00216.75
8.0.150.0000.00716.82
8.0.140.0000.00716.64
8.0.130.0060.00013.31
8.0.120.0030.00616.76
8.0.110.0040.00416.73
8.0.100.0050.00216.65
8.0.90.0060.00316.80
8.0.80.0060.01016.90
8.0.70.0070.00016.90
8.0.60.0000.00816.69
8.0.50.0070.00016.94
8.0.30.0100.00716.77
8.0.20.0120.00916.91
8.0.10.0070.00016.77
8.0.00.0100.00716.82
7.4.330.0020.00215.55
7.4.320.0040.00416.59
7.4.300.0000.00616.51
7.4.290.0020.00516.56
7.4.280.0040.00416.50
7.4.270.0030.00316.53
7.4.260.0000.00816.38
7.4.250.0000.00716.47
7.4.240.0040.00416.58
7.4.230.0040.00416.39
7.4.220.0030.00316.57
7.4.210.0040.01016.52
7.4.200.0040.00416.40
7.4.130.0060.01316.58
7.4.120.0110.00716.48
7.4.110.0100.00916.37
7.4.100.0070.01016.54
7.4.90.0170.00016.49
7.4.80.0080.00919.39
7.4.70.0090.00616.37
7.4.60.0030.01716.43
7.4.50.0060.00916.50
7.4.40.0120.00616.46
7.4.00.0050.01014.85
7.3.330.0040.00416.08
7.3.320.0000.00613.17
7.3.310.0000.00716.12
7.3.300.0040.00416.17
7.3.290.0070.00816.25
7.3.280.0110.00516.30
7.3.260.0070.01016.15
7.3.240.0090.00816.44
7.3.230.0100.00716.40
7.3.210.0110.00716.51
7.3.200.0120.00916.26
7.3.190.0120.00816.29
7.3.180.0090.00616.25
7.3.170.0090.01216.28
7.3.160.0080.00816.43
7.3.120.0100.00714.26
7.3.110.0060.00814.41
7.3.100.0120.00414.69
7.3.90.0170.00414.68
7.3.80.0110.01214.51
7.3.70.0200.00414.51
7.3.60.0060.01414.48
7.3.50.0060.01314.70
7.3.40.0130.00414.60
7.3.30.0100.01014.69
7.3.20.0040.01214.77
7.3.10.0090.00614.58
7.3.00.0170.00514.59
7.2.330.0060.01016.70
7.2.320.0030.01516.68
7.2.310.0100.00716.88
7.2.300.0080.00816.87
7.2.290.0030.01316.49
7.2.250.0110.00514.57
7.2.240.0170.00714.83
7.2.230.0000.01614.70
7.2.220.0210.00515.05
7.2.210.0110.01414.80
7.2.200.0060.01315.01
7.2.190.0120.01214.73
7.2.180.0150.00914.84
7.2.170.0040.01114.94
7.1.330.0110.01013.98
7.1.320.0140.01414.06
7.1.310.0070.01513.77
7.1.300.0090.00913.80
7.1.290.0050.01313.63
7.1.280.0040.01413.61
7.1.270.0100.00713.79
7.1.260.0030.01213.73

preferences:
56.99 ms | 400 KiB | 5 Q