open
set position = 0
read 3 =
get position = 0
reading 8192 at 0
get position = 0
get position = 0
set position = 16
read 16 bytes
eof
get position = 16
012
tell =
3
seek -1
get position = 16
seek from 16 to 2
get position = 16
set position = 2
get position = 2
new position is 2
tell =
3
read 2 =
get position = 2
reading 8192 at 2
get position = 2
get position = 2
set position = 16
read 14 bytes
eof
get position = 16
23
tell =
5
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
open
set position = 0
read 3 =
get position = 0
reading 8192 at 0
get position = 0
get position = 0
set position = 16
read 16 bytes
eof
get position = 16
012
tell =
3
seek -1
get position = 16
seek from 16 to 2
get position = 16
set position = 2
get position = 2
new position is 2
tell =
3
read 2 =
get position = 2
reading 8192 at 2
get position = 2
get position = 2
set position = 16
read 14 bytes
eof
get position = 16
23
tell =
5