|
2937 | 2937 | 'ffmpeg_movie::hasAudio' => ['bool'], |
2938 | 2938 | 'ffmpeg_movie::hasVideo' => ['bool'], |
2939 | 2939 | 'fgetc' => ['string|false', 'fp'=>'resource'], |
2940 | | -'fgetcsv' => ['(?array)|(?false)', 'fp'=>'resource', 'length='=>'int', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'], |
2941 | | -'fgets' => ['string|false', 'fp'=>'resource', 'length='=>'int'], |
2942 | | -'fgetss' => ['string|false', 'fp'=>'resource', 'length='=>'int', 'allowable_tags='=>'string'], |
| 2940 | +'fgetcsv' => ['(?array)|(?false)', 'fp'=>'resource', 'length='=>'0|positive-int', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'], |
| 2941 | +'fgets' => ['string|false', 'fp'=>'resource', 'length='=>'0|positive-int'], |
| 2942 | +'fgetss' => ['string|false', 'fp'=>'resource', 'length='=>'0|positive-int', 'allowable_tags='=>'string'], |
2943 | 2943 | 'file' => ['array<int,string>|false', 'filename'=>'string', 'flags='=>'int', 'context='=>'resource'], |
2944 | 2944 | 'file_exists' => ['bool', 'filename'=>'string'], |
2945 | | -'file_get_contents' => ['string|false', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'?resource', 'offset='=>'int', 'maxlen='=>'int'], |
2946 | | -'file_put_contents' => ['int|false', 'file'=>'string', 'data'=>'mixed', 'flags='=>'int', 'context='=>'?resource'], |
| 2945 | +'file_get_contents' => ['string|false', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'?resource', 'offset='=>'int', 'maxlen='=>'0|positive-int'], |
| 2946 | +'file_put_contents' => ['0|positive-int|false', 'file'=>'string', 'data'=>'mixed', 'flags='=>'int', 'context='=>'?resource'], |
2947 | 2947 | 'fileatime' => ['int|false', 'filename'=>'string'], |
2948 | 2948 | 'filectime' => ['int|false', 'filename'=>'string'], |
2949 | 2949 | 'filegroup' => ['int|false', 'filename'=>'string'], |
|
2958 | 2958 | 'filepro_fieldwidth' => ['int', 'field_number'=>'int'], |
2959 | 2959 | 'filepro_retrieve' => ['string', 'row_number'=>'int', 'field_number'=>'int'], |
2960 | 2960 | 'filepro_rowcount' => ['int'], |
2961 | | -'filesize' => ['int|false', 'filename'=>'string'], |
| 2961 | +'filesize' => ['0|positive-int|false', 'filename'=>'string'], |
2962 | 2962 | 'FilesystemIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], |
2963 | 2963 | 'FilesystemIterator::current' => ['string|SplFileInfo'], |
2964 | 2964 | 'FilesystemIterator::getFlags' => ['int'], |
|
3001 | 3001 | 'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], |
3002 | 3002 | 'forward_static_call' => ['mixed', 'function'=>'callable', '...parameters='=>'mixed'], |
3003 | 3003 | 'forward_static_call_array' => ['mixed', 'function'=>'callable', 'parameters'=>'array<int,mixed>'], |
3004 | | -'fpassthru' => ['int|false', 'fp'=>'resource'], |
| 3004 | +'fpassthru' => ['0|positive-int|false', 'fp'=>'resource'], |
3005 | 3005 | 'fpm_get_status' => ['array|false'], |
3006 | 3006 | 'fprintf' => ['int', 'stream'=>'resource', 'format'=>'string', '...values='=>'string|int|float'], |
3007 | | -'fputcsv' => ['int|false', 'fp'=>'resource', 'fields'=>'array', 'delimiter='=>'string', 'enclosure='=>'string', 'escape_char='=>'string'], |
3008 | | -'fputs' => ['int|false', 'fp'=>'resource', 'str'=>'string', 'length='=>'int'], |
3009 | | -'fread' => ['string|false', 'fp'=>'resource', 'length'=>'int'], |
| 3007 | +'fputcsv' => ['0|positive-int|false', 'fp'=>'resource', 'fields'=>'array', 'delimiter='=>'string', 'enclosure='=>'string', 'escape_char='=>'string'], |
| 3008 | +'fputs' => ['0|positive-int|false', 'fp'=>'resource', 'str'=>'string', 'length='=>'0|positive-int'], |
| 3009 | +'fread' => ['string|false', 'fp'=>'resource', 'length'=>'0|positive-int'], |
3010 | 3010 | 'frenchtojd' => ['int', 'month'=>'int', 'day'=>'int', 'year'=>'int'], |
3011 | 3011 | 'fribidi_log2vis' => ['string', 'str'=>'string', 'direction'=>'string', 'charset'=>'int'], |
3012 | 3012 | 'fscanf' => ['array|int|false', 'stream'=>'resource', 'format'=>'string', '&...w_vars='=>'string|int|float|null'], |
3013 | | -'fseek' => ['int', 'fp'=>'resource', 'offset'=>'int', 'whence='=>'int'], |
| 3013 | +'fseek' => ['0|-1', 'fp'=>'resource', 'offset'=>'int', 'whence='=>'int'], |
3014 | 3014 | 'fsockopen' => ['resource|false', 'hostname'=>'string', 'port='=>'int', '&w_errno='=>'int', '&w_errstr='=>'string', 'timeout='=>'float'], |
3015 | 3015 | 'fstat' => ['array|false', 'fp'=>'resource'], |
3016 | 3016 | 'ftell' => ['int|false', 'fp'=>'resource'], |
|
3050 | 3050 | 'ftp_size' => ['int', 'stream'=>'resource', 'filename'=>'string'], |
3051 | 3051 | 'ftp_ssl_connect' => ['resource|false', 'host'=>'string', 'port='=>'int', 'timeout='=>'int'], |
3052 | 3052 | 'ftp_systype' => ['string|false', 'stream'=>'resource'], |
3053 | | -'ftruncate' => ['bool', 'fp'=>'resource', 'size'=>'int'], |
| 3053 | +'ftruncate' => ['bool', 'fp'=>'resource', 'size'=>'0|positive-int'], |
3054 | 3054 | 'func_get_arg' => ['mixed', 'arg_num'=>'0|positive-int'], |
3055 | 3055 | 'func_get_args' => ['array'], |
3056 | 3056 | 'func_num_args' => ['0|positive-int'], |
3057 | 3057 | 'function_exists' => ['bool', 'function_name'=>'string'], |
3058 | | -'fwrite' => ['int|false', 'fp'=>'resource', 'str'=>'string', 'length='=>'int'], |
| 3058 | +'fwrite' => ['0|positive-int|false', 'fp'=>'resource', 'str'=>'string', 'length='=>'0|positive-int'], |
3059 | 3059 | 'gc_collect_cycles' => ['int'], |
3060 | 3060 | 'gc_disable' => ['void'], |
3061 | 3061 | 'gc_enable' => ['void'], |
|
9123 | 9123 | 'rawurlencode' => ['string', 'str'=>'string'], |
9124 | 9124 | 'read_exif_data' => ['array', 'filename'=>'string|resource', 'sections_needed='=>'string', 'sub_arrays='=>'bool', 'read_thumbnail='=>'bool'], |
9125 | 9125 | 'readdir' => ['string|false', 'dir_handle='=>'resource'], |
9126 | | -'readfile' => ['int|false', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], |
9127 | | -'readgzfile' => ['int|false', 'filename'=>'string', 'use_include_path='=>'int'], |
| 9126 | +'readfile' => ['0|positive-int|false', 'filename'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], |
| 9127 | +'readgzfile' => ['0|positive-int|false', 'filename'=>'string', 'use_include_path='=>'int'], |
9128 | 9128 | 'readline' => ['string|false', 'prompt='=>'?string'], |
9129 | 9129 | 'readline_add_history' => ['bool', 'prompt'=>'string'], |
9130 | 9130 | 'readline_callback_handler_install' => ['bool', 'prompt'=>'string', 'callback'=>'callable'], |
|
0 commit comments