3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{ function a($one) {} } $t = new test; $t->a(); $t->a(1,2,3); $dll = new SplDoublyLinkedList(); $dll->offsetExists(1,2,3,4,5,6); var_dump($dll->offsetExists());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FaCvo
function name:  (null)
number of ops:  27
compiled vars:  !0 = $t, !1 = $dll
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $2      'test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    7     3        INIT_METHOD_CALL                                         !0, 'a'
          4        DO_FCALL                                      0          
    8     5        INIT_METHOD_CALL                                         !0, 'a'
          6        SEND_VAL_EX                                              1
          7        SEND_VAL_EX                                              2
          8        SEND_VAL_EX                                              3
          9        DO_FCALL                                      0          
   10    10        NEW                                              $7      'SplDoublyLinkedList'
         11        DO_FCALL                                      0          
         12        ASSIGN                                                   !1, $7
   11    13        INIT_METHOD_CALL                                         !1, 'offsetExists'
         14        SEND_VAL_EX                                              1
         15        SEND_VAL_EX                                              2
         16        SEND_VAL_EX                                              3
         17        SEND_VAL_EX                                              4
         18        SEND_VAL_EX                                              5
         19        SEND_VAL_EX                                              6
         20        DO_FCALL                                      0          
   12    21        INIT_FCALL                                               'var_dump'
         22        INIT_METHOD_CALL                                         !1, 'offsetExists'
         23        DO_FCALL                                      0  $11     
         24        SEND_VAR                                                 $11
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Class test:
Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FaCvo
function name:  a
number of ops:  2
compiled vars:  !0 = $one
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function a

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.24 ms | 1396 KiB | 15 Q