3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'steev'; $color = dechex(crc32($name)); $color = substr($color, 0, 6); echo $color; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qAKcU
function name:  (null)
number of ops:  16
compiled vars:  !0 = $name, !1 = $color
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'steev'
    4     1        INIT_FCALL                                               'dechex'
          2        INIT_FCALL                                               'crc32'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    5     8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !1
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 6
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
    7    14        ECHO                                                     !1
    8    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.13 ms | 1394 KiB | 19 Q