diff options
author | Remi Collet <remi@remirepo.net> | 2024-02-22 12:32:38 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-02-22 12:32:38 +0100 |
commit | 8ddc4aa188cd1ba114d0159fc497f3731157c4c7 (patch) | |
tree | 939a9148e976e221f440e3c63f7165744abb9222 /REFLECTION | |
parent | 547660bf3e9d5c3eac6112d594b64bd13b01cdb6 (diff) |
update to 0.3.0RC1
drop support for PHP 5 and 7
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 45 |
1 files changed, 26 insertions, 19 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #64 dio version 0.2.2 ] { +Extension [ <persistent> extension #64 dio version 0.3.0RC1 ] { - Constants [36] { Constant [ int O_RDONLY ] { 0 } @@ -43,9 +43,9 @@ Extension [ <persistent> extension #64 dio version 0.2.2 ] { Function [ <internal:dio> function dio_open ] { - Parameters [3] { - Parameter #0 [ <required> $filename ] - Parameter #1 [ <required> $flags ] - Parameter #2 [ <optional> $mode = <default> ] + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <required> int $flags ] + Parameter #2 [ <optional> int $mode = 0 ] } } Function [ <internal:dio> function dio_fdopen ] { @@ -64,73 +64,80 @@ Extension [ <persistent> extension #64 dio version 0.2.2 ] { - Parameters [2] { Parameter #0 [ <required> $fd ] - Parameter #1 [ <required> $offset ] + Parameter #1 [ <required> int $offset ] } + - Return [ bool ] } Function [ <internal:dio> function dio_stat ] { - Parameters [1] { Parameter #0 [ <required> $fd ] } + - Return [ array|false ] } Function [ <internal:dio> function dio_seek ] { - Parameters [3] { Parameter #0 [ <required> $fd ] - Parameter #1 [ <required> $pos ] - Parameter #2 [ <required> $whence ] + Parameter #1 [ <required> int $pos ] + Parameter #2 [ <optional> int $whence = SEEK_SET ] } + - Return [ int ] } Function [ <internal:dio> function dio_fcntl ] { - Parameters [3] { Parameter #0 [ <required> $fd ] - Parameter #1 [ <required> $cmd ] - Parameter #2 [ <optional> $arg = <default> ] + Parameter #1 [ <required> int $cmd ] + Parameter #2 [ <optional> $arg = NULL ] } } Function [ <internal:dio> function dio_read ] { - Parameters [2] { Parameter #0 [ <required> $fd ] - Parameter #1 [ <optional> $n = <default> ] + Parameter #1 [ <optional> int $n = 1024 ] } + - Return [ ?string ] } Function [ <internal:dio> function dio_write ] { - Parameters [3] { Parameter #0 [ <required> $fd ] - Parameter #1 [ <required> $data ] - Parameter #2 [ <optional> $len = <default> ] + Parameter #1 [ <required> string $data ] + Parameter #2 [ <optional> int $len = 0 ] } + - Return [ int ] } Function [ <internal:dio> function dio_close ] { - Parameters [1] { Parameter #0 [ <required> $fd ] } + - Return [ void ] } Function [ <internal:dio> function dio_tcsetattr ] { - Parameters [2] { Parameter #0 [ <required> $fd ] - Parameter #1 [ <required> $args ] + Parameter #1 [ <required> array $args ] } + - Return [ bool ] } Function [ <internal:dio> function dio_raw ] { - Parameters [3] { - Parameter #0 [ <required> $filename ] - Parameter #1 [ <required> $mode ] - Parameter #2 [ <optional> $options = <default> ] + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <required> string $mode ] + Parameter #2 [ <optional> ?array $options = NULL ] } } Function [ <internal:dio> function dio_serial ] { - Parameters [3] { - Parameter #0 [ <required> $filename ] - Parameter #1 [ <required> $mode ] - Parameter #2 [ <optional> $options = <default> ] + Parameter #0 [ <required> string $filename ] + Parameter #1 [ <required> string $mode ] + Parameter #2 [ <optional> ?array $options = NULL ] } } } |