3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = '{"data":[{"access_token":"EAAby7f21xKABALPCThZC63i4LZAHZC7MaYbQ0E5gN","id":"515968102105625"},{"access_token":"EAAby7f21xKABAK0zyfHCVNBE0Nn3g1XZCWuXzZA4T","id":"1338263602879836"}],"paging":{"cursors":{"before":"NTE1OTY4MTAyMTA1NjI1","after":"MTMzODI2MzYwMjg3OTgzNgZDZD"}}}'; if (preg_match_all('#"access_token":[^"]*"([^"]*)"#', $response, $datos)) { $mp = $datos[1]; } else { // Tipo array con clave error. $mp = array('error' => 'No existen Access Tokens'); } $cast = implode(',',$mp); foreach($mp as $P){ $page = $P[0]; $token2 = $P[1]; } echo $token2."<br/>"; echo $page; ?>

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.0110.00416.50
8.3.50.0130.00316.79
8.3.40.0130.01318.40
8.3.30.0100.00518.65
8.3.20.0080.00020.16
8.3.10.0060.00323.53
8.3.00.0000.00723.66
8.2.180.0150.00018.45
8.2.170.0070.00722.96
8.2.160.0120.00620.39
8.2.150.0000.00724.18
8.2.140.0030.00524.66
8.2.130.0080.00022.42
8.2.120.0080.00026.35
8.2.110.0060.00322.33
8.2.100.0000.01218.16
8.2.90.0080.00019.11
8.2.80.0040.00418.03
8.2.70.0030.00617.75
8.2.60.0040.00818.05
8.2.50.0040.00418.10
8.2.40.0040.00420.41
8.2.30.0040.00419.30
8.2.20.0000.00818.04
8.2.10.0080.00018.15
8.2.00.0080.00018.15
8.1.280.0110.00425.92
8.1.270.0000.00823.95
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00324.02
8.1.230.0080.00320.16
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0060.00317.38
8.1.190.0060.00317.25
8.1.180.0020.00518.10
8.1.170.0060.00318.80
8.1.160.0000.00818.91
8.1.150.0000.00722.04
8.1.140.0000.00719.11
8.1.130.0030.00318.91
8.1.120.0000.00717.62
8.1.110.0000.00717.59
8.1.100.0030.00517.68
8.1.90.0040.00417.50
8.1.80.0000.00717.61
8.1.70.0000.00717.68
8.1.60.0030.00517.63
8.1.50.0000.00917.71
8.1.40.0030.00517.63
8.1.30.0030.00517.84
8.1.20.0060.00317.73
8.1.10.0000.00717.63
8.1.00.0040.00417.59
8.0.300.0000.00718.77
8.0.290.0050.00316.75
8.0.280.0000.00718.41
8.0.270.0070.00017.28
8.0.260.0060.00018.91
8.0.250.0030.00317.13
8.0.240.0000.00817.12
8.0.230.0030.00317.13
8.0.220.0050.00317.07
8.0.210.0030.00317.03
8.0.200.0030.00316.99
8.0.190.0000.00817.10
8.0.180.0080.00017.03
8.0.170.0000.00717.08
8.0.160.0000.00817.04
8.0.150.0040.00416.85
8.0.140.0060.00316.99
8.0.130.0030.00313.45
8.0.120.0030.00517.02
8.0.110.0070.00017.07
8.0.100.0030.00517.09
8.0.90.0000.00717.09
8.0.80.0030.01416.94
8.0.70.0030.00517.02
8.0.60.0040.00417.16
8.0.50.0000.00717.16
8.0.30.0090.00917.22
8.0.20.0080.01117.40
8.0.10.0080.00017.05
8.0.00.0100.00716.98
7.4.330.0000.00515.55
7.4.320.0030.00316.73
7.4.300.0000.00716.73
7.4.290.0030.00316.82
7.4.280.0070.00016.80
7.4.270.0080.00016.67
7.4.260.0070.00016.80
7.4.250.0040.00416.83
7.4.240.0070.00016.76
7.4.230.0030.00316.61
7.4.220.0110.00816.66
7.4.210.0110.00816.87
7.4.200.0040.00416.89
7.4.160.0120.00616.56
7.4.150.0180.00017.40
7.4.140.0120.00917.86
7.4.130.0130.00916.67
7.4.120.0100.01016.72
7.4.110.0090.01016.73
7.4.100.0100.01316.73
7.4.90.0180.00416.66
7.4.80.0130.00319.39
7.4.70.0060.01616.64
7.4.60.0040.01416.63
7.4.50.0070.00316.47
7.4.40.0080.00816.77
7.4.30.0100.00616.52
7.4.10.0040.01514.83
7.4.00.0070.00915.24
7.3.330.0000.00513.36
7.3.320.0000.00513.27
7.3.310.0040.00416.45
7.3.300.0030.00316.38
7.3.290.0000.00716.40
7.3.280.0070.01016.45
7.3.270.0030.01417.40
7.3.260.0120.00916.79
7.3.250.0120.00516.46
7.3.240.0080.00916.68
7.3.230.0120.00416.77
7.3.210.0110.01416.38
7.3.200.0080.00816.57
7.3.190.0110.00616.45
7.3.180.0120.00316.71
7.3.170.0070.01316.48
7.3.160.0120.00316.53
7.3.130.0070.01114.84
7.3.120.0140.00415.02
7.3.110.0070.01114.87
7.3.100.0100.00714.92
7.3.90.0030.01515.06
7.3.80.0060.00615.37
7.3.70.0130.00014.75
7.3.60.0110.00014.87
7.3.50.0030.01015.13
7.3.40.0050.00514.92
7.3.30.0110.00614.88
7.3.20.0070.01016.95
7.3.10.0090.00616.94
7.3.00.0070.00916.83
7.2.330.0030.01416.80
7.2.320.0030.01916.88
7.2.310.0150.00916.89
7.2.300.0080.01216.94
7.2.290.0120.00816.76
7.2.260.0100.01015.23
7.2.250.0100.00715.41
7.2.240.0060.00915.28
7.2.230.0060.01315.23
7.2.220.0090.00615.14
7.2.210.0030.01015.22
7.2.200.0060.00615.51
7.2.190.0040.01115.42
7.2.180.0130.00315.25
7.2.170.0060.00315.17
7.2.160.0000.01015.09
7.2.150.0030.01217.06
7.2.140.0040.01217.23
7.2.130.0070.00616.88
7.2.120.0020.01417.17
7.2.110.0100.00517.11
7.2.100.0070.00817.19
7.2.90.0020.01216.97
7.2.80.0070.00817.01
7.2.70.0040.01117.07
7.2.60.0050.00717.01
7.2.50.0050.00716.95
7.2.40.0070.00916.98
7.2.30.0130.00017.08
7.2.20.0050.00817.19
7.2.10.0070.00317.01
7.2.00.0020.01017.20
7.1.330.0040.01115.97
7.1.320.0070.00715.85
7.1.310.0000.01016.20
7.1.300.0040.01116.02
7.1.290.0080.00316.05
7.1.280.0060.00916.13
7.1.270.0040.01116.07
7.1.260.0030.00915.96
7.1.250.0030.00716.05
7.1.240.0030.01215.95
7.1.230.0040.01215.91
7.1.220.0070.01015.88
7.1.210.0030.01016.16
7.1.200.0070.00615.81
7.1.190.0030.00615.77
7.1.180.0030.00915.98
7.1.170.0030.00915.93
7.1.160.0120.00416.07
7.1.150.0070.01015.77
7.1.140.0030.00816.04
7.1.130.0040.01115.94
7.1.120.0090.00915.97
7.1.110.0120.00817.16
7.1.100.0080.00717.14
7.1.90.0060.00917.03
7.1.80.0070.00717.02
7.1.70.0060.01016.82
7.1.60.0120.01525.70
7.1.50.0080.01525.46
7.1.40.0170.01025.27
7.1.30.0150.01225.47
7.1.20.0110.01525.41
7.1.10.0030.01316.29
7.1.00.0050.00816.51
7.0.330.0000.00915.53
7.0.320.0080.00415.51
7.0.310.0120.00315.50
7.0.300.0050.00515.65
7.0.290.0070.01115.66
7.0.280.0070.00715.51
7.0.270.0000.01715.52
7.0.260.0030.01015.41
7.0.250.0070.01316.69
7.0.240.0030.01216.72
7.0.230.0070.00916.68
7.0.220.0060.00716.54
7.0.210.0030.01416.15
7.0.200.0030.01016.09
7.0.190.0050.01116.23
7.0.180.0060.00916.04
7.0.170.0070.00916.03
7.0.160.0060.00815.93
7.0.150.0050.00715.76
7.0.140.0040.00816.04
7.0.130.0090.00516.18
7.0.120.0050.01016.09
7.0.110.0060.01016.18
7.0.100.0040.00916.04
7.0.90.0060.00516.10
7.0.80.0060.00816.10
7.0.70.0040.00915.96
7.0.60.0030.00915.99
7.0.50.0020.01116.10
7.0.40.0020.01315.28
7.0.30.0060.00815.09
7.0.20.0050.01015.14
7.0.10.0050.00815.18
7.0.00.0070.00714.97
5.6.400.0000.01014.46
5.6.390.0070.00714.80
5.6.380.0060.00614.79
5.6.370.0000.01214.66
5.6.360.0130.00314.26
5.6.350.0030.01414.49
5.6.340.0030.00614.74
5.6.330.0040.01114.55
5.6.320.0030.01414.82
5.6.310.0100.00014.66
5.6.300.0090.00314.57
5.6.290.0000.01314.63
5.6.280.0040.00714.43
5.6.270.0060.00814.39
5.6.260.0060.01014.21
5.6.250.0110.00714.60
5.6.240.0000.01214.55
5.6.230.0090.00614.34
5.6.220.0030.01214.72
5.6.210.0100.00614.61
5.6.200.0080.00414.70
5.6.190.0030.01014.54
5.6.180.0040.01114.38
5.6.170.0120.00314.38
5.6.160.0040.01514.48
5.6.150.0050.00514.71
5.6.140.0080.00814.29
5.6.130.0000.01614.50
5.6.120.0030.01014.52
5.6.110.0000.01114.24
5.6.100.0110.00314.33
5.6.90.0030.00814.41
5.6.80.0060.00914.70
5.6.70.0000.01214.34
5.6.60.0000.01414.45
5.6.50.0000.01514.47
5.6.40.0110.00014.31
5.6.30.0070.00314.09
5.6.20.0070.00714.67
5.6.10.0060.00614.34
5.6.00.0060.00914.48

preferences:
69.56 ms | 400 KiB | 5 Q