3v4l.org

run code in 300+ PHP versions simultaneously
<?php $conf['dl_url'] = 'http://droidphp-repository.herokuapp.com/'; $conf['data'] = '/data/data/org.opendroidphp/'; $conf['file_system'] = '/sdcard/droidphp/'; function getFilesize($url){ $head = array_change_key_case(get_headers($url, TRUE)); return $head['content-length']; } $value[] = [ 'repo_name' => 'Components Security Fix', 'repo_url' => 'https://dl.dropboxusercontent.com/s/ldl3y1tlqodkvfs/data_heartblead_fix.zip?dl=0', 'repo_install_location' => $conf['data'], 'repo_file_size' => getFilesize('https://dl.dropboxusercontent.com/s/ldl3y1tlqodkvfs/data_heartblead_fix.zip?dl=0'), ]; file_put_contents('packages.json', json_encode($value, JSON_PRETTY_PRINT));
Output for git.master, git.master_jit
Warning: get_headers(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/4uo05 on line 8 Warning: get_headers(): This function may only be used against URLs in /in/4uo05 on line 8 Fatal error: Uncaught TypeError: array_change_key_case(): Argument #1 ($array) must be of type array, bool given in /in/4uo05:8 Stack trace: #0 /in/4uo05(8): array_change_key_case(false) #1 /in/4uo05(16): getFilesize('https://dl.drop...') #2 {main} thrown in /in/4uo05 on line 8
Process exited with code 255.
Output for rfc.property-hooks
Warning: get_headers(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/4uo05 on line 8 Warning: get_headers(): This function may only be used against URLs in /in/4uo05 on line 8 Fatal error: Uncaught TypeError: array_change_key_case(): Argument #1 ($array) must be of type array, false given in /in/4uo05:8 Stack trace: #0 /in/4uo05(8): array_change_key_case(false) #1 /in/4uo05(16): getFilesize('https://dl.drop...') #2 {main} thrown in /in/4uo05 on line 8
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:
47.67 ms | 401 KiB | 8 Q