3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $path= "WEB/WEB-INF/classes"; $pathNoSlashes = ltrim($path, '/'); $elementrTokens = explode ('/', $pathNoSlashes); if(count($elementrTokens) > 0){ $folderText =array_pop ($elementrTokens); echo "<a href="">$text</a>"; } ?>
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected '"', expecting ',' or ';' in /in/npIRD on line 11
Process exited with code 255.