3v4l.org

run code in 300+ PHP versions simultaneously
<?php $byte1 = "\xf0"; $byte2 = $byte1 >> 1; var_dump($byte1, bin2hex($byte1), $byte2, bin2hex($byte2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J0aVl
function name:  (null)
number of ops:  16
compiled vars:  !0 = $byte1, !1 = $byte2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%F0'
    4     1        SR                                               ~3      !0, 1
          2        ASSIGN                                                   !1, ~3
    5     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        INIT_FCALL                                               'bin2hex'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        SEND_VAR                                                 !1
         10        INIT_FCALL                                               'bin2hex'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
321.78 ms | 1398 KiB | 18 Q