3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatted_hl7_placer_field_2 = "CT HEAD WO"; $hl7_obr_relevant_clinical_info="With contrast if CT without hemorrhage. Stroke Protocol"; $check_stoke_text=stripos($hl7_obr_relevant_clinical_info,"Stroke Protocal"); if ($formatted_hl7_placer_field_2=='CT HEAD WO') { $temp_is_stroke='true'; $temp_is_critical='true'; $temp_orders_type_id=3; print "check_stroke_text. $check_stoke_text \n"; print "Temp_is_Stroke:.$temp_is_stroke \n"; print "Temp_is_Stoke:.$temp_is_critical \n"; print "temp_orders_type_id:.$temp_orders_type_id \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 28
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/PPcUd
function name:  (null)
number of ops:  29
compiled vars:  !0 = $formatted_hl7_placer_field_2, !1 = $hl7_obr_relevant_clinical_info, !2 = $check_stoke_text, !3 = $temp_is_stroke, !4 = $temp_is_critical, !5 = $temp_orders_type_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'CT+HEAD+WO'
    4     1        ASSIGN                                                   !1, 'With+contrast+if+CT+without+hemorrhage.+Stroke+Protocol'
    6     2        INIT_FCALL                                               'stripos'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 'Stroke+Protocal'
          5        DO_ICALL                                         $8      
          6        ASSIGN                                                   !2, $8
    8     7        IS_EQUAL                                                 !0, 'CT+HEAD+WO'
          8      > JMPZ                                                     ~10, ->28
   10     9    >   ASSIGN                                                   !3, 'true'
   11    10        ASSIGN                                                   !4, 'true'
   12    11        ASSIGN                                                   !5, 3
   13    12        ROPE_INIT                                     3  ~15     'check_stroke_text.+'
         13        ROPE_ADD                                      1  ~15     ~15, !2
         14        ROPE_END                                      2  ~14     ~15, '+%0A'
         15        ECHO                                                     ~14
   14    16        ROPE_INIT                                     3  ~18     'Temp_is_Stroke%3A.'
         17        ROPE_ADD                                      1  ~18     ~18, !3
         18        ROPE_END                                      2  ~17     ~18, '+%0A'
         19        ECHO                                                     ~17
   15    20        ROPE_INIT                                     3  ~21     'Temp_is_Stoke%3A.'
         21        ROPE_ADD                                      1  ~21     ~21, !4
         22        ROPE_END                                      2  ~20     ~21, '+%0A'
         23        ECHO                                                     ~20
   16    24        ROPE_INIT                                     3  ~24     'temp_orders_type_id%3A.'
         25        ROPE_ADD                                      1  ~24     ~24, !5
         26        ROPE_END                                      2  ~23     ~24, '+%0A'
         27        ECHO                                                     ~23
   17    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.4 ms | 1396 KiB | 15 Q