That isn't totally correct. Since PHP 4.3.0, stream resources are universal (with a very few minor exceptions).
The list of functions therefore includes fopen, fsockopen, stream_socket_server, stream_socket_client, gzopen, bz2open and quite easily a whole bunch more; including functions from other extensions. --Wez. > +<!-- FileSystem entities --> > +<!ENTITY fs.validfp.all '<para>The file pointer must be > valid, and must point to > +a file successfully opened by <function>fopen</function> or > +<function>fsockopen</function>.</para>'>
