Answers for "clean php"

PHP
0

php clean all output buffers

while ( ob_get_level() ) {
  ob_end_clean();
}
Posted by: Guest on July-28-2020
0

clean function in php

/*** clean FUNCTION IN PHP
PHP provides functions that help to clean up strings by removing
unwanted whitespace or other characters from the beginning and/or
end of the string: trim , rtrim , and ltrim.
***/

Example
clean($request->description)
  
/*** strip_tags FUNCTION IN PHP
PHP also provides another type of cleanup function: strip_tags
which removes HTML and PHP tags from strings.
***/
Posted by: Guest on February-20-2021

Browse Popular Code Answers by Language