3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $url = 'http://s.click.taobao.com/t_js?tu=http%3A%2F%2Fs.click.taobao.com%2Ft%3Fe%3DzGU34CA7K%252BPkqB07S4%252FK0CITy7klxxrJ35Nnc0vWaHl37H18cjdMO0RFhunziOFb%252FYR38ThEJAQs2K2vhBq7dgXLmU%252BSx8tU3PLk9d5Pc2Up%26ref%3D%26et%3DjFBDPciHyuvffw%253D%253D'; $url = urldecode($url); $uri = parse_url($uri,PHP_URL_QUERY); parse_str($uri,$args); print_r($args);
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: Undefined variable $uri in /in/WNhvs on line 5 Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /in/WNhvs on line 5 Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /in/WNhvs on line 6 Array ( )
Output for 8.0.0 - 8.0.30
Warning: Undefined variable $uri in /in/WNhvs on line 5 Array ( )
Output for 5.1.2 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.7, 7.2.29 - 7.2.33, 7.3.12 - 7.3.31, 7.4.0 - 7.4.33
Notice: Undefined variable: uri in /in/WNhvs on line 5 Array ( )
Output for 7.3.32 - 7.3.33
Array ( )
Output for 5.0.4 - 5.0.5, 5.1.0 - 5.1.1
Notice: Undefined variable: uri in /in/WNhvs on line 5 Notice: Use of undefined constant PHP_URL_QUERY - assumed 'PHP_URL_QUERY' in /in/WNhvs on line 5 Warning: parse_url() expects exactly 1 parameter, 2 given in /in/WNhvs on line 5 Array ( )
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.3
Notice: Undefined variable: uri in /in/WNhvs on line 5 Notice: Use of undefined constant PHP_URL_QUERY - assumed 'PHP_URL_QUERY' in /in/WNhvs on line 5 Warning: parse_url() expects exactly 1 parameter, 2 given in /in/WNhvs on line 5 Array ( )

preferences:
232.43 ms | 402 KiB | 352 Q