3v4l.org

run code in 300+ PHP versions simultaneously
<?php $old_article = 'Hello, my buddy!'; $new_article = 'Hallo, my good buddy?'; $diff = xdiff_string_diff($old_article, $new_article, 1); if (is_string($diff)) { echo "Differences between two articles:\n"; echo $diff; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/RXX3s
function name:  (null)
number of ops:  13
compiled vars:  !0 = $old_article, !1 = $new_article, !2 = $diff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Hello%2C+my+buddy%21'
    3     1        ASSIGN                                                   !1, 'Hallo%2C+my+good+buddy%3F'
    5     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  $5      
          7        ASSIGN                                                   !2, $5
    6     8        TYPE_CHECK                                   64          !2
          9      > JMPZ                                                     ~7, ->12
    7    10    >   ECHO                                                     'Differences+between+two+articles%3A%0A'
    8    11        ECHO                                                     !2
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.77 ms | 1393 KiB | 13 Q