Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/51jXY
function name: (null)
number of ops: 17
compiled vars: !0 = $some_resource, !1 = $fn
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
10 0 E > ECHO 'acquire+some_resource%0A'
11 1 INIT_FCALL 'acquire_some_resource'
2 DO_FCALL 0 $2
3 ASSIGN !0, $2
12 4 ECHO 'create+fn+capturing+some_resource+by+value%0A'
13 5 DECLARE_LAMBDA_FUNCTION ~4 [0]
6 BIND_LEXICAL ~4, !0
7 ASSIGN !1, ~4
16 8 ECHO 'call+fn%0A'
17 9 INIT_DYNAMIC_CALL !1
10 DO_FCALL 0
18 11 ECHO 'unset+fn%0A'
19 12 ASSIGN !1, null
20 13 ECHO 'unset+some_resource%0A'
21 14 ASSIGN !0, null
22 15 ECHO 'DONE.%0A'
16 > RETURN 1
Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/51jXY
function name: {closure}
number of ops: 3
compiled vars: !0 = $some_resource
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
13 0 E > BIND_STATIC !0
14 1 ASSIGN !0, null
15 2 > RETURN null
End of Dynamic Function 0
Function acquire_some_resource:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/51jXY
function name: acquire_some_resource
number of ops: 5
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > DECLARE_ANON_CLASS 4294967295
1 NEW $1 $0
2 DO_FCALL 0
3 > RETURN $1
8 4* > RETURN null
End of function acquire_some_resource
Class class@anonymous:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/51jXY
function name: __construct
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
5 0 E > ECHO '%3Clocked%3E%0A'
1 > RETURN null
End of function __construct
Function __destruct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/51jXY
function name: __destruct
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
6 0 E > ECHO '%3C%2Flocked%3E%0A'
1 > RETURN null
End of function __destruct
End of class class@anonymous.
Generated using Vulcan Logic Dumper, using php 8.0.0