3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = 'x,x/b2m5kaaj=i46+M#'; // Good URL from c4 -- Works :) // user/41.02d5743c.200x200o.3e7c6cd0544f.png var_dump(substr(md5('user/41.02d5743c.200x200o.png' . $hash), 0, 12)); // Example from your mail - bad data! // user/1906698.8482bae0.200x200o.46e9c046f2d9.jpeg var_dump(substr(md5('user/1906698.8482bae0.200x200o.jpeg' . $hash), 0, 12));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fhZOA
function name:  (null)
number of ops:  26
compiled vars:  !0 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'x%2Cx%2Fb2m5kaaj%3Di46%2BM%23'
    7     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'substr'
          3        INIT_FCALL                                               'md5'
          4        CONCAT                                           ~2      'user%2F41.02d5743c.200x200o.png', !0
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 12
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
   11    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'substr'
         15        INIT_FCALL                                               'md5'
         16        CONCAT                                           ~6      'user%2F1906698.8482bae0.200x200o.jpeg', !0
         17        SEND_VAL                                                 ~6
         18        DO_ICALL                                         $7      
         19        SEND_VAR                                                 $7
         20        SEND_VAL                                                 0
         21        SEND_VAL                                                 12
         22        DO_ICALL                                         $8      
         23        SEND_VAR                                                 $8
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.94 ms | 1395 KiB | 19 Q