/hphp/test/spec/tests/expressions/source_file_inclusion/test.php
PHP | 22 lines | 12 code | 5 blank | 5 comment | 0 complexity | 7544493555657e1718bef49a55054c9f MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- /*
- +-------------------------------------------------------------+
- | Copyright (c) 2015 Facebook, Inc. (http://www.facebook.com) |
- +-------------------------------------------------------------+
- */
- error_reporting(-1);
- function test()
- {
- echo "Inside test() in " . __FILE__ . "\n";
- echo "\$v1: $v1, \$v2: $v2\n";
- }
- $local1 = 100;
- var_dump($local1);
- echo "====\n";
- print_r(get_included_files());
- echo "====\n";