3v4l.org

run code in 300+ PHP versions simultaneously
<?php $offset = 8; echo md5(substr("Foo===/Bar; Expires=42; Path=path; Domain=FooDomain.bar; Secure; HttpOnly", 0, $offset)); echo "\n"; echo md5(substr("Foo===/Baz; Expires=42; Path=path; Domain=FooDomain.bar; Secure; HttpOnly", 0, $offset));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i8IY5
function name:  (null)
number of ops:  21
compiled vars:  !0 = $offset
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 8
    6     1        INIT_FCALL                                               'md5'
          2        INIT_FCALL                                               'substr'
          3        SEND_VAL                                                 'Foo%3D%3D%3D%2FBar%3B+Expires%3D42%3B+Path%3Dpath%3B+Domain%3DFooDomain.bar%3B+Secure%3B+HttpOnly'
          4        SEND_VAL                                                 0
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
    7    10        ECHO                                                     '%0A'
    8    11        INIT_FCALL                                               'md5'
         12        INIT_FCALL                                               'substr'
         13        SEND_VAL                                                 'Foo%3D%3D%3D%2FBaz%3B+Expires%3D42%3B+Path%3Dpath%3B+Domain%3DFooDomain.bar%3B+Secure%3B+HttpOnly'
         14        SEND_VAL                                                 0
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $4      
         17        SEND_VAR                                                 $4
         18        DO_ICALL                                         $5      
         19        ECHO                                                     $5
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.92 ms | 1395 KiB | 17 Q