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 - $num2 - $num3 -$num4"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C9ug2
function name:  (null)
number of ops:  43
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        ROPE_INIT                                     7  ~17     !0
         35        ROPE_ADD                                      1  ~17     ~17, '+-+'
         36        ROPE_ADD                                      2  ~17     ~17, !1
         37        ROPE_ADD                                      3  ~17     ~17, '+-+'
         38        ROPE_ADD                                      4  ~17     ~17, !2
         39        ROPE_ADD                                      5  ~17     ~17, '+-'
         40        ROPE_END                                      6  ~16     ~17, !3
         41        ECHO                                                     ~16
   12    42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.09 ms | 1396 KiB | 19 Q