-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
stripslashes__recursive
Description
Removes slashes, recursively, from the array or string var.
Syntax
mixed stripslashes__recursive (mixed $var[, int $level])
Parameter $var
Expected type: Mixed
Description: An array or string with slashes in it
Allowed types for $var Allowed values Description Array An array with keys and/or values that have had slashes added to them String A string of data with slashes added
Parameter $level
Expected type: Integer
Description: What level we're at within the array
Return value
Expected type: Mixed
Description:
Possible types Allowed values Description Array $var with all slashes stripped (including sub-arrays) String $var with all slashes stripped
Notes
- Affects both keys and values of arrays.
- Calls itself recursively to handle arrays of arrays.
- Opposite of addslashes__recursive
- Like the other "__recursive" functions, will not go any further than 26 levels deep
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.014 seconds with 13 queries.
- Forum Search