3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text1 = "Today is a very good day"; $text2 = "Today is a very shit day"; echo similar_text($text1, $text2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5U2O8
function name:  (null)
number of ops:  8
compiled vars:  !0 = $text1, !1 = $text2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Today+is+a+very+good+day'
    4     1        ASSIGN                                                   !1, 'Today+is+a+very+shit+day'
    6     2        INIT_FCALL                                               'similar_text'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.04 ms | 1394 KiB | 15 Q