$ Zhinew_ddStrCode (); echourlencode ($ zhi); this value is different from the following echourlencode (new_ddStrCode (). This value is different from the above one (this value is incorrect) who knows the reason? The above two output values will change in the middle part... $ zhi = new_ddStrCode ();
Echo urlencode ($ zhi); the value is different from the following
Echo urlencode (new_ddStrCode (); this value is different from the above one (this value is incorrect)
Who knows why?
Is the above two output values, the middle part will actually change
Look at the code shown in the figure above. If you write this code, the function output must be the same!
It's okay, because this function is a random change related to time! Not noticed! The final code is found to be 10 minutes faster than the server time, leading to garbled code decoding!
Reply content:
$ Zhi = new_ddStrCode ();
Echo urlencode ($ zhi); the value is different from the following
Echo urlencode (new_ddStrCode (); this value is different from the above one (this value is incorrect)
Who knows why?
Is the above two output values, the middle part will actually change
Look at the code shown in the figure above. If you write this code, the function output must be the same!
It's okay, because this function is a random change related to time! Not noticed! The final code is found to be 10 minutes faster than the server time, leading to garbled code decoding!
Are you sure you generated the same string during the two calls?
Look at the code shown in the figure above. If you write this code, the function output must be the same!
Of course it's different.