In PHP, a function that often uses a specific string to manipulate a single-dimensional array to join a implode function has another way of seeing
Don't be too surprised after that!
In the official documentation, implode ("param1", "param2")
In general, PARAM1 is a specific connection string, and Param2 is a one-dimensional array that is manipulated
If the two parameters are interchangeable, have you ever operated?
Example:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/53/92/wKioL1RrTzuBSyjaAAFZ9eWWwNw235.jpg "title=" Qq20141118215037.png "alt=" Wkiol1rrtzubsyjaaafz9ewwwnw235.jpg "/>
Printed results:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/53/94/wKiom1RrTzXReMaHAACIiLYnnOk009.jpg "title=" A.png " alt= "Wkiom1rrtzxremahaaciilynnok009.jpg"/>
The results of the two inputs are the same.
If you look carefully in the document, some of the results can still be found.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/53/93/wKioL1RrUHCx7iQ3AABky0nBS-c760.jpg "title=" 5.png " alt= "Wkiol1rruhcx7iq3aabky0nbs-c760.jpg"/>
The document says that explode is also possible, but in the actual operation, if the two parameter interchange results may not be the same
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/53/95/wKiom1RrUIvBCcLvAAD60UV2j-w842.jpg "title=" C.png " alt= "Wkiom1rruivbcclvaad60uv2j-w842.jpg"/>
The result is:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/53/93/wKioL1RrUXSjDpGJAAC8PimxI1M444.jpg "title=" 1.png " alt= "Wkiol1rruxsjdpgjaac8pimxi1m444.jpg"/> Some things still need to be practical operation to see what is the matter
Read the time must be careful, but also a lot of hands to test Oh!
This article is from the "Chase Dream" blog, please be sure to keep this source http://dreameng.blog.51cto.com/1187899/1579323
PHP in the use of alternative implode