Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 46) Position 1 = 30, Position 2 = 37
Branch analysis from position: 30
2 jumps found. (Code = 47) Position 1 = 33, Position 2 = 36
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 26
Branch analysis from position: 38
1 jumps found. (Code = 42) Position 1 = 79
Branch analysis from position: 79
2 jumps found. (Code = 44) Position 1 = 82, Position 2 = 39
Branch analysis from position: 82
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 42, Position 2 = 76
Branch analysis from position: 42
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 76
Branch analysis from position: 54
2 jumps found. (Code = 44) Position 1 = 82, Position 2 = 39
Branch analysis from position: 82
Branch analysis from position: 39
Branch analysis from position: 76
Branch analysis from position: 76
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
Branch analysis from position: 36
Branch analysis from position: 37
filename: /in/pZA7L
function name: (null)
number of ops: 85
compiled vars: !0 = $xmlns_siri, !1 = $searchForID, !2 = $reader, !3 = $document, !4 = $xpath, !5 = $item
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, 'http%3A%2F%2Fwww.siri.org.uk%2Fsiri'
5 1 ASSIGN !1, '2755'
7 2 NEW $8 'XMLReader'
3 DO_FCALL 0
4 ASSIGN !2, $8
8 5 INIT_METHOD_CALL !2, 'open'
6 INIT_FCALL 'base64_encode'
7 INIT_FCALL_BY_NAME 'getXMLString'
8 DO_FCALL 0 $11
9 SEND_VAR $11
10 DO_ICALL $12
11 CONCAT ~13 'data%3Atext%2Fxml%3Bbase64%2C', $12
12 SEND_VAL_EX ~13
13 DO_FCALL 0
10 14 NEW $15 'DOMDocument'
15 DO_FCALL 0
16 ASSIGN !3, $15
11 17 NEW $18 'DOMXpath'
18 SEND_VAR_EX !3
19 DO_FCALL 0
20 ASSIGN !4, $18
13 21 INIT_METHOD_CALL !4, 'registerNamespace'
22 SEND_VAL_EX 'siri'
23 SEND_VAR_EX !0
24 DO_FCALL 0
17 25 > JMP ->27
23 26 > > JMP ->27
17 27 > INIT_METHOD_CALL !2, 'read'
28 DO_FCALL 0 $22
29 > JMPZ_EX ~23 $22, ->37
19 30 > FETCH_OBJ_R ~24 !2, 'localName'
31 IS_NOT_IDENTICAL ~25 ~24, 'EstimatedVehicleJourney'
32 > JMPNZ_EX ~25 ~25, ->36
20 33 > FETCH_OBJ_R ~26 !2, 'namespaceURI'
34 IS_NOT_IDENTICAL ~27 !0, ~26
35 BOOL ~25 ~27
36 > BOOL ~23 ~25
37 > > JMPNZ ~23, ->26
27 38 > > JMP ->79
29 39 > FETCH_OBJ_R ~28 !2, 'namespaceURI'
40 IS_IDENTICAL !0, ~28
41 > JMPZ ~29, ->76
31 42 > INIT_METHOD_CALL !2, 'expand'
43 SEND_VAR_EX !3
44 DO_FCALL 0 $30
45 ASSIGN !5, $30
34 46 INIT_METHOD_CALL !4, 'evaluate'
47 ROPE_INIT 3 ~33 'count%28self%3A%3A%2A%5Bsiri%3AVehicleRef+%3D+%27'
48 ROPE_ADD 1 ~33 ~33, !1
49 ROPE_END 2 ~32 ~33, '%27%5D%29+%3E+0'
50 SEND_VAL_EX ~32
51 SEND_VAR_EX !5
52 DO_FCALL 0 $35
53 > JMPZ $35, ->76
35 54 > INIT_FCALL 'var_dump'
38 55 INIT_METHOD_CALL !4, 'evaluate'
56 SEND_VAL_EX 'string%28siri%3AOriginName%29'
57 SEND_VAR_EX !5
58 DO_FCALL 0 $36
59 INIT_ARRAY ~37 $36, 'name'
40 60 INIT_FCALL 'array_map'
41 61 DECLARE_LAMBDA_FUNCTION ~38 [0]
62 BIND_LEXICAL ~38, !4
46 63 SEND_VAL ~38
47 64 INIT_FCALL 'iterator_to_array'
48 65 INIT_METHOD_CALL !4, 'evaluate'
66 SEND_VAL_EX 'siri%3ARecordedCalls%2Fsiri%3ARecordedCall'
67 SEND_VAR_EX !5
68 DO_FCALL 0 $39
69 SEND_VAR $39
47 70 DO_ICALL $40
48 71 SEND_VAR $40
40 72 DO_ICALL $41
48 73 ADD_ARRAY_ELEMENT ~37 $41, 'calls'
74 SEND_VAL ~37
35 75 DO_ICALL
55 76 > INIT_METHOD_CALL !2, 'next'
77 SEND_VAL_EX 'EstimatedVehicleJourney'
78 DO_FCALL 0
27 79 > FETCH_OBJ_R ~44 !2, 'localName'
80 IS_IDENTICAL ~44, 'EstimatedVehicleJourney'
81 > JMPNZ ~45, ->39
57 82 > INIT_METHOD_CALL !2, 'close'
83 DO_FCALL 0
182 84 > 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/pZA7L
function name: {closure}
number of ops: 14
compiled vars: !0 = $call, !1 = $xpath
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
41 0 E > RECV !0
1 BIND_STATIC !1
43 2 INIT_METHOD_CALL !1, 'evaluate'
3 SEND_VAL_EX 'string%28siri%3AStopPointName%29'
4 SEND_VAR_EX !0
5 DO_FCALL 0 $2
6 INIT_ARRAY ~3 $2, 'name'
44 7 INIT_METHOD_CALL !1, 'evaluate'
8 SEND_VAL_EX 'string%28siri%3AStopPointRef%29'
9 SEND_VAR_EX !0
10 DO_FCALL 0 $4
11 ADD_ARRAY_ELEMENT ~3 $4, 'reference'
12 > RETURN ~3
46 13* > RETURN null
End of Dynamic Function 0
Function getxmlstring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pZA7L
function name: getXMLString
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
61 0 E > > RETURN '%3CSiri+xmlns%3D%22http%3A%2F%2Fwww.siri.org.uk%2Fsiri%22%3E%0A++%3CServiceDelivery%3E%0A++++%3CResponseTimestamp%3E2021-09-02T18%3A36%3A10%2B02%3A00%3C%2FResponseTimestamp%3E%0A++++%3CStatus%3Etrue%3C%2FStatus%3E%0A++++%3CMoreData%3Efalse%3C%2FMoreData%3E%0A++++%3CEstimatedTimetableDelivery%3E%0A++++++%3CResponseTimestamp%3E2021-09-02T18%3A36%3A10%2B02%3A00%3C%2FResponseTimestamp%3E%0A++++++%3CValidUntil%3E2021-09-02T19%3A36%3A10%2B02%3A00%3C%2FValidUntil%3E%0A++++++%3CEstimatedJourneyVersionFrame%3E%0A++++++++%3CRecordedAtTime%3E2021-09-02T18%3A36%3A10%2B02%3A00%3C%2FRecordedAtTime%3E%0A++++++++%3CEstimatedVehicleJourney%3E%0A++++++++++%3CLineRef%3EL2%3C%2FLineRef%3E%0A++++++++++%3CDirectionRef%3ESKI%3C%2FDirectionRef%3E%0A++++++++++%3CDatedVehicleJourneyRef%3E2755%3A2021-09-02%3C%2FDatedVehicleJourneyRef%3E%0A++++++++++%3CVehicleMode%3Erail%3C%2FVehicleMode%3E%0A++++++++++%3COriginRef%3ESTB%3C%2FOriginRef%3E%0A++++++++++%3COriginName%3EStabekk%3C%2FOriginName%3E%0A++++++++++%3CDestinationRef%3ESKI%3C%2FDestinationRef%3E%0A++++++++++%3CDestinationName%3ESki%3C%2FDestinationName%3E%0A++++++++++%3COperatorRef%3EVY%3C%2FOperatorRef%3E%0A++++++++++%3CProductCategoryRef%3ELt%3C%2FProductCategoryRef%3E%0A++++++++++%3CServiceFeatureRef%3EpassengerTrain%3C%2FServiceFeatureRef%3E%0A++++++++++%3CVehicleRef%3E2755%3C%2FVehicleRef%3E%0A++++++++++++%3CRecordedCalls%3E%0A++++++++++++++%3CRecordedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESTB%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3EStabekk%3C%2FStopPointName%3E%0A++++++++++++++++%3CAimedDepartureTime%3E2021-09-02T18%3A19%3A00%2B02%3A00%3C%2FAimedDepartureTime%3E%0A++++++++++++++++%3CDeparturePlatformName%3E2%3C%2FDeparturePlatformName%3E%0A++++++++++++++++%3CActualDepartureTime%3E2021-09-02T18%3A19%3A13%2B02%3A00%3C%2FActualDepartureTime%3E%0A++++++++++++++%3C%2FRecordedCall%3E%0A++++++++++++++%3CRecordedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESTB%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3EStabekk%3C%2FStopPointName%3E%0A++++++++++++++++%3CAimedDepartureTime%3E2021-09-02T18%3A19%3A00%2B02%3A00%3C%2FAimedDepartureTime%3E%0A++++++++++++++++%3CDeparturePlatformName%3E2%3C%2FDeparturePlatformName%3E%0A++++++++++++++++%3CActualDepartureTime%3E2021-09-02T18%3A19%3A13%2B02%3A00%3C%2FActualDepartureTime%3E%0A++++++++++++++%3C%2FRecordedCall%3E%0A++++++++++++%3C%2FRecordedCalls%3E%0A++++++++++++%3CEstimatedCalls%3E%0A++++++++++++++%3CEstimatedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESKI%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3ESki%3C%2FStopPointName%3E%0A++++++++++++++++%3CRequestStop%3Efalse%3C%2FRequestStop%3E%0A++++++++++++++++%3CAimedArrivalTime%3E2021-09-02T18%3A39%3A00%2B02%3A00%3C%2FAimedArrivalTime%3E%0A++++++++++++++++%3CExpectedArrivalTime%3E2021-09-02T18%3A40%3A42%2B02%3A00%3C%2FExpectedArrivalTime%3E%0A++++++++++++++++%3CArrivalStatus%3EonTime%3C%2FArrivalStatus%3E%0A++++++++++++++++%3CArrivalPlatformName%3E1%3C%2FArrivalPlatformName%3E%0A++++++++++++++++%3CArrivalBoardingActivity%3Ealighting%3C%2FArrivalBoardingActivity%3E%0A++++++++++++++%3C%2FEstimatedCall%3E%0A++++++++++++++%3CEstimatedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESKI%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3ESki%3C%2FStopPointName%3E%0A++++++++++++++++%3CRequestStop%3Efalse%3C%2FRequestStop%3E%0A++++++++++++++++%3CAimedArrivalTime%3E2021-09-02T18%3A39%3A00%2B02%3A00%3C%2FAimedArrivalTime%3E%0A++++++++++++++++%3CExpectedArrivalTime%3E2021-09-02T18%3A40%3A42%2B02%3A00%3C%2FExpectedArrivalTime%3E%0A++++++++++++++++%3CArrivalStatus%3EonTime%3C%2FArrivalStatus%3E%0A++++++++++++++++%3CArrivalPlatformName%3E1%3C%2FArrivalPlatformName%3E%0A++++++++++++++++%3CArrivalBoardingActivity%3Ealighting%3C%2FArrivalBoardingActivity%3E%0A++++++++++++++%3C%2FEstimatedCall%3E%0A++++++++++++%3C%2FEstimatedCalls%3E%0A++++++++++%3CIsCompleteStopSequence%3Etrue%3C%2FIsCompleteStopSequence%3E%0A++++++++%3C%2FEstimatedVehicleJourney%3E%0A++++++++%3CEstimatedVehicleJourney%3E%0A++++++++++%3CLineRef%3EL2%3C%2FLineRef%3E%0A++++++++++%3CDirectionRef%3ESKI%3C%2FDirectionRef%3E%0A++++++++++%3CDatedVehicleJourneyRef%3E2755%3A2021-09-02%3C%2FDatedVehicleJourneyRef%3E%0A++++++++++%3CVehicleMode%3Erail%3C%2FVehicleMode%3E%0A++++++++++%3COriginRef%3ESTB%3C%2FOriginRef%3E%0A++++++++++%3COriginName%3EStabekk%3C%2FOriginName%3E%0A++++++++++%3CDestinationRef%3ESKI%3C%2FDestinationRef%3E%0A++++++++++%3CDestinationName%3ESki%3C%2FDestinationName%3E%0A++++++++++%3COperatorRef%3EVY%3C%2FOperatorRef%3E%0A++++++++++%3CProductCategoryRef%3ELt%3C%2FProductCategoryRef%3E%0A++++++++++%3CServiceFeatureRef%3EpassengerTrain%3C%2FServiceFeatureRef%3E%0A++++++++++%3CVehicleRef%3E2755%3C%2FVehicleRef%3E%0A++++++++++++%3CRecordedCalls%3E%0A++++++++++++++%3CRecordedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESTB%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3EStabekk%3C%2FStopPointName%3E%0A++++++++++++++++%3CAimedDepartureTime%3E2021-09-02T18%3A19%3A00%2B02%3A00%3C%2FAimedDepartureTime%3E%0A++++++++++++++++%3CDeparturePlatformName%3E2%3C%2FDeparturePlatformName%3E%0A++++++++++++++++%3CActualDepartureTime%3E2021-09-02T18%3A19%3A13%2B02%3A00%3C%2FActualDepartureTime%3E%0A++++++++++++++%3C%2FRecordedCall%3E%0A++++++++++++++%3CRecordedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESTB%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3EStabekk%3C%2FStopPointName%3E%0A++++++++++++++++%3CAimedDepartureTime%3E2021-09-02T18%3A19%3A00%2B02%3A00%3C%2FAimedDepartureTime%3E%0A++++++++++++++++%3CDeparturePlatformName%3E2%3C%2FDeparturePlatformName%3E%0A++++++++++++++++%3CActualDepartureTime%3E2021-09-02T18%3A19%3A13%2B02%3A00%3C%2FActualDepartureTime%3E%0A++++++++++++++%3C%2FRecordedCall%3E%0A++++++++++++%3C%2FRecordedCalls%3E%0A++++++++++++%3CEstimatedCalls%3E%0A++++++++++++++%3CEstimatedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESKI%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3ESki%3C%2FStopPointName%3E%0A++++++++++++++++%3CRequestStop%3Efalse%3C%2FRequestStop%3E%0A++++++++++++++++%3CAimedArrivalTime%3E2021-09-02T18%3A39%3A00%2B02%3A00%3C%2FAimedArrivalTime%3E%0A++++++++++++++++%3CExpectedArrivalTime%3E2021-09-02T18%3A40%3A42%2B02%3A00%3C%2FExpectedArrivalTime%3E%0A++++++++++++++++%3CArrivalStatus%3EonTime%3C%2FArrivalStatus%3E%0A++++++++++++++++%3CArrivalPlatformName%3E1%3C%2FArrivalPlatformName%3E%0A++++++++++++++++%3CArrivalBoardingActivity%3Ealighting%3C%2FArrivalBoardingActivity%3E%0A++++++++++++++%3C%2FEstimatedCall%3E%0A++++++++++++++%3CEstimatedCall%3E%0A++++++++++++++++%3CStopPointRef%3ESKI%3C%2FStopPointRef%3E%0A++++++++++++++++%3CStopPointName%3ESki%3C%2FStopPointName%3E%0A++++++++++++++++%3CRequestStop%3Efalse%3C%2FRequestStop%3E%0A++++++++++++++++%3CAimedArrivalTime%3E2021-09-02T18%3A39%3A00%2B02%3A00%3C%2FAimedArrivalTime%3E%0A++++++++++++++++%3CExpectedArrivalTime%3E2021-09-02T18%3A40%3A42%2B02%3A00%3C%2FExpectedArrivalTime%3E%0A++++++++++++++++%3CArrivalStatus%3EonTime%3C%2FArrivalStatus%3E%0A++++++++++++++++%3CArrivalPlatformName%3E1%3C%2FArrivalPlatformName%3E%0A++++++++++++++++%3CArrivalBoardingActivity%3Ealighting%3C%2FArrivalBoardingActivity%3E%0A++++++++++++++%3C%2FEstimatedCall%3E%0A++++++++++++%3C%2FEstimatedCalls%3E%0A++++++++++%3CIsCompleteStopSequence%3Etrue%3C%2FIsCompleteStopSequence%3E%0A++++++++%3C%2FEstimatedVehicleJourney%3E%0A++++++%3C%2FEstimatedJourneyVersionFrame%3E%0A++++%3C%2FEstimatedTimetableDelivery%3E%0A++%3C%2FServiceDelivery%3E%0A%3C%2FSiri%3E'
182 1* > RETURN null
End of function getxmlstring
Generated using Vulcan Logic Dumper, using php 8.0.0