3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 ='Belgiƫ'; $string2 = 'Belgi&euml;'; if ($string1 === htmlspecialchars_decode($string2)) { echo '\o/'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/c0u02
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string1, !1 = $string2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Belgi%C3%AB'
    4     1        ASSIGN                                                   !1, 'Belgi%26euml%3B'
    6     2        INIT_FCALL                                               'htmlspecialchars_decode'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                         $4      
          5        IS_IDENTICAL                                             !0, $4
          6      > JMPZ                                                     ~5, ->8
    7     7    >   ECHO                                                     '%5Co%2F'
    8     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.64 ms | 1385 KiB | 15 Q