3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hexadecimal = 'A37334'; $a = base_convert($hexadecimal, 16, 2); assert($hexadecimal == base_convert($a,2,16));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jIoa8
function name:  (null)
number of ops:  19
compiled vars:  !0 = $hexadecimal, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'A37334'
    4     1        INIT_FCALL                                               'base_convert'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 16
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    5     7        ASSERT_CHECK                                             
          8        INIT_FCALL                                               'assert'
          9        INIT_FCALL                                               'base_convert'
         10        SEND_VAR                                                 !1
         11        SEND_VAL                                                 2
         12        SEND_VAL                                                 16
         13        DO_ICALL                                         $5      
         14        IS_EQUAL                                         ~6      !0, $5
         15        SEND_VAL                                                 ~6
         16        SEND_VAL                                                 'assert%28%24hexadecimal+%3D%3D+base_convert%28%24a%2C+2%2C+16%29%29'
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.38 ms | 1394 KiB | 17 Q