3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start('callbackfunc'); echo 'test test test test test test test test test '; function callbackfunc($buffer) { $DB = new SQLite3('db'); $DB->exec('CREATE TABLE test (one int, two text);'); $DB->exec('INSERT INTO test VALUES (10, \'some text\')'); return $buffer; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7D9v
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        SEND_VAL                                                 'callbackfunc'
          2        DO_ICALL                                                 
    3     3        ECHO                                                     'test+test+test+test+test+test+test+test+test+'
    9     4      > RETURN                                                   1

Function callbackfunc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7D9v
function name:  callbackfunc
number of ops:  13
compiled vars:  !0 = $buffer, !1 = $DB
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        NEW                                              $2      'SQLite3'
          2        SEND_VAL_EX                                              'db'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $2
    6     5        INIT_METHOD_CALL                                         !1, 'exec'
          6        SEND_VAL_EX                                              'CREATE+TABLE+test+%28one+int%2C+two+text%29%3B'
          7        DO_FCALL                                      0          
    7     8        INIT_METHOD_CALL                                         !1, 'exec'
          9        SEND_VAL_EX                                              'INSERT+INTO+test+VALUES+%2810%2C+%27some+text%27%29'
         10        DO_FCALL                                      0          
    8    11      > RETURN                                                   !0
    9    12*     > RETURN                                                   null

End of function callbackfunc

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.36 ms | 1395 KiB | 15 Q