3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = "admin"; $password = "43cc1406555a57043b2730e6fda3a9e41"; $userInfo = "43cc1406555a57043b2730e6fda3a9e41admin"; echo "AA"; echo trim(substr($userInfo,33)) == $user; echo "BB"; echo substr($userInfo,0,32) == $password; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vnFvH
function name:  (null)
number of ops:  22
compiled vars:  !0 = $user, !1 = $password, !2 = $userInfo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'admin'
    4     1        ASSIGN                                                   !1, '43cc1406555a57043b2730e6fda3a9e41'
    6     2        ASSIGN                                                   !2, '43cc1406555a57043b2730e6fda3a9e41admin'
    8     3        ECHO                                                     'AA'
    9     4        INIT_FCALL                                               'trim'
          5        INIT_FCALL                                               'substr'
          6        SEND_VAR                                                 !2
          7        SEND_VAL                                                 33
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11        IS_EQUAL                                         ~8      !0, $7
         12        ECHO                                                     ~8
   10    13        ECHO                                                     'BB'
   11    14        INIT_FCALL                                               'substr'
         15        SEND_VAR                                                 !2
         16        SEND_VAL                                                 0
         17        SEND_VAL                                                 32
         18        DO_ICALL                                         $9      
         19        IS_EQUAL                                         ~10     !1, $9
         20        ECHO                                                     ~10
   12    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.92 ms | 1395 KiB | 17 Q