3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stmt = $dbh->prepare("SELECT * FROM registry WHERE name LIKE '%?%'"); $stmt->execute(array($_GET['name']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OrnVl
function name:  (null)
number of ops:  11
compiled vars:  !0 = $stmt, !1 = $dbh
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_METHOD_CALL                                         !1, 'prepare'
          1        SEND_VAL_EX                                              'SELECT+%2A+FROM+registry+WHERE+name+LIKE+%27%25%3F%25%27'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_METHOD_CALL                                         !0, 'execute'
          5        FETCH_R                      global              ~4      '_GET'
          6        FETCH_DIM_R                                      ~5      ~4, 'name'
          7        INIT_ARRAY                                       ~6      ~5
          8        SEND_VAL_EX                                              ~6
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.17 ms | 1392 KiB | 13 Q