3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num1 = "80"; $srbytes = "\x{$num1}\x3e\x00\x00"; $array1 = unpack("v",$srbytes); var_dump($array1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pUMvX
function name:  (null)
number of ops:  14
compiled vars:  !0 = $num1, !1 = $srbytes, !2 = $array1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '80'
    5     1        ROPE_INIT                                     3  ~5      '%5Cx'
          2        ROPE_ADD                                      1  ~5      ~5, !0
          3        ROPE_END                                      2  ~4      ~5, '%3E%00%00'
          4        ASSIGN                                                   !1, ~4
    7     5        INIT_FCALL                                               'unpack'
          6        SEND_VAL                                                 'v'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !2, $8
    8    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.35 ms | 1398 KiB | 17 Q