3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first="\x00\x01\x02"; $second="\x00\x01\x03"; var_dump(similar_text($first,$second,$percent),$percent,bin2hex($first),bin2hex($second));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r7IXQ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $first, !1 = $second, !2 = $percent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%00%01%02'
    3     1        ASSIGN                                                   !1, '%00%01%03'
    4     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'similar_text'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !2
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        SEND_VAR                                                 !2
         10        INIT_FCALL                                               'bin2hex'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        INIT_FCALL                                               'bin2hex'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $7      
         17        SEND_VAR                                                 $7
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.46 ms | 1395 KiB | 19 Q