Replace “//” with “/* */” in PHP? [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I'm working in a code to minify html/css/js but i got a problem. I need to replace // with /* and */. Example: $(funcion(){ // Do something }); Replace to: $(funcion(){ /* Do something */ }); How do that? 回答1: First, as was pointed out in the comments, if you're looking to reduce