3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = pack('c*', -22); $testU = pack('C*', 234); echo $test; echo $testU; echo $test == $testU;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sTnBq
function name:  (null)
number of ops:  15
compiled vars:  !0 = $test, !1 = $testU
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'pack'
          1        SEND_VAL                                                 'c%2A'
          2        SEND_VAL                                                 -22
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'pack'
          6        SEND_VAL                                                 'C%2A'
          7        SEND_VAL                                                 234
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    5    10        ECHO                                                     !0
    6    11        ECHO                                                     !1
    7    12        IS_EQUAL                                         ~6      !0, !1
         13        ECHO                                                     ~6
    8    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.14 ms | 1394 KiB | 15 Q