3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vbulletin->db->query_write(" INSERT INTO " . TABLE_PREFIX . "usernote (message, dateline, userid, posterid, title, allowsmilies) VALUES ('" . $db->escape_string($usernote_message) . "', " . TIMENOW . ", " . ($this->fetch_field('userid')) . ", " . $poster . ", '".$vbphrase['ncun_usernote_title']."', 1) ");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QTmXc
function name:  (null)
number of ops:  27
compiled vars:  !0 = $vbulletin, !1 = $db, !2 = $usernote_message, !3 = $poster, !4 = $vbphrase
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_OBJ_R                                      ~5      !0, 'db'
          1        INIT_METHOD_CALL                                         ~5, 'query_write'
    3     2        FETCH_CONSTANT                                   ~6      'TABLE_PREFIX'
          3        CONCAT                                           ~7      '%0A%09%09%09%09%09%09INSERT+INTO+', ~6
          4        CONCAT                                           ~8      ~7, 'usernote+%28message%2C+dateline%2C+userid%2C+posterid%2C+title%2C+allowsmilies%29%0A%09%09%09%09%09%09VALUES+%28%27'
    4     5        INIT_METHOD_CALL                                         !1, 'escape_string'
          6        SEND_VAR_EX                                              !2
          7        DO_FCALL                                      0  $9      
          8        CONCAT                                           ~10     ~8, $9
          9        CONCAT                                           ~11     ~10, '%27%2C+'
         10        FETCH_CONSTANT                                   ~12     'TIMENOW'
         11        CONCAT                                           ~13     ~11, ~12
         12        CONCAT                                           ~14     ~13, '%2C+'
         13        FETCH_THIS                                       $15     
         14        INIT_METHOD_CALL                                         $15, 'fetch_field'
         15        SEND_VAL_EX                                              'userid'
         16        DO_FCALL                                      0  $16     
         17        CONCAT                                           ~17     ~14, $16
         18        CONCAT                                           ~18     ~17, '%2C+'
         19        CONCAT                                           ~19     ~18, !3
         20        CONCAT                                           ~20     ~19, '%2C+%27'
         21        FETCH_DIM_R                                      ~21     !4, 'ncun_usernote_title'
         22        CONCAT                                           ~22     ~20, ~21
         23        CONCAT                                           ~23     ~22, '%27%2C+1%29%0A%09%09%09%09%09'
         24        SEND_VAL_EX                                              ~23
         25        DO_FCALL                                      0          
    5    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.01 ms | 1385 KiB | 13 Q