Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような文字列があるとします$str=abcef7ha43HEX_STRING7sf6gHEX_STRING //"HEX_STRING "is any valid hex string。
$str=abcef7ha43HEX_STRING7sf6gHEX_STRING //"HEX_STRING "is any valid hex string
HEX_STRINGで検索し$strて、結果から置き換える必要がありますpack("H*",HEX_STRING)。どうやってやるの?
HEX_STRING
$str
pack("H*",HEX_STRING)