/hphp/test/zend/good/ext/standard/tests/general_functions/is_resource.php
PHP | 5 lines | 5 code | 0 blank | 0 comment | 0 complexity | ebea720ed0011dbd3a2aa62ba602b1a8 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
- <?hh <<__EntryPoint>> function main(): void {
- $f = fopen(__FILE__, 'r');
- fclose($f);
- var_dump(is_resource($f));
- }