3v4l.org

run code in 300+ PHP versions simultaneously
<?php $BaseID = '1234567890'; $BaseIDHex = dechex($BaseID); $BaseIDHex = strtoupper(strrev($BaseIDHex)); $BaseIDHex = chunk_split($rows['value'], 2, ' '); echo $BaseIDHex;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HMiAT
function name:  (null)
number of ops:  21
compiled vars:  !0 = $BaseID, !1 = $BaseIDHex, !2 = $rows
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1234567890'
    4     1        INIT_FCALL                                               'dechex'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'strtoupper'
          6        INIT_FCALL                                               'strrev'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !1, $7
    6    12        INIT_FCALL                                               'chunk_split'
         13        FETCH_DIM_R                                      ~9      !2, 'value'
         14        SEND_VAL                                                 ~9
         15        SEND_VAL                                                 2
         16        SEND_VAL                                                 '+'
         17        DO_ICALL                                         $10     
         18        ASSIGN                                                   !1, $10
    7    19        ECHO                                                     !1
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.85 ms | 1395 KiB | 21 Q