3v4l.org

run code in 300+ PHP versions simultaneously
<?php include_once("content.php"); $_SESSION['lang'] = 'nl'; if(isset($_GET['done']) && isset($_GET['ord'])) { include_once("funadmin/class/class.db.php"); global $db_object; $db_object = new dbClassi(); $sql = "UPDATE orders SET status=1 WHERE id=".$_GET['ord']; $db_object->query($sql); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 23
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
Branch analysis from position: 10
filename:       /in/LmatA
function name:  (null)
number of ops:  24
compiled vars:  !0 = $db_object, !1 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INCLUDE_OR_EVAL                                          'content.php', INCLUDE_ONCE
    3     1        FETCH_W                      global              $3      '_SESSION'
          2        ASSIGN_DIM                                               $3, 'lang'
          3        OP_DATA                                                  'nl'
    5     4        FETCH_IS                                         ~5      '_GET'
          5        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      ~5, 'done'
          6      > JMPZ_EX                                          ~6      ~6, ->10
          7    >   FETCH_IS                                         ~7      '_GET'
          8        ISSET_ISEMPTY_DIM_OBJ                         0  ~8      ~7, 'ord'
          9        BOOL                                             ~6      ~8
         10    > > JMPZ                                                     ~6, ->23
    7    11    >   INCLUDE_OR_EVAL                                          'funadmin%2Fclass%2Fclass.db.php', INCLUDE_ONCE
    9    12        BIND_GLOBAL                                              !0, 'db_object'
   10    13        NEW                                              $10     'dbClassi'
         14        DO_FCALL                                      0          
         15        ASSIGN                                                   !0, $10
   11    16        FETCH_R                      global              ~13     '_GET'
         17        FETCH_DIM_R                                      ~14     ~13, 'ord'
         18        CONCAT                                           ~15     'UPDATE+orders+SET+status%3D1+WHERE+id%3D', ~14
         19        ASSIGN                                                   !1, ~15
   12    20        INIT_METHOD_CALL                                         !0, 'query'
         21        SEND_VAR_EX                                              !1
         22        DO_FCALL                                      0          
   15    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.84 ms | 1394 KiB | 13 Q