3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function containsPathnameOrSelfFlag($flags) { if ((($flags & CURRENT_AS_PATHNAME) == CURRENT_AS_PATHNAME) || (($flags & CURRENT_AS_SELF) == CURRENT_AS_SELF))) { return true; } return false; } var_dump(containsPathnameOrSelfFlag(CURRENT_MODE_MASK | CURRENT_AS_FILEINFO));
Output for 5.3.0 - 5.4.8
Parse error: syntax error, unexpected ')' in /in/Bolnl on line 4
Process exited with code 255.