Lines Matching refs:bytes
54 $data = $lob->read(8192); // read($characters), not read($bytes)
55 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
63 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
64 echo 'size of stream1a is ', strlen($stream1a), ' bytes, ', mb_strlen($stream1a), ' chars.', PHP_EO…
85 $data = $lob->read(8192); // read($characters), not read($bytes)
86 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
94 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
95 echo 'size of stream2a is ', strlen($stream2a), ' bytes, ', mb_strlen($stream2a), ' chars.', PHP_EO…
116 $data = $lob->read(8192); // read($characters), not read($bytes)
117 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
125 echo 'size of string3 is ', strlen($string3), ' bytes, ', mb_strlen($string3), ' chars.', PHP_EOL;
126 echo 'size of stream3a is ', strlen($stream3a), ' bytes, ', mb_strlen($stream3a), ' chars.', PHP_EO…
147 $data = $lob->read(8192); // read($characters), not read($bytes)
148 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
156 echo 'size of string4 is ', strlen($string4), ' bytes, ', mb_strlen($string4), ' chars.', PHP_EOL;
157 echo 'size of stream4a is ', strlen($stream4a), ' bytes, ', mb_strlen($stream4a), ' chars.', PHP_EO…
163 size of string1 is 1000006 bytes, 1000006 chars.
164 size of stream1a is 1000006 bytes, 1000006 chars.
169 size of string2 is 8194 bytes, 4100 chars.
170 size of stream2a is 8194 bytes, 4100 chars.
175 size of string3 is 8194 bytes, 4100 chars.
176 size of stream3a is 8194 bytes, 4100 chars.
181 size of string4 is 8193 bytes, 2735 chars.
182 size of stream4a is 8193 bytes, 2735 chars.