Lines Matching refs:bytes

51     $data = $lob->read(8192);             // read($characters), not read($bytes)
52 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
60 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
61 echo 'size of stream1a is ', strlen($stream1a), ' bytes, ', mb_strlen($stream1a), ' chars.', PHP_EO…
82 $data = $lob->read(8192); // read($characters), not read($bytes)
83 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
91 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
92 echo 'size of stream2a is ', strlen($stream2a), ' bytes, ', mb_strlen($stream2a), ' chars.', PHP_EO…
113 $data = $lob->read(8192); // read($characters), not read($bytes)
114 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
122 echo 'size of string3 is ', strlen($string3), ' bytes, ', mb_strlen($string3), ' chars.', PHP_EOL;
123 echo 'size of stream3a is ', strlen($stream3a), ' bytes, ', mb_strlen($stream3a), ' chars.', PHP_EO…
144 $data = $lob->read(8192); // read($characters), not read($bytes)
145 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
153 echo 'size of string4 is ', strlen($string4), ' bytes, ', mb_strlen($string4), ' chars.', PHP_EOL;
154 echo 'size of stream4a is ', strlen($stream4a), ' bytes, ', mb_strlen($stream4a), ' chars.', PHP_EO…
159 size of string1 is 1000006 bytes, 1000006 chars.
160 size of stream1a is 1000006 bytes, 1000006 chars.
165 size of string2 is 8194 bytes, 4100 chars.
166 size of stream2a is 8194 bytes, 4100 chars.
171 size of string3 is 8194 bytes, 4100 chars.
172 size of stream3a is 8194 bytes, 4100 chars.
177 size of string4 is 8193 bytes, 2735 chars.
178 size of stream4a is 8193 bytes, 2735 chars.