3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num1 = ord(substr(md5('password'),5,1)); $num2 = ord(substr(md5('password'),10,1)); $num3 = substr(md5('password'), 3, 1); $num4 = (ord('F')*100+ord('K')); echo $num1; echo $num2; echo $num3; echo $num4; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BCvkB
function name:  (null)
number of ops:  39
compiled vars:  !0 = $num1, !1 = $num2, !2 = $num3, !3 = $num4
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ord'
          1        INIT_FCALL                                               'substr'
          2        INIT_FCALL                                               'md5'
          3        SEND_VAL                                                 'password'
          4        DO_ICALL                                         $4      
          5        SEND_VAR                                                 $4
          6        SEND_VAL                                                 5
          7        SEND_VAL                                                 1
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !0, $6
    3    12        INIT_FCALL                                               'ord'
         13        INIT_FCALL                                               'substr'
         14        INIT_FCALL                                               'md5'
         15        SEND_VAL                                                 'password'
         16        DO_ICALL                                         $8      
         17        SEND_VAR                                                 $8
         18        SEND_VAL                                                 10
         19        SEND_VAL                                                 1
         20        DO_ICALL                                         $9      
         21        SEND_VAR                                                 $9
         22        DO_ICALL                                         $10     
         23        ASSIGN                                                   !1, $10
    4    24        INIT_FCALL                                               'substr'
         25        INIT_FCALL                                               'md5'
         26        SEND_VAL                                                 'password'
         27        DO_ICALL                                         $12     
         28        SEND_VAR                                                 $12
         29        SEND_VAL                                                 3
         30        SEND_VAL                                                 1
         31        DO_ICALL                                         $13     
         32        ASSIGN                                                   !2, $13
    5    33        ASSIGN                                                   !3, 7075
    9    34        ECHO                                                     !0
   10    35        ECHO                                                     !1
   11    36        ECHO                                                     !2
   12    37        ECHO                                                     !3
   15    38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.27 ms | 1396 KiB | 19 Q