3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo substr( www.scottnelle.com, 0, 3 );
based on i6Ai9
Output for 7.2.0
Warning: Use of undefined constant www - assumed 'www' (this will throw an Error in a future version of PHP) in /in/VYKme on line 3 Warning: Use of undefined constant scottnelle - assumed 'scottnelle' (this will throw an Error in a future version of PHP) in /in/VYKme on line 3 Warning: Use of undefined constant com - assumed 'com' (this will throw an Error in a future version of PHP) in /in/VYKme on line 3 www
Output for 5.3.20 - 7.1.10
Notice: Use of undefined constant www - assumed 'www' in /in/VYKme on line 3 Notice: Use of undefined constant scottnelle - assumed 'scottnelle' in /in/VYKme on line 3 Notice: Use of undefined constant com - assumed 'com' in /in/VYKme on line 3 www