3v4l.org

run code in 300+ PHP versions simultaneously
<?php $old = "Lorem ipsium"; $new = "Lorem ipsum"; echo xdiff_string_diff($old, $new, 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Vsdd
function name:  (null)
number of ops:  9
compiled vars:  !0 = $old, !1 = $new
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Lorem+ipsium'
    4     1        ASSIGN                                                   !1, 'Lorem+ipsum'
    6     2        INIT_FCALL_BY_NAME                                       'xdiff_string_diff'
          3        SEND_VAR_EX                                              !0
          4        SEND_VAR_EX                                              !1
          5        SEND_VAL_EX                                              1
          6        DO_FCALL                                      0  $4      
          7        ECHO                                                     $4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.36 ms | 1396 KiB | 13 Q