3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); function a(){ return 'string'; } function b($c){ return $c; } $cleanup_applications = array(1,2,3,4,5); //$app_id =1; //$instance = & $cleanup_applications[$app_id]; $e =&a(); $f = &b(a());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qOE73
function name:  (null)
number of ops:  14
compiled vars:  !0 = $cleanup_applications, !1 = $e, !2 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    7     3        ASSIGN                                                   !0, <array>
   10     4        INIT_FCALL                                               'a'
          5        DO_FCALL                                      0  $5      
          6        ASSIGN_REF                                               !1, $5
   11     7        INIT_FCALL                                               'b'
          8        INIT_FCALL                                               'a'
          9        DO_FCALL                                      0  $7      
         10        SEND_VAR                                                 $7
         11        DO_FCALL                                      0  $8      
         12        ASSIGN_REF                                               !2, $8
         13      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qOE73
function name:  a
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   'string'
          1*     > RETURN                                                   null

End of function a

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

End of function b

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.64 ms | 1398 KiB | 18 Q