Lines Matching refs:bytes

53     $data = $lob->read(8192);             // read($characters), not read($bytes)
54 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
62 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
63 echo 'size of stream1a is ', strlen($stream1a), ' bytes, ', mb_strlen($stream1a), ' chars.', PHP_EO…
84 $data = $lob->read(8192); // read($characters), not read($bytes)
85 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
93 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
94 echo 'size of stream2a is ', strlen($stream2a), ' bytes, ', mb_strlen($stream2a), ' chars.', PHP_EO…
115 $data = $lob->read(8192); // read($characters), not read($bytes)
116 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
124 echo 'size of string3 is ', strlen($string3), ' bytes, ', mb_strlen($string3), ' chars.', PHP_EOL;
125 echo 'size of stream3a is ', strlen($stream3a), ' bytes, ', mb_strlen($stream3a), ' chars.', PHP_EO…
146 $data = $lob->read(8192); // read($characters), not read($bytes)
147 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
155 echo 'size of string4 is ', strlen($string4), ' bytes, ', mb_strlen($string4), ' chars.', PHP_EOL;
156 echo 'size of stream4a is ', strlen($stream4a), ' bytes, ', mb_strlen($stream4a), ' chars.', PHP_EO…
162 size of string1 is 1000006 bytes, 1000006 chars.
163 size of stream1a is 1000006 bytes, 1000006 chars.
168 size of string2 is 8194 bytes, 4100 chars.
169 size of stream2a is 8194 bytes, 4100 chars.
174 size of string3 is 8194 bytes, 4100 chars.
175 size of stream3a is 8194 bytes, 4100 chars.
180 size of string4 is 8193 bytes, 2735 chars.
181 size of stream4a is 8193 bytes, 2735 chars.