3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $a = hex2bin("1b204422433222ebbb1b2842"), mb_convert_encoding($a, "UTF-8", "ISO-2022-JP"), mb_strpos($a, "?", 0, "ISO-2022-JP") );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5VFTv
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'hex2bin'
          2        SEND_VAL                                                 '1b204422433222ebbb1b2842'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                           ~2      !0, $1
          5        SEND_VAL                                                 ~2
    5     6        INIT_FCALL                                               'mb_convert_encoding'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 'UTF-8'
          9        SEND_VAL                                                 'ISO-2022-JP'
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
    6    12        INIT_FCALL                                               'mb_strpos'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 '%3F'
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 'ISO-2022-JP'
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                                 
    7    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.71 ms | 1395 KiB | 21 Q