3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(search_next("https://graph.facebook.com/v2.4/215365285142591/posts?limit=100&format=json&access_token=CAAU1wFJC3B4BAMRwMmO9WeQ05kQuIbRoEQchQZAJhFCT21iolu2AgdkP7ftIwSzWolPAOazAOtGDzbdwjxHtnJGKWZChZBOMolYZAZB4aPnAZBVNe0TZBRLrC5ZCo6mUdD0GXjEhsvFMbVedQRpLKfTzBQU1dKMZCTYrnT6tEgyDgJf1wZBGtWp3wZAH0XoZACQDOtPZCm5G48uBTEPNbMv9MZAkfi&until=1434258144&__paging_token=enc_AdCSxfhZCLaWzKLZAMjBldWY56gg3OZAfZCyplLBOU1Rl6XOHcveIU5rZCQsSbewLe3FQ27sztix4xBmlpBAFdxaVvZAMAjN27uxO6tXHd7ZAbQNcHDZAQZDZD")); function search_next($url) { $lPost = json_decode(file_get_contents($url),true); $listacompelta = array(); array_push($listacompelta, $lPost["data"]); if(count($lPost["paging"])) { if(count($lPost["paging"]["next"])) { return array_merge($listacompelta,$this->search_next($lPost["paging"]["next"])); } } return $listacompelta; }
Output for git.master, git.master_jit
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/hDdaW on line 7 Warning: file_get_contents(): open_basedir restriction in effect. File(https://graph.facebook.com/v2.4/215365285142591/posts?limit=100&format=json&access_token=CAAU1wFJC3B4BAMRwMmO9WeQ05kQuIbRoEQchQZAJhFCT21iolu2AgdkP7ftIwSzWolPAOazAOtGDzbdwjxHtnJGKWZChZBOMolYZAZB4aPnAZBVNe0TZBRLrC5ZCo6mUdD0GXjEhsvFMbVedQRpLKfTzBQU1dKMZCTYrnT6tEgyDgJf1wZBGtWp3wZAH0XoZACQDOtPZCm5G48uBTEPNbMv9MZAkfi&until=1434258144&__paging_token=enc_AdCSxfhZCLaWzKLZAMjBldWY56gg3OZAfZCyplLBOU1Rl6XOHcveIU5rZCQsSbewLe3FQ27sztix4xBmlpBAFdxaVvZAMAjN27uxO6tXHd7ZAbQNcHDZAQZDZD) is not within the allowed path(s): (/tmp:/in:/etc) in /in/hDdaW on line 7 Warning: file_get_contents(https://graph.facebook.com/v2.4/215365285142591/posts?limit=100&format=json&access_token=CAAU1wFJC3B4BAMRwMmO9WeQ05kQuIbRoEQchQZAJhFCT21iolu2AgdkP7ftIwSzWolPAOazAOtGDzbdwjxHtnJGKWZChZBOMolYZAZB4aPnAZBVNe0TZBRLrC5ZCo6mUdD0GXjEhsvFMbVedQRpLKfTzBQU1dKMZCTYrnT6tEgyDgJf1wZBGtWp3wZAH0XoZACQDOtPZCm5G48uBTEPNbMv9MZAkfi&until=1434258144&__paging_token=enc_AdCSxfhZCLaWzKLZAMjBldWY56gg3OZAfZCyplLBOU1Rl6XOHcveIU5rZCQsSbewLe3FQ27sztix4xBmlpBAFdxaVvZAMAjN27uxO6tXHd7ZAbQNcHDZAQZDZD): Failed to open stream: Operation not permitted in /in/hDdaW on line 7 Warning: Trying to access array offset on value of type null in /in/hDdaW on line 11 Warning: Trying to access array offset on value of type null in /in/hDdaW on line 13 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/hDdaW:13 Stack trace: #0 /in/hDdaW(3): search_next('https://graph.f...') #1 {main} thrown in /in/hDdaW on line 13
Process exited with code 255.
Output for rfc.property-hooks
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/hDdaW on line 7 Warning: file_get_contents(): open_basedir restriction in effect. File(https://graph.facebook.com/v2.4/215365285142591/posts?limit=100&format=json&access_token=CAAU1wFJC3B4BAMRwMmO9WeQ05kQuIbRoEQchQZAJhFCT21iolu2AgdkP7ftIwSzWolPAOazAOtGDzbdwjxHtnJGKWZChZBOMolYZAZB4aPnAZBVNe0TZBRLrC5ZCo6mUdD0GXjEhsvFMbVedQRpLKfTzBQU1dKMZCTYrnT6tEgyDgJf1wZBGtWp3wZAH0XoZACQDOtPZCm5G48uBTEPNbMv9MZAkfi&until=1434258144&__paging_token=enc_AdCSxfhZCLaWzKLZAMjBldWY56gg3OZAfZCyplLBOU1Rl6XOHcveIU5rZCQsSbewLe3FQ27sztix4xBmlpBAFdxaVvZAMAjN27uxO6tXHd7ZAbQNcHDZAQZDZD) is not within the allowed path(s): (/tmp:/in:/etc) in /in/hDdaW on line 7 Warning: file_get_contents(https://graph.facebook.com/v2.4/215365285142591/posts?limit=100&format=json&access_token=CAAU1wFJC3B4BAMRwMmO9WeQ05kQuIbRoEQchQZAJhFCT21iolu2AgdkP7ftIwSzWolPAOazAOtGDzbdwjxHtnJGKWZChZBOMolYZAZB4aPnAZBVNe0TZBRLrC5ZCo6mUdD0GXjEhsvFMbVedQRpLKfTzBQU1dKMZCTYrnT6tEgyDgJf1wZBGtWp3wZAH0XoZACQDOtPZCm5G48uBTEPNbMv9MZAkfi&until=1434258144&__paging_token=enc_AdCSxfhZCLaWzKLZAMjBldWY56gg3OZAfZCyplLBOU1Rl6XOHcveIU5rZCQsSbewLe3FQ27sztix4xBmlpBAFdxaVvZAMAjN27uxO6tXHd7ZAbQNcHDZAQZDZD): Failed to open stream: Operation not permitted in /in/hDdaW on line 7 Warning: Trying to access array offset on null in /in/hDdaW on line 11 Warning: Trying to access array offset on null in /in/hDdaW on line 13 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/hDdaW:13 Stack trace: #0 /in/hDdaW(3): search_next('https://graph.f...') #1 {main} thrown in /in/hDdaW on line 13
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36.34 ms | 403 KiB | 8 Q