3v4l.org

run code in 300+ PHP versions simultaneously
<?php $element = 'москва'; $str= 'Москва'; $q = ereg($element."$", $str)!== false; var_dump($q);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Kdthu
function name:  (null)
number of ops:  13
compiled vars:  !0 = $element, !1 = $str, !2 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0'
    3     1        ASSIGN                                                   !1, '%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0'
    4     2        INIT_FCALL_BY_NAME                                       'ereg'
          3        CONCAT                                           ~5      !0, '%24'
          4        SEND_VAL_EX                                              ~5
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $6      
          7        TYPE_CHECK                                  1018  ~7      $6
          8        ASSIGN                                                   !2, ~7
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.05 ms | 1394 KiB | 15 Q