3v4l.org

run code in 300+ PHP versions simultaneously
<?php $accountNumber = "28947754"; $confirmationNumber = "1352524556"; $sess = array("stuff"=>""); if(($accountNumber !== "" && $accountNumber !== "N/A") && ($confirmationNumber !== "" && $confirmationNumber !== "N/A")) { $displayString = "<h1 style=\"text-decoration: underline;\">Order Successfully Placed</h1>"; $displayString .= "<div id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<p>Your order has been placed successfully. Please find your account number and confirmation number below.<br />Keep these numbers for your reference should you need further assistance with your order."; $displayString .= "<ul class=\"confirmationInfo\">"; $displayString .= "<li>Account Number: <strong>{$accountNumber}</strong></li>"; $displayString .= "<li>Confirmation Number: <strong>{$confirmationNumber}</strong></li>"; $displayString .= "</ul>"; $displayString .= "<p>If you need further information concerning this order, please call 1-888-327-8454.</p>"; $displayString .= "</div>"; echo $displayString; } else if(array_key_exists("EL_xml_Error",$sess) && isset($sess["EL_xml_Error"])) { if(($accountNumber !== "" && $accountNumber !== "N/A") && ($confirmationNumber !== "" && $confirmationNumber !== "N/A")) { $displayString = "<h1 style=\"text-decoration: underline;\">Order Successfully Placed</h1>"; $displayString .= "<div id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<p>Your order has been placed successfully. Please find your account number and confirmation number below.<br />Keep these numbers for your reference should you need further assistance with your order."; $displayString .= "<ul class=\"confirmationInfo\">"; $displayString .= "<li>Account Number: <strong>{$accountNumber}</strong></li>"; $displayString .= "<li>Confirmation Number: <strong>{$confirmationNumber}</strong></li>"; $displayString .= "</ul>"; $displayString .= "<p>If you need further information concerning this order, please call 1-888-327-8454.</p>"; $displayString .= "</div>"; echo $displayString; } else { $displayString = "<h1 style=\"text-decoration: underline;\">Order Failed</h1>"; $displayString .= "<div style=\"color: red;\" id=\"orderConfirmed\" name=\"orderConfirmed\">"; $displayString .= "<strong>EarthLink returned the following error: {$sess["EL_xml_Error"]}</strong>"; $displayString .= "</div>"; echo $displayString; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 31
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
2 jumps found. (Code = 46) Position 1 = 33, Position 2 = 35
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 73
Branch analysis from position: 36
2 jumps found. (Code = 46) Position 1 = 38, Position 2 = 40
Branch analysis from position: 38
2 jumps found. (Code = 46) Position 1 = 41, Position 2 = 46
Branch analysis from position: 41
2 jumps found. (Code = 46) Position 1 = 43, Position 2 = 45
Branch analysis from position: 43
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 64
Branch analysis from position: 47
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
Branch analysis from position: 64
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 45
Branch analysis from position: 46
Branch analysis from position: 40
Branch analysis from position: 73
Branch analysis from position: 35
Branch analysis from position: 12
Branch analysis from position: 13
Branch analysis from position: 7
filename:       /in/QE6UE
function name:  (null)
number of ops:  74
compiled vars:  !0 = $accountNumber, !1 = $confirmationNumber, !2 = $sess, !3 = $displayString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '28947754'
    4     1        ASSIGN                                                   !1, '1352524556'
    5     2        ASSIGN                                                   !2, <array>
    7     3        IS_NOT_IDENTICAL                                 ~7      !0, ''
          4      > JMPZ_EX                                          ~7      ~7, ->7
          5    >   IS_NOT_IDENTICAL                                 ~8      !0, 'N%2FA'
          6        BOOL                                             ~7      ~8
          7    > > JMPZ_EX                                          ~7      ~7, ->13
          8    >   IS_NOT_IDENTICAL                                 ~9      !1, ''
          9      > JMPZ_EX                                          ~9      ~9, ->12
         10    >   IS_NOT_IDENTICAL                                 ~10     !1, 'N%2FA'
         11        BOOL                                             ~9      ~10
         12    >   BOOL                                             ~7      ~9
         13    > > JMPZ                                                     ~7, ->31
    9    14    >   ASSIGN                                                   !3, '%3Ch1+style%3D%22text-decoration%3A+underline%3B%22%3EOrder+Successfully+Placed%3C%2Fh1%3E'
   10    15        ASSIGN_OP                                     8          !3, '%3Cdiv+id%3D%22orderConfirmed%22+name%3D%22orderConfirmed%22%3E'
   11    16        ASSIGN_OP                                     8          !3, '%3Cp%3EYour+order+has+been+placed+successfully.++Please+find+your+account+number+and+confirmation+number+below.%3Cbr+%2F%3EKeep+these+numbers+for+your+reference+should+you+need+further+assistance+with+your+order.'
   12    17        ASSIGN_OP                                     8          !3, '%3Cul+class%3D%22confirmationInfo%22%3E'
   13    18        ROPE_INIT                                     3  ~16     '%3Cli%3EAccount+Number%3A+%3Cstrong%3E'
         19        ROPE_ADD                                      1  ~16     ~16, !0
         20        ROPE_END                                      2  ~15     ~16, '%3C%2Fstrong%3E%3C%2Fli%3E'
         21        ASSIGN_OP                                     8          !3, ~15
   14    22        ROPE_INIT                                     3  ~20     '%3Cli%3EConfirmation+Number%3A+%3Cstrong%3E'
         23        ROPE_ADD                                      1  ~20     ~20, !1
         24        ROPE_END                                      2  ~19     ~20, '%3C%2Fstrong%3E%3C%2Fli%3E'
         25        ASSIGN_OP                                     8          !3, ~19
   15    26        ASSIGN_OP                                     8          !3, '%3C%2Ful%3E'
   16    27        ASSIGN_OP                                     8          !3, '%3Cp%3EIf+you+need+further+information+concerning+this+order%2C+please+call+1-888-327-8454.%3C%2Fp%3E'
   17    28        ASSIGN_OP                                     8          !3, '%3C%2Fdiv%3E'
   18    29        ECHO                                                     !3
         30      > JMP                                                      ->73
   20    31    >   ARRAY_KEY_EXISTS                                 ~26     'EL_xml_Error', !2
         32      > JMPZ_EX                                          ~26     ~26, ->35
         33    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~27     !2, 'EL_xml_Error'
         34        BOOL                                             ~26     ~27
         35    > > JMPZ                                                     ~26, ->73
   22    36    >   IS_NOT_IDENTICAL                                 ~28     !0, ''
         37      > JMPZ_EX                                          ~28     ~28, ->40
         38    >   IS_NOT_IDENTICAL                                 ~29     !0, 'N%2FA'
         39        BOOL                                             ~28     ~29
         40    > > JMPZ_EX                                          ~28     ~28, ->46
         41    >   IS_NOT_IDENTICAL                                 ~30     !1, ''
         42      > JMPZ_EX                                          ~30     ~30, ->45
         43    >   IS_NOT_IDENTICAL                                 ~31     !1, 'N%2FA'
         44        BOOL                                             ~30     ~31
         45    >   BOOL                                             ~28     ~30
         46    > > JMPZ                                                     ~28, ->64
   24    47    >   ASSIGN                                                   !3, '%3Ch1+style%3D%22text-decoration%3A+underline%3B%22%3EOrder+Successfully+Placed%3C%2Fh1%3E'
   25    48        ASSIGN_OP                                     8          !3, '%3Cdiv+id%3D%22orderConfirmed%22+name%3D%22orderConfirmed%22%3E'
   26    49        ASSIGN_OP                                     8          !3, '%3Cp%3EYour+order+has+been+placed+successfully.++Please+find+your+account+number+and+confirmation+number+below.%3Cbr+%2F%3EKeep+these+numbers+for+your+reference+should+you+need+further+assistance+with+your+order.'
   27    50        ASSIGN_OP                                     8          !3, '%3Cul+class%3D%22confirmationInfo%22%3E'
   28    51        ROPE_INIT                                     3  ~37     '%3Cli%3EAccount+Number%3A+%3Cstrong%3E'
         52        ROPE_ADD                                      1  ~37     ~37, !0
         53        ROPE_END                                      2  ~36     ~37, '%3C%2Fstrong%3E%3C%2Fli%3E'
         54        ASSIGN_OP                                     8          !3, ~36
   29    55        ROPE_INIT                                     3  ~41     '%3Cli%3EConfirmation+Number%3A+%3Cstrong%3E'
         56        ROPE_ADD                                      1  ~41     ~41, !1
         57        ROPE_END                                      2  ~40     ~41, '%3C%2Fstrong%3E%3C%2Fli%3E'
         58        ASSIGN_OP                                     8          !3, ~40
   30    59        ASSIGN_OP                                     8          !3, '%3C%2Ful%3E'
   31    60        ASSIGN_OP                                     8          !3, '%3Cp%3EIf+you+need+further+information+concerning+this+order%2C+please+call+1-888-327-8454.%3C%2Fp%3E'
   32    61        ASSIGN_OP                                     8          !3, '%3C%2Fdiv%3E'
   33    62        ECHO                                                     !3
         63      > JMP                                                      ->73
   37    64    >   ASSIGN                                                   !3, '%3Ch1+style%3D%22text-decoration%3A+underline%3B%22%3EOrder+Failed%3C%2Fh1%3E'
   38    65        ASSIGN_OP                                     8          !3, '%3Cdiv+style%3D%22color%3A+red%3B%22+id%3D%22orderConfirmed%22+name%3D%22orderConfirmed%22%3E'
   39    66        ROPE_INIT                                     3  ~51     '%3Cstrong%3EEarthLink+returned+the+following+error%3A+'
         67        FETCH_DIM_R                                      ~49     !2, 'EL_xml_Error'
         68        ROPE_ADD                                      1  ~51     ~51, ~49
         69        ROPE_END                                      2  ~50     ~51, '%3C%2Fstrong%3E'
         70        ASSIGN_OP                                     8          !3, ~50
   40    71        ASSIGN_OP                                     8          !3, '%3C%2Fdiv%3E'
   41    72        ECHO                                                     !3
   43    73    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.65 ms | 1394 KiB | 13 Q