Help for this page

Select Code to Download


  1. or download this
    print ~"3"; 
    print pack("c",~ord("3"));
    ...
    
    print ~3
    print unpack("L", ~"\x00\x00\x00\x03");
    
  2. or download this
    $x = "3"; print ~$x; # This is...
    $x = 3;   print ~$x; # Not the same as this... 
    $x .= ""; print ~$x; # But, after stringification, it is.