string chunk_split ( string body [, int chunklen [, string end]] )
Can be used to split a string into smaller chunks which is useful for
e.g. converting base64_encode() output to match RFC
2045 semantics. It inserts end (defaults to
"\r\n") every chunklen characters (defaults to
76). It returns the new string leaving the original string untouched.
Example 1. chunk_split() example
<?php // format $data using RFC 2045 semantics $new_string = chunk_split(base64_encode($data)); ?>
chunk split php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php chunk split syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.