BinOp as TriOp condition

Issue #87 new
Loomish created an issue
$submitForm = (( isset( $_POST['submitForm'] ) && $_POST['submitForm'] == 'yes' ) ? 1 : 0);


/*
41 0   JMPZ_EX                   #27=      #27:$_POST["submitForm"] == "yes" ?49                    ;0
42 0   FETCH_R                   $28=      "_POST"              ?0                      ;0
43 0   FETCH_DIM_R               $29=      $28:$_POST["submitForm"] "submitForm"            ;0
44 0   IS_EQUAL                  #30=      $29:$_POST["submitForm"] "yes"                   ;0
45 0   BOOL                      #27=      #30:$_POST["submitForm"] == "yes" ?0                     ;0
46 0   JMPZ                      ?0        #27:$_POST["submitForm"] == "yes" ?49                    ;0
47 0   QM_ASSIGN                 #31=      1                    ?0                      ;0
48 0   JMP                       ?0        ?50                  ?0                      ;0  >>50
49 0   QM_ASSIGN                 #31=      0                    ?0                      ;0
*/

Comments (1)

  1. luyulantian

    Can you get the opcode when the code is encode by ioncube? Can you tell me how get this project, thanks very mutch. My email is xc20172018@163.com.

  2. Log in to comment