note 130329 added to function.stream-get-contents

From: Date: Fri, 30 May 2025 16:58:43 +0000
Subject: note 130329 added to function.stream-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-222179@lists.php.net to get a copy of this message
In my case this is acting a little unpredictable, which may occur in your case as well depending on how the streams are set up. This can be resolved by using the offset 0 (rather than the default -1), to ensure your streams are always read from the start, rather than the current position. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.137 (proxied: 2a01:260:2:1:1372:7264:c245:f4a5) ---- Manual Page -- https://php.net/manual/en/function.stream-get-contents.php Edit -- https://main.php.net/note/edit/130329 Del: integrated -- https://main.php.net/note/delete/130329/integrated Del: useless -- https://main.php.net/note/delete/130329/useless Del: bad code -- https://main.php.net/note/delete/130329/bad+code Del: spam -- https://main.php.net/note/delete/130329/spam Del: non-english -- https://main.php.net/note/delete/130329/non-english Del: in docs -- https://main.php.net/note/delete/130329/in+docs Del: other reasons-- https://main.php.net/note/delete/130329 Reject -- https://main.php.net/note/reject/130329 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#222179) next »