3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = decbin(193); echo $t1; echo "\n"; $t2 = substr($t1, 0, 6); echo $t2; echo "\n"; $t3 = bindec($t2); echo $t3; echo "\n"; var_dump(chr($t3)); //echo $t4; echo "\n"; echo chr(bindec(substr(decbin(193), 0, 6)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hJpiU
function name:  (null)
number of ops:  43
compiled vars:  !0 = $t1, !1 = $t2, !2 = $t3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'decbin'
          1        SEND_VAL                                                 193
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        ECHO                                                     !0
    4     5        ECHO                                                     '%0A'
    5     6        INIT_FCALL                                               'substr'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 6
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    6    12        ECHO                                                     !1
    7    13        ECHO                                                     '%0A'
    8    14        INIT_FCALL                                               'bindec'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $7      
         17        ASSIGN                                                   !2, $7
    9    18        ECHO                                                     !2
   10    19        ECHO                                                     '%0A'
   11    20        INIT_FCALL                                               'var_dump'
         21        INIT_FCALL                                               'chr'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                         $9      
         24        SEND_VAR                                                 $9
         25        DO_ICALL                                                 
   13    26        ECHO                                                     '%0A'
   14    27        INIT_FCALL                                               'chr'
         28        INIT_FCALL                                               'bindec'
         29        INIT_FCALL                                               'substr'
         30        INIT_FCALL                                               'decbin'
         31        SEND_VAL                                                 193
         32        DO_ICALL                                         $11     
         33        SEND_VAR                                                 $11
         34        SEND_VAL                                                 0
         35        SEND_VAL                                                 6
         36        DO_ICALL                                         $12     
         37        SEND_VAR                                                 $12
         38        DO_ICALL                                         $13     
         39        SEND_VAR                                                 $13
         40        DO_ICALL                                         $14     
         41        ECHO                                                     $14
         42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.75 ms | 1396 KiB | 23 Q