User Tools

Site Tools


uphp:functions:unpack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
uphp:functions:unpack [2019/12/20 09:36]
admin
uphp:functions:unpack [2019/12/20 09:37]
admin
Line 49: Line 49:
  
   print("\r\nUn packed signed long:\r\n");   print("\r\nUn packed signed long:\r\n");
-  $v=unpack("l",&$str);+  $v=unpack("l",&$str);  // <--- Note the & symbol - this needs to be passed by reference.
  
   print($v);   print($v);
uphp/functions/unpack.txt · Last modified: 2021/09/13 05:57 (external edit)