3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page_id = '189147671108377'; $page_access_token = '488543067934739|nMZH2r92f-6j2amnWaAUIrQZHlg'; $json = file_get_contents('https://graph.facebook.com/'.$page_id.'/posts?access_token='.$page_access_token); $data = json_decode($json); /* There are multiple properties which contain links, pictures, etc. of that particular status var_dump($data) to see all available properties. */ $posts = array(); foreach ($data->data as $post) { $posts[] = array( 'messgage' => $post->message, 'picture' => $post->picture, 'link' => $post->link, 'description' => $post->description ); }

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.0140.00016.75
8.3.50.0210.00016.48
8.3.40.0070.00718.63
8.3.30.0140.00018.90
8.3.20.0070.00020.29
8.3.10.0040.00423.65
8.3.00.0040.00417.93
8.2.180.0080.00818.66
8.2.170.0040.01122.96
8.2.160.0030.01020.43
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00417.75
8.2.110.0070.00322.08
8.2.100.0070.00417.93
8.2.90.0020.00519.17
8.2.80.0060.00317.97
8.2.70.0030.00617.63
8.2.60.0000.00817.93
8.2.50.0030.00518.07
8.2.40.0050.00321.19
8.2.30.0040.00420.54
8.2.20.0030.00517.67
8.2.10.0050.00318.14
8.2.00.0050.00318.04
8.1.280.0080.00825.92
8.1.270.0080.00023.96
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.48
8.1.230.0070.00417.66
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0050.00517.25
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00420.14
8.1.160.0030.00521.89
8.1.150.0070.00018.95
8.1.140.0030.00521.38
8.1.130.0000.00717.66
8.1.120.0040.00417.45
8.1.110.0040.00417.36
8.1.100.0050.00217.31
8.1.90.0000.00717.46
8.1.80.0000.01117.36
8.1.70.0030.00317.36
8.1.60.0030.00517.48
8.1.50.0000.00817.50
8.1.40.0060.00317.48
8.1.30.0000.00817.56
8.1.20.0080.00017.70
8.1.10.0040.00417.40
8.1.00.0000.00817.35
8.0.300.0030.00518.77
8.0.290.0040.00416.75
8.0.280.0030.00318.52
8.0.270.0040.00417.33
8.0.260.0030.00317.29
8.0.250.0040.00417.16
8.0.240.0060.00017.09
8.0.230.0070.00017.05
8.0.220.0030.00317.05
8.0.210.0050.00316.92
8.0.200.0040.00417.10
8.0.190.0030.00517.08
8.0.180.0030.00616.94
8.0.170.0030.00617.00
8.0.160.0050.00316.92
8.0.150.0000.00717.05
8.0.140.0070.00016.95
8.0.130.0000.00713.40
8.0.120.0000.00817.00
8.0.110.0000.00817.03
8.0.100.0000.00716.94
8.0.90.0000.00716.97
8.0.80.0100.01017.01
8.0.70.0030.00516.86
8.0.60.0040.00417.07
8.0.50.0040.00416.89
8.0.30.0120.00917.21
8.0.20.0130.00817.40
8.0.10.0070.00017.14
8.0.00.0090.00916.90
7.4.330.0000.00615.08
7.4.320.0000.00716.62
7.4.300.0090.00016.63
7.4.290.0030.00316.51
7.4.280.0000.00916.52
7.4.270.0030.00316.52
7.4.260.0050.00316.50
7.4.250.0070.00016.63
7.4.240.0060.00116.58
7.4.230.0040.00416.52
7.4.220.0090.00916.43
7.4.210.0030.01116.56
7.4.200.0040.00416.70
7.4.160.0060.00916.60
7.4.150.0200.00317.40
7.4.140.0100.00917.86
7.4.130.0060.01416.56
7.4.120.0130.00416.43
7.4.110.0060.01216.38
7.4.100.0160.00816.57
7.4.90.0070.01116.45
7.4.80.0030.01419.39
7.4.70.0120.00816.57
7.4.60.0120.00916.69
7.4.50.0000.00816.61
7.4.40.0100.00616.51
7.4.30.0130.00616.46
7.4.00.0090.00614.84
7.3.330.0030.00313.24
7.3.320.0000.00513.33
7.3.310.0030.00316.45
7.3.300.0040.00416.24
7.3.290.0100.00816.50
7.3.280.0080.00916.42
7.3.270.0100.00717.40
7.3.260.0100.00716.60
7.3.240.0090.00816.39
7.3.230.0030.01416.56
7.3.210.0080.00816.65
7.3.200.0130.00316.34
7.3.190.0120.00616.34
7.3.180.0100.00616.31
7.3.170.0120.00916.39
7.3.160.0160.00016.29
7.3.00.0120.00616.53
7.2.330.0120.00616.80
7.2.320.0070.01016.52
7.2.310.0110.00716.72
7.2.300.0110.00716.80
7.2.290.0110.00616.64
7.2.130.0060.01016.69
7.2.120.0130.00316.77
7.2.110.0070.01016.75
7.2.100.0110.00717.08
7.2.90.0130.00316.85
7.2.80.0090.00417.10
7.2.70.0120.00416.66
7.2.60.0070.00816.99
7.2.50.0110.00816.97
7.2.40.0040.01116.75
7.2.30.0060.00616.86
7.2.20.0040.00916.81
7.2.10.0100.00316.80
7.2.00.0060.00918.33
7.1.250.0110.00415.95
7.1.240.0070.00315.89
7.1.230.0040.01215.76
7.1.220.0070.00415.53
7.1.210.0070.00715.68
7.1.200.0090.00615.71
7.1.190.0090.00615.80
7.1.180.0060.01015.57
7.1.170.0060.00615.93
7.1.160.0070.00715.73
7.1.150.0130.00015.41
7.1.140.0070.00715.70
7.1.130.0110.00715.70
7.1.120.0070.01115.73
7.1.110.0090.00615.59
7.1.100.0070.01117.10
7.1.90.0040.00715.81
7.1.80.0100.00315.63
7.1.70.0110.00316.28
7.1.60.0110.00417.55
7.1.50.0070.00516.51
7.1.40.0030.00915.62
7.1.30.0080.00415.79
7.1.20.0090.00315.55
7.1.10.0120.00315.77
7.1.00.0050.04419.00
7.0.330.0040.00715.46
7.0.320.0090.00415.36
7.0.310.0060.00915.09
7.0.300.0110.00715.27
7.0.290.0090.00615.28
7.0.280.0100.00315.18
7.0.270.0040.01115.39
7.0.260.0110.00315.51
7.0.250.0100.00615.46
7.0.240.0110.00415.49
7.0.230.0060.00815.50
7.0.220.0030.00715.41
7.0.210.0090.00615.55
7.0.200.0070.00616.40
7.0.190.0080.00415.45
7.0.180.0060.00615.18
7.0.170.0080.00815.39
7.0.160.0090.00315.18
7.0.150.0070.00715.43
7.0.140.0080.00415.25
7.0.130.0140.00415.26
7.0.120.0110.00615.48
7.0.110.0110.00715.06
7.0.100.0090.00315.38
7.0.90.0140.00015.41
7.0.80.0040.00815.16
7.0.70.0100.00315.32
7.0.60.0190.03517.76
7.0.50.0060.02516.82
7.0.40.0050.02516.96
7.0.30.0180.04216.95
7.0.20.0140.04316.87
7.0.10.0200.04016.95
7.0.00.0050.02916.89
5.6.380.0090.00314.34
5.6.370.0040.00414.01
5.6.360.0030.00914.23
5.6.350.0060.00314.05
5.6.340.0070.00314.13
5.6.330.0050.00514.26
5.6.320.0080.00414.30
5.6.310.0000.01414.45
5.6.300.0030.01014.38
5.6.290.0060.00614.02
5.6.280.0030.02217.92
5.6.270.0040.00713.92
5.6.260.0030.01014.13
5.6.250.0110.00414.30
5.6.240.0060.00614.18
5.6.230.0070.00713.75
5.6.220.0060.00914.22
5.6.210.0090.02017.35
5.6.200.0050.03716.29
5.6.190.0070.02917.62
5.6.180.2070.02717.65
5.6.170.0100.02517.51
5.6.160.0130.04017.61
5.6.150.0100.04016.38
5.6.140.0090.04416.27
5.6.130.0040.04416.44
5.6.120.0090.03318.03
5.6.110.0050.04517.68
5.6.100.0080.02517.90
5.6.90.0070.04717.80
5.6.80.0070.03117.53
5.6.70.1740.02017.36
5.6.60.0090.00614.11
5.6.50.0120.00614.22
5.6.40.0000.01314.05
5.6.30.0070.01014.11
5.6.20.0030.00613.93
5.6.10.0100.00314.03
5.6.00.0000.01414.19
5.5.380.0000.01211.04
5.5.370.0040.01011.12
5.5.360.0030.00810.86
5.5.350.0080.02815.63
5.5.340.0060.02214.47
5.5.330.0140.03715.86
5.5.320.0100.04015.64
5.5.310.0200.04015.54
5.5.300.0020.04214.49
5.5.290.0060.04614.75
5.5.280.0070.03815.92
5.5.270.0060.04715.86
5.5.260.0080.04215.87
5.5.250.0080.04015.97
5.5.240.0070.02215.78
5.5.230.0030.00911.12
5.5.220.0030.00710.93
5.5.210.0060.00610.96
5.5.200.0030.00610.85
5.5.190.0030.00310.66
5.5.180.0000.01011.01
5.5.170.0070.00311.02
5.5.160.0050.00510.79
5.5.150.0030.01010.82
5.5.140.0060.00310.79
5.5.130.0030.00910.83
5.5.120.0030.00610.93
5.5.110.0030.00910.83
5.5.100.0080.00010.94
5.5.90.0040.00910.61
5.5.80.0000.00710.98
5.5.70.0030.00611.02
5.5.60.0040.00710.98
5.5.50.0050.00210.78
5.5.40.0090.00310.96
5.5.30.0060.00310.90
5.5.20.0080.00410.77
5.5.10.0030.01011.12
5.5.00.0060.00610.45
5.4.450.0110.03215.63
5.4.440.0120.02915.53
5.4.430.0040.03915.40
5.4.420.0160.02715.45
5.4.410.0160.02515.61
5.4.400.0080.04215.43
5.4.390.0150.02815.31
5.4.380.0120.03315.26
5.4.370.0120.02515.33
5.4.360.0130.02815.39
5.4.350.0080.03315.35
5.4.340.0080.03615.37
5.4.330.0040.00910.77
5.4.320.0130.02715.35
5.4.310.0030.03515.23
5.4.300.0190.02715.23
5.4.290.0400.02515.38
5.4.280.0280.03015.29
5.4.270.0260.03015.20
5.4.260.0360.02315.28
5.4.250.0300.03415.13
5.4.240.0310.02515.22
5.4.230.0290.04115.29
5.4.220.0330.03815.29
5.4.210.0310.03915.43
5.4.200.0250.03415.30
5.4.190.0300.03315.24
5.4.180.0400.02815.48
5.4.170.0280.03515.06
5.4.160.0200.03015.23
5.4.150.0320.03015.23
5.4.140.0220.03613.45
5.4.130.0270.02713.55
5.4.120.0220.03413.45
5.4.110.0400.04013.66
5.4.100.0280.03513.61
5.4.90.0370.02613.57
5.4.80.0490.02813.75
5.4.70.0420.03113.80
5.4.60.0400.03213.71
5.4.50.0360.02813.65
5.4.40.0380.02813.66
5.4.30.0300.03313.67
5.4.20.0190.02813.56
5.4.10.0220.02713.53
5.4.00.0090.02613.17

preferences:
54.51 ms | 400 KiB | 5 Q