3v4l.org

run code in 300+ PHP versions simultaneously
<?php $status = 00000000; $status = hexdec($status); $status = $status |= 16; $status = $status |= 4096; echo strtoupper ( string_pad ( dechex ( $status ), 4 ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7PAV2
function name:  (null)
number of ops:  21
compiled vars:  !0 = $status
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    5     1        INIT_FCALL                                               'hexdec'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    7     5        ASSIGN_OP                                     9  ~4      !0, 16
          6        ASSIGN                                                   !0, ~4
    9     7        ASSIGN_OP                                     9  ~6      !0, 4096
          8        ASSIGN                                                   !0, ~6
   11     9        INIT_FCALL                                               'strtoupper'
         10        INIT_FCALL_BY_NAME                                       'string_pad'
         11        INIT_FCALL                                               'dechex'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $8      
         14        SEND_VAR_NO_REF_EX                                       $8
         15        SEND_VAL_EX                                              4
         16        DO_FCALL                                      0  $9      
         17        SEND_VAR                                                 $9
         18        DO_ICALL                                         $10     
         19        ECHO                                                     $10
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.38 ms | 1395 KiB | 19 Q