3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $queryReplace = "<span class=\"found\">".$query."</span>"; $descriptionContent = "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for."; $boldQuery = str_replace($query, $queryReplace, $descriptionContent); $queryInDescription = stristr($boldQuery, $query); echo $queryInDescription
Output for 5.4.0 - 5.4.15
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/KV4kj on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.25
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/KV4kj on line 6
Process exited with code 255.