3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP $s1 = 'abcd'; $s2 = 'abcd'; //require $1 != $2 echo md5($s1); echo '||||'; echo hash('md5',$s2); //require 1 === 2 echo hash('sha512',$s1,true); echo hash('sha512',$s2,true); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QM5Xb
function name:  (null)
number of ops:  25
compiled vars:  !0 = $s1, !1 = $s2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'abcd'
    3     1        ASSIGN                                                   !1, 'abcd'
    6     2        INIT_FCALL                                               'md5'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ECHO                                                     $4
    7     6        ECHO                                                     '%7C%7C%7C%7C'
    8     7        INIT_FCALL                                               'hash'
          8        SEND_VAL                                                 'md5'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
   11    12        INIT_FCALL                                               'hash'
         13        SEND_VAL                                                 'sha512'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 <true>
         16        DO_ICALL                                         $6      
         17        ECHO                                                     $6
   12    18        INIT_FCALL                                               'hash'
         19        SEND_VAL                                                 'sha512'
         20        SEND_VAR                                                 !1
         21        SEND_VAL                                                 <true>
         22        DO_ICALL                                         $7      
         23        ECHO                                                     $7
   15    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.47 ms | 1395 KiB | 17 Q