Link to home
Start Free TrialLog in
Avatar of amagondes
amagondesFlag for United States of America

asked on

How To: Byte Arrays in PHP

Hi,
How can i convert this c# snippet to PHP to pass the result as a paramater to a web service method call

string pub_key = "BC542794-2738-4BCD-B1E4-C4E64457GE80";
byte[]  pub_bytes = ( new Guid( pub_key ) ).ToByteArray();

Thanks for the help!
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial