3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = str_repeat("\xFF", 40); echo '140da043c3c8c9355b73de375ba23ce82cd0aa7c2ba334a25b7058fbe3efaba2' == hash('gost', $test) ? 'bugged!' : 'ok';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0IECu
function name:  (null)
number of ops:  16
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 '%FF'
          2        SEND_VAL                                                 40
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        INIT_FCALL                                               'hash'
          6        SEND_VAL                                                 'gost'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        IS_EQUAL                                                 $3, '140da043c3c8c9355b73de375ba23ce82cd0aa7c2ba334a25b7058fbe3efaba2'
         10      > JMPZ                                                     ~4, ->13
         11    >   QM_ASSIGN                                        ~5      'bugged%21'
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~5      'ok'
         14    >   ECHO                                                     ~5
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.14 ms | 998 KiB | 15 Q