3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xor1 = gmp_init(0x123456); $xor2 = gmp_init(0x851964); echo $xor1 . "\n"; echo $xor2 . "\n"; $xor3 = gmp_xor(1193046, 8722788); echo $xor3 . "\n"; echo gmp_strval($xor3, 16) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aVTFM
function name:  (null)
number of ops:  26
compiled vars:  !0 = $xor1, !1 = $xor2, !2 = $xor3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'gmp_init'
          1        SEND_VAL_EX                                              1193046
          2        DO_FCALL                                      0  $3      
          3        ASSIGN                                                   !0, $3
    3     4        INIT_FCALL_BY_NAME                                       'gmp_init'
          5        SEND_VAL_EX                                              8722788
          6        DO_FCALL                                      0  $5      
          7        ASSIGN                                                   !1, $5
    4     8        CONCAT                                           ~7      !0, '%0A'
          9        ECHO                                                     ~7
    5    10        CONCAT                                           ~8      !1, '%0A'
         11        ECHO                                                     ~8
    6    12        INIT_FCALL_BY_NAME                                       'gmp_xor'
         13        SEND_VAL_EX                                              1193046
         14        SEND_VAL_EX                                              8722788
         15        DO_FCALL                                      0  $9      
         16        ASSIGN                                                   !2, $9
    7    17        CONCAT                                           ~11     !2, '%0A'
         18        ECHO                                                     ~11
    8    19        INIT_FCALL_BY_NAME                                       'gmp_strval'
         20        SEND_VAR_EX                                              !2
         21        SEND_VAL_EX                                              16
         22        DO_FCALL                                      0  $12     
         23        CONCAT                                           ~13     $12, '%0A'
         24        ECHO                                                     ~13
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.05 ms | 1394 KiB | 13 Q