3v4l.org

run code in 300+ PHP versions simultaneously
<?php // old version - http://stackoverflow.com/a/35133039/2767886 $file_id = 'https://skyvault.co/show/file?filename=6N2viQpwLKBIA6'; $parts = parse_url($file_id); $path_parts = explode('=', $parts['query']); $secret = $path_parts[1]; var_dump($secret); // improved ------------------ $file_id = 'https://skyvault.co/show/file?filename=6N2viQpwLKBIA6'; $parts = parse_url($file_id); $tmp = parse_str($parts['query'], $query_str); var_dump($query_str['filename']);
Output for git.master, git.master_jit, rfc.property-hooks
string(14) "6N2viQpwLKBIA6" string(14) "6N2viQpwLKBIA6"

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:
46.81 ms | 1496 KiB | 4 Q