3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_domain = 'exx.text.ru'; $target_domain = 'text.ru'; var_dump(stristr($current_domain, '.' . $target_domain) == '.' . $target_domain);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WJiPc
function name:  (null)
number of ops:  13
compiled vars:  !0 = $current_domain, !1 = $target_domain
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'exx.text.ru'
    4     1        ASSIGN                                                   !1, 'text.ru'
    6     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'stristr'
          4        SEND_VAR                                                 !0
          5        CONCAT                                           ~4      '.', !1
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
          8        CONCAT                                           ~6      '.', !1
          9        IS_EQUAL                                         ~7      $5, ~6
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.03 ms | 1394 KiB | 17 Q