Arquivos
hhvm/hphp/test/quick/reqonce2.php
T
ptarjan 6e899255c6 move .php files to .inc in test/quick that aren't tests
Instead of having a blacklist on name, how about we use a different file extension for included files? Many PHP installs do this for files that are in the document root but shouldn't be served.
@override-unit-failures
2013-04-17 10:12:47 -07:00

10 linhas
153 B
PHP

<?php
print "Test begin\n";
require_once 'reqonce2.inc';
print "Between require_once invocations\n";
require_once 'reqonce2.inc';
print "Test end\n";