3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php return parse_url(www.google.com/share); ?>
Output for 7.1.0
Notice: Use of undefined constant www - assumed 'www' in /in/okrqQ on line 3 Notice: Use of undefined constant google - assumed 'google' in /in/okrqQ on line 3 Notice: Use of undefined constant com - assumed 'com' in /in/okrqQ on line 3 Notice: Use of undefined constant share - assumed 'share' in /in/okrqQ on line 3 Warning: A non-numeric value encountered in /in/okrqQ on line 3 Warning: A non-numeric value encountered in /in/okrqQ on line 3 Warning: Division by zero in /in/okrqQ on line 3
Output for 4.3.0 - 7.0.14
Notice: Use of undefined constant www - assumed 'www' in /in/okrqQ on line 3 Notice: Use of undefined constant google - assumed 'google' in /in/okrqQ on line 3 Notice: Use of undefined constant com - assumed 'com' in /in/okrqQ on line 3 Notice: Use of undefined constant share - assumed 'share' in /in/okrqQ on line 3 Warning: Division by zero in /in/okrqQ on line 3