fork(1) download
  1. <?php
  2.  
  3. $t = gmp_init("229478441072721921");
  4. $byte_array_t = gmp_export($t, 8);
  5. $base64 = base64_encode($byte_array_t);
  6.  
  7. echo $base64;
  8.  
  9.  
  10. $decode = base64_decode($base64);
  11. $import = gmp_import($decode, 8);
  12. $int = gmp_intval($import);
  13.  
  14. echo $int;
Success #stdin #stdout 0.03s 26208KB
stdin
Standard input is empty
stdout
AQDAI21FLwM=229478441072721921