|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-02-08 10:02 UTC] cynic@php.net
[2001-02-08 10:19 UTC] cynic@php.net
[2003-02-09 14:47 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
Add a getline feature to the file and string routines. is it possible to incorporate the iostream style stdin/stdout in php? this is the getline i wrote: function getline( $fp, $delim ) { $result = ""; while( !feof( $fp ) ) { $tmp = fgetc( $fp ); if( $tmp == $delim ) return $result; $result .= $tmp; } return $result; }