Arquivos
hhvm/hphp/test/quick/strict_hashbang_start.php
T
Matt Glazar d6d9955136 Allow shebang/hashbang (#!) as first line in Hack files
A shebang allow a script to be run as an executable on UNIX
systems. PHP allows shebangs, but Hack does not. This
changeset allows Hack to have shebangs like in PHP.
2013-05-20 13:52:27 -07:00

4 linhas
72 B
PHP

#!/usr/bin/env hhvm
<?hh
echo "Hashbang/shebang allowed before <?hh\n";