What is the meaning of \x00 , \x04 in PHP

前端 未结 5 763
甜味超标
甜味超标 2021-01-31 07:39

i have some codes having the \\x00 and \\x04 hex codes, what does it means?

$str= implode(\"\\x00\",          


        
5条回答
  •  再見小時候
    2021-01-31 08:29

    \x indicates hexadecimal notation. See: PHP strings

    Have a look at an ASCII table to see what 0x00 and 0x04 represent.

    0x00 = NULL
    0x04 = EOT (End of transmission)
    

提交回复
热议问题