3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code_1 = "F255I000000"; $binary_1 = base_convert($code_1, 31, 2); echo "code 1: $code_1\\n"; echo "code 2: ".base_convert($binary_1, 2, 31); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2MOaE
function name:  (null)
number of ops:  19
compiled vars:  !0 = $code_1, !1 = $binary_1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'F255I000000'
    3     1        INIT_FCALL                                               'base_convert'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 31
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    4     7        ROPE_INIT                                     3  ~6      'code+1%3A+'
          8        ROPE_ADD                                      1  ~6      ~6, !0
          9        ROPE_END                                      2  ~5      ~6, '%5Cn'
         10        ECHO                                                     ~5
    5    11        INIT_FCALL                                               'base_convert'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 2
         14        SEND_VAL                                                 31
         15        DO_ICALL                                         $8      
         16        CONCAT                                           ~9      'code+2%3A+', $8
         17        ECHO                                                     ~9
    6    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.17 ms | 1394 KiB | 15 Q