Friday, January 4, 2019

php - Why does json_encode escape the forward slash ( / )?











The function argument below is a string run through json_encode(). I see that the forward slash in http:// is escaped to http:\/\/.
Obviously it is a special character when used like this but only when used in that structure.



There is no immediate problem..but I need to understand escapes to make some code updates.





plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...