3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = '14910855968770314426'; $guid = base_convert($id, 10, 16); $guid2 = gmp_strval(gmp_init($id, 10), 16); var_dump($guid); var_dump($guid2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OU4lK
function name:  (null)
number of ops:  23
compiled vars:  !0 = $id, !1 = $guid, !2 = $guid2
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   QM_ASSIGN                                                !0
   4     1        INIT_FCALL                                               'base_convert'
         2        SEND_VAR                                                 !0
         3        SEND_VAL                                                 10
         4        SEND_VAL                                                 16
         5        DO_ICALL                                         $4      
         6        QM_ASSIGN                                                !1
   5     7        INIT_FCALL                                               'gmp_strval'
         8        INIT_FCALL                                               'gmp_init'
         9        SEND_VAR                                                 !0
        10        SEND_VAL                                                 10
        11        DO_ICALL                                         $6      
        12        SEND_VAR                                                 $6
        13        SEND_VAL                                                 16
        14        DO_ICALL                                         $7      
        15        QM_ASSIGN                                                !2
   6    16        INIT_FCALL                                               'var_dump'
        17        SEND_VAR                                                 !1
        18        DO_ICALL                                                 
   7    19        INIT_FCALL                                               'var_dump'
        20        SEND_VAR                                                 !2
        21        DO_ICALL                                                 
        22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0