3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function getCampaignsArray() { return ['asd']; } } $test = new Test(); empty($var = $test->getCampaignsArray());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ft8Lt
function name:  (null)
number of ops:  8
compiled vars:  !0 = $test, !1 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $2      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   12     3        INIT_METHOD_CALL                                         !0, 'getCampaignsArray'
          4        DO_FCALL                                      0  $5      
          5        ASSIGN                                           ~6      !1, $5
          6        BOOL_NOT                                         ~7      ~6
          7      > RETURN                                                   1

Class Test:
Function getcampaignsarray:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ft8Lt
function name:  getCampaignsArray
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   <array>
    8     1*     > RETURN                                                   null

End of function getcampaignsarray

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.08 ms | 1009 KiB | 13 Q