3v4l.org

run code in 300+ PHP versions simultaneously
<?php similar_text('test.','test2',$percent); similar_text('test','test2',$percent); similar_text('tes','test2',$percent); var_dump($percent);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2EtMX
function name:  (null)
number of ops:  19
compiled vars:  !0 = $percent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'similar_text'
          1        SEND_VAL                                                 'test.'
          2        SEND_VAL                                                 'test2'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    3     5        INIT_FCALL                                               'similar_text'
          6        SEND_VAL                                                 'test'
          7        SEND_VAL                                                 'test2'
          8        SEND_REF                                                 !0
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'similar_text'
         11        SEND_VAL                                                 'tes'
         12        SEND_VAL                                                 'test2'
         13        SEND_REF                                                 !0
         14        DO_ICALL                                                 
    5    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.85 ms | 1399 KiB | 17 Q