3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function delete($where, $cb = null) { var_dump('DELETE FROM table WHERE ' . $where->expr); } } $a = new Test(); $a->delete(1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OW8b2
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   11     3        INIT_METHOD_CALL                                         !0, 'delete'
          4        SEND_VAL_EX                                              1
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class Test:
Function delete:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OW8b2
function name:  delete
number of ops:  8
compiled vars:  !0 = $where, !1 = $cb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
    6     2        INIT_FCALL                                               'var_dump'
          3        FETCH_OBJ_R                                      ~2      !0, 'expr'
          4        CONCAT                                           ~3      'DELETE+FROM+table+WHERE+', ~2
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    7     7      > RETURN                                                   null

End of function delete

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.15 ms | 1395 KiB | 15 Q