3v4l.org

run code in 300+ PHP versions simultaneously
<?php $BaseID = '1234567890'; $BaseIDHex = dechex($BaseID); echo $v = implode(' ',array_reverse(explode(' ',strtoupper(wordwrap($BaseIDHex, 2, " ", true)))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Egi1L
function name:  (null)
number of ops:  28
compiled vars:  !0 = $BaseID, !1 = $BaseIDHex, !2 = $v
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                                               'implode'
          6        SEND_VAL                                                 '+'
          7        INIT_FCALL                                               'array_reverse'
          8        INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '+'
         10        INIT_FCALL                                               'strtoupper'
         11        INIT_FCALL                                               'wordwrap'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 2
         14        SEND_VAL                                                 '+'
         15        SEND_VAL                                                 <true>
         16        DO_ICALL                                         $6      
         17        SEND_VAR                                                 $6
         18        DO_ICALL                                         $7      
         19        SEND_VAR                                                 $7
         20        DO_ICALL                                         $8      
         21        SEND_VAR                                                 $8
         22        DO_ICALL                                         $9      
         23        SEND_VAR                                                 $9
         24        DO_ICALL                                         $10     
         25        ASSIGN                                           ~11     !2, $10
         26        ECHO                                                     ~11
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.21 ms | 1395 KiB | 25 Q