3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL ^ E_NOTICE); ini_set('display_errors', '1'); $parm = $_POST['parm']; $parm = 's'; if(isset($parm['password']) && $parm['password'] == $parm) { echo 'ok'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 16
filename:       /in/jEEYD
function name:  (null)
number of ops:  19
compiled vars:  !0 = $parm
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32759
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 '1'
          6        DO_ICALL                                                 
    6     7        FETCH_R                      global              ~3      '_POST'
          8        FETCH_DIM_R                                      ~4      ~3, 'parm'
          9        ASSIGN                                                   !0, ~4
    7    10        ASSIGN                                                   !0, 's'
    9    11        ISSET_ISEMPTY_DIM_OBJ                         0  ~7      !0, 'password'
         12      > JMPZ_EX                                          ~7      ~7, ->16
         13    >   FETCH_DIM_R                                      ~8      !0, 'password'
         14        IS_EQUAL                                         ~9      !0, ~8
         15        BOOL                                             ~7      ~9
         16    > > JMPZ                                                     ~7, ->18
   10    17    >   ECHO                                                     'ok'
   11    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.82 ms | 1395 KiB | 17 Q