3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paramList = array(); $paramList['Shop_IDP'] = '1111111'; $paramList['Order_IDP'] = 125; $paramList['Subtotal_P'] = sprintf('%.2f', (float)235.69); $paramList['Parent_Order_IDP'] = 126; $signaturePart = ''; foreach($paramList as $param) { $signaturePart .= md5($param) . '&'; } $signaturePart .= md5('Password'); echo strtoupper(md5($signaturePart));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 23
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 23
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/u81Od
function name:  (null)
number of ops:  36
compiled vars:  !0 = $paramList, !1 = $signaturePart, !2 = $param
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 'Shop_IDP'
          2        OP_DATA                                                  '1111111'
    4     3        ASSIGN_DIM                                               !0, 'Order_IDP'
          4        OP_DATA                                                  125
    5     5        INIT_FCALL                                               'sprintf'
          6        SEND_VAL                                                 '%25.2f'
          7        CAST                                          5  ~7      235.69
          8        SEND_VAL                                                 ~7
          9        DO_ICALL                                         $8      
         10        ASSIGN_DIM                                               !0, 'Subtotal_P'
         11        OP_DATA                                                  $8
    6    12        ASSIGN_DIM                                               !0, 'Parent_Order_IDP'
         13        OP_DATA                                                  126
    8    14        ASSIGN                                                   !1, ''
    9    15      > FE_RESET_R                                       $11     !0, ->23
         16    > > FE_FETCH_R                                               $11, !2, ->23
   10    17    >   INIT_FCALL                                               'md5'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                         $12     
         20        CONCAT                                           ~13     $12, '%26'
         21        ASSIGN_OP                                     8          !1, ~13
    9    22      > JMP                                                      ->16
         23    >   FE_FREE                                                  $11
   12    24        INIT_FCALL                                               'md5'
         25        SEND_VAL                                                 'Password'
         26        DO_ICALL                                         $15     
         27        ASSIGN_OP                                     8          !1, $15
   13    28        INIT_FCALL                                               'strtoupper'
         29        INIT_FCALL                                               'md5'
         30        SEND_VAR                                                 !1
         31        DO_ICALL                                         $17     
         32        SEND_VAR                                                 $17
         33        DO_ICALL                                         $18     
         34        ECHO                                                     $18
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.02 ms | 1396 KiB | 19 Q