3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'password'; $hashed = false; $password = !$hashed ?: md5($password); echo $password;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pDa0a
function name:  (null)
number of ops:  11
compiled vars:  !0 = $password, !1 = $hashed
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'password'
    4     1        ASSIGN                                                   !1, <false>
    6     2        BOOL_NOT                                         ~4      !1
          3        JMP_SET                                          ~5      ~4, ->8
          4        INIT_FCALL                                               'md5'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $6      
          7        QM_ASSIGN                                        ~5      $6
          8        ASSIGN                                                   !0, ~5
    8     9        ECHO                                                     !0
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.12 ms | 1394 KiB | 15 Q