3v4l.org

run code in 300+ PHP versions simultaneously
<?php $db = new SQLite3(':memory:'); $stmt = $db->prepare('SELECT * FROM test WHERE test = ?'); $res = $stmt->bindfParam(1, '11111a', SQLITE3_INTEGER); var_dump($res); var_dump($stmt);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eh2cv
function name:  (null)
number of ops:  21
compiled vars:  !0 = $db, !1 = $stmt, !2 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'SQLite3'
          1        SEND_VAL_EX                                              '%3Amemory%3A'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    4     4        INIT_METHOD_CALL                                         !0, 'prepare'
          5        SEND_VAL_EX                                              'SELECT+%2A+FROM+test+WHERE+test+%3D+%3F'
          6        DO_FCALL                                      0  $6      
          7        ASSIGN                                                   !1, $6
    5     8        INIT_METHOD_CALL                                         !1, 'bindfParam'
          9        SEND_VAL_EX                                              1
         10        SEND_VAL_EX                                              '11111a'
         11        SEND_VAL_EX                                              1
         12        DO_FCALL                                      0  $8      
         13        ASSIGN                                                   !2, $8
    6    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
    7    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.62 ms | 1395 KiB | 15 Q