3v4l.org

run code in 300+ PHP versions simultaneously
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <?php //差分を見て前回から更新があったかどうか確認 $old_article = file_get_contents('https://i-bitzedge.com/cron/test/test_old.html'); $new_article = file_get_contents('https://i-bitzedge.com/cron/test/test_new.html'); $diff = xdiff_string_diff($old_article, $new_article, 1); if (is_string($diff)) { echo "2 つの記事の差分:\n"; echo $diff; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/51K8Q
function name:  (null)
number of ops:  20
compiled vars:  !0 = $old_article, !1 = $new_article, !2 = $diff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3B+charset%3DUTF-8%22%3E%0A'
    5     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAL                                                 'https%3A%2F%2Fi-bitzedge.com%2Fcron%2Ftest%2Ftest_old.html'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    6     5        INIT_FCALL                                               'file_get_contents'
          6        SEND_VAL                                                 'https%3A%2F%2Fi-bitzedge.com%2Fcron%2Ftest%2Ftest_new.html'
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    9     9        INIT_FCALL_BY_NAME                                       'xdiff_string_diff'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !1
         12        SEND_VAL_EX                                              1
         13        DO_FCALL                                      0  $7      
         14        ASSIGN                                                   !2, $7
   10    15        TYPE_CHECK                                   64          !2
         16      > JMPZ                                                     ~9, ->19
   11    17    >   ECHO                                                     '2+%E3%81%A4%E3%81%AE%E8%A8%98%E4%BA%8B%E3%81%AE%E5%B7%AE%E5%88%86%3A%0A'
   12    18        ECHO                                                     !2
   15    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.03 ms | 1386 KiB | 15 Q