3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $domain = "wij.jouwpagina.nl" $linkDirs = [ "startpagina.be", "startpagina.nl", "startkabel.nl", "eigenstart.nl", "verzamelgids.nl", "jouwpagina.nl", "eigenpage.nl", "goedbegin.nl", "expertpagina.nl", "startbewijs.nl", "vogelpraat.nl" ]; var_dump(array_search(substr($domain,strpos($domain, '.')), $linkDirs));
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected '$linkDirs' (T_VARIABLE) in /in/75vcN on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE in /in/75vcN on line 5
Process exited with code 255.